External control
■Control commands
Name | Character | ASCII | Descriptions | |
Header | < | 3CH | Beginning of the message | |
|
|
|
| |
Command | # | 23H | Command message | |
|
|
|
| |
Response | $ | 24H | Normal response message | |
(Normal) | ||||
|
|
| ||
|
|
|
| |
Response | ! | 21H | Error response message | |
(Error) | ||||
|
|
| ||
|
|
|
| |
Terminator | CR | 0DH | End of the message |
■Support commands
An instruction for the controller is called a “comm and,” while the message sent back from the controll er is a “response.” The commands below marked by ○ are supported.
If an unsupported command is received by the controller it returns an error response including a “NOT supported error” code.
No. | Command name | Code | Description | Support |
1 | Data area read | RD | Reading from data area | ○ |
|
|
|
|
|
2 | Data area write | WD | Writing to data area | ○ |
|
|
|
|
|
■Error codes
Binary hexadecimal
・Description of generated errors
Error code | Error name | Descriptions and troubleshooting | |
|
|
| |
40H | BCC error | The command data caused a BCC error. | |
<Troubleshooting> Check the BCC code and resend the data. | |||
|
| ||
|
|
| |
|
| For example, the transmission format of the command data is not | |
41H | Format error | correct, or the address does not exist. | |
|
| <Troubleshooting> Correct the format or command. | |
|
|
| |
42H | NOT supported error | The sent address was outside the range. | |
<Troubleshooting> Check the address. | |||
|
| ||
|
|
| |
45H | Address error | The sent address was outside the range. | |
<Troubleshooting> Check the address. | |||
|
| ||
|
|
|
28