Skip to content

Port 5000 Communication (2207)

Overview

The controller uses port 5000 for file transfer, mainly for uploading, downloading, and backing up job files and configuration files.

Upload Process

To upload a file to the controller, the host computer requests a file upload via 0x1D00, and the controller replies to the upload request via 0x1D01. When the controller approves the upload, the host computer uploads the file via 0x1D04. After the upload is complete, the host computer notifies the controller that the upload is finished via 0x1D05, and the controller replies with confirmation of successful reception via 0x1D06.

Download Process

To download a file from the controller, the host computer requests a file download via 0x1D02, and the controller replies to the download request via 0x1D03. When the controller approves the download, the controller sends the requested file to the host computer via 0x1D07, and the host computer replies with the reception result via 0x1D08. After the download is complete, the controller notifies the host computer that the download is finished via 0x1D09, and the host computer replies with confirmation of successful reception via 0x1D0A.


Command List

Command WordFunctionDirection
0x1D00Host computer requests file uploadHost Computer → Controller
0x1D01Controller replies to upload requestController → Host Computer
0x1D02Host computer requests file downloadHost Computer → Controller
0x1D03Controller replies to download requestController → Host Computer
0x1D04Host computer uploads file to controllerHost Computer → Controller
0x1D05Host computer notifies controller that upload is finishedHost Computer → Controller
0x1D06Controller replies confirming successful receptionController → Host Computer
0x1D07Controller sends requested download file to host computerController → Host Computer
0x1D08Host computer replies with reception resultHost Computer → Controller
0x1D09Controller notifies host computer that download is completeController → Host Computer
0x1D0AHost computer replies confirming successful receptionHost Computer → Controller
0x1D0BDownload connection disconnected-
0x1D10Host computer requests file backupHost Computer → Controller
0x1D11Controller replies to backup requestController → Host Computer
0x1D12Host computer signals log file download completeHost Computer → Controller
0x1D13Host computer signals eni file download completeHost Computer → Controller

Detailed Command Description

0x1D00 Host Computer Requests File Upload

Direction: Host Computer → Controller

Parameter List:

ParameterTypeDescription
namestringFile name sent by the host computer
sizeintFile size sent by the host computer

Request Example:

json
{
  "name": "vxWorks",
  "size": 4096
}

0x1D01 Controller Replies to Upload Request

Direction: Controller → Host Computer

Parameter List:

ParameterTypeDescription
answerstringWhether the file upload request is approved

answer Value Description:

ValueDescription
yesUpload request approved
busyController is busy

Response Example:

json
{
  "answer": "yes"
}

0x1D02 Host Computer Requests File Download

Direction: Host Computer → Controller

Parameter List:

ParameterTypeDescription
namestringName of the job file to download

Description: The parameter name is the job file path plus name on the controller. In 0x5533 and 0x5534, the system sends the path and name to the host computer. The teach pendant prompts to start synchronizing job files.

Request Example:

json
{
  "name": "job/R1/WWWWW.JBR"
}

0x1D03 Controller Replies to Download Request

Direction: Controller → Host Computer

Parameter List:

ParameterTypeDescription
answerstringWhether the system approves the file download request
namestringName of the job file to download
sizeintFile size of the job file

answer Value Description:

ValueDescription
yesDownload request approved
busyController is busy

Response Example:

json
{
  "answer": "yes",
  "name": "job/R1/WWWWW.JBR",
  "size": 217
}

0x1D04 Host Computer Uploads File to Controller

Direction: Host Computer → Controller

Description: Upload file data


0x1D05 Host Computer Notifies Controller That Upload Is Finished

Direction: Host Computer → Controller


0x1D06 Controller Replies Confirming Successful Reception

Direction: Controller → Host Computer

Parameter List:

ParameterTypeDescription
finishboolWhether the file was uploaded successfully

finish Value Description:

ValueDescription
trueUpload successful
falseUpload failed

Response Example:

json
{
  "finish": true
}

0x1D07 Controller Sends Requested Download File to Host Computer

Direction: Controller → Host Computer

Description: Transfer download file data


0x1D08 Host Computer Replies with Reception Result

Direction: Host Computer → Controller


0x1D09 Controller Notifies Host Computer That Download Is Complete

Direction: Controller → Host Computer


0x1D0A Host Computer Replies Confirming Successful Reception

Direction: Host Computer → Host Computer

Parameter List:

ParameterTypeDescription
finishboolWhether the file was downloaded successfully

finish Value Description:

ValueDescription
trueDownload successful
falseDownload failed

Response Example:

json
{
  "finish": true
}

0x1D0B Download Connection Disconnected

Description: Disconnect the download connection


0x1D10 Host Computer Requests File Backup

Direction: Host Computer → Controller


0x1D11 Controller Replies to Backup Request

Direction: Controller → Host Computer

Parameter List:

ParameterTypeDescription
answerstringBackup file name in reply

Response Example:

json
{
  "answer": "controller.tar.gz"
}

0x1D12 Host Computer Signals Log File Download Complete

Direction: Host Computer → Controller


0x1D13 Host Computer Signals ENI File Download Complete

Direction: Host Computer → Controller