6.3 Command Configuration
E5CK
6--5
6.3 Command Configuration
Command configuration is as follows and are paired with a response.
F
Command
Unit
No.
Command
code
Data
FCS
CR
Command type
@
*
2B
1B
2B
4B
2B
2B
F
Response
Unit
No.
Command
code
Data
FCS
Command type
CR
End
code
@
*
2B
1B
2B
4B
2B
2B
2B
•
“@”
The start character. This character must be inserted before the leading
byte.
•
Unit No.
Specifies the “unit No.” of the E5CK. If there are two or more transmis-
sion destinations, specify the desired destination using “unit No.”
•
Command type
Specifies the command type by codes “1” to “3”: parameter read, param-
eter write and special commands.
•
Command code
Specifies the command for each command type. With parameter read/
write commands, this becomes the parameter No.
•
Data
Specifies the set value or setting content. In the parameter read com-
mand, set dummy data “0000”. In the response, this is inserted only
when the end code is “00”.
•
End code
Sets the communication results. For details on the types and meanings
of end codes, see 6.5 How to Read Communications Error Information
(page 6-10).
•
FCS (Frame Check Sequence)
Set the frame check results from the start character to the data section.
For details on the frame check, see 6.6 Program Example (page 6-12).
•
“*” “CR (Carriage Return) code”
Indicates the end (terminator) of the command or response block.