Command Configuration; Command Type; Command Code; End Code - Omron E5AK User Manual

Digital controller
Hide thumbs Also See for E5AK:
Table of Contents

Advertisement

6.3 Command Configuration

Command
Response

End code = 00

Response
End code = 00
Command configuration is as follows and are paired with a response.
2B
1B
2B
Unit
Command
code
No.
@

Command type

2B
1B
2B
Unit
Command
code
No.
@
Command type
2B
1B
2B
Unit
Command
code
No.
@
Command type
• "@"
The start character. This character must be inserted before the lead-
ing byte.
• Unit No.
Specifies the "unit No." of the E5AK. 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 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 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 Return) code"
Indicates the end (terminator) of the command or response block.
6.3 Command Configuration
4B
2B
FCS
Data
No data sections in the read commands.
2B
4B
End
Data
code
2B
2B
2B
FCS
End
code
*
CR
2B
*
CR
2B
2B
FCS
*
CR
6--5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents