6.3 Command Configuration
E5EK
6--5
6.3 Command Configuration
Command configuration is as follows and are paired with a response.
Unit
No.
Command
code
Data
FCS
CR
Command type
@
*
2B 1B 2B 4B 2B 2B
Command
Unit
No.
Command
code
Data
FCS
Command type
CR
End
code
@
*
2B 1B 2B 4B 2B 2B2B
Response
End c ode = 00
Unit
No.
Command
code
FCS
Command type
CR
End
code
@
*
2B 1B 2B 2B 2B2B
End c ode = 00
Response
No data sections in the read commands.
• “@”
The start character. This character must be inserted before the lead-
ing byte.
• Unit No.
Specifies the “unit No.” of the E5EK. If there are two or more trans-
mission destinations, specify the desired destination using “unit No.”
• Command type
Specifies the command type by codes “1” to “3”: parameter read,
parameter write and special commands.
• Command code
Specifies the command for each comman d 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 o nly
when the end code is “00”.
• End code
Sets the communication results. For details on the types and mean-
ings of end codes, see 6.5 How to Read Communications Error
Information (page 6-12).
• FCS (Frame Check Sequence)
Set the frame check results from the start character to the data sec-
tion. For details on the frame check, see 6.6 Program Example (page
6-14).
• “*” “CR (Carriage R eturn) code”
Indicates the end (terminator) of the command or response block.