Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix H
ES100j Digital Controller Protocol
282
Offset Contents (data format) Data
+0 Number of send data words
(4 digits BCD)
0001 to 0128
+1 Number of send data bytes 0001 to 0251
The number of send bytes not including @,
the FCS, or the terminator.
+2 Send data (ASCII 2 characters)
Refer to the manual for the ES100j.
D
j
Use ASCII (Up to 251 characters total.)
D
Use ASCII (Up to 251 characters total.)
D
+127
(max.)
Send data (ASCII 1 characters)
Receive Data Word Allocation (3rd Operand of PMCR)
Receive data
(Undefined)
Receive data
storage words
Number of receive data words+0
+1
+2
+126
Receive data (ASCII code)
Receive data (ASCII code)
~ ~
(max.=251 characters)
Offset Contents (data format) Data
+0 Number of receive data words
(4 digits BCD)
0001 to 0127
+1 Receive data
(ASCII 2 characters)
Refer to the manual for the ES100V.
D
Returned as ASCII (Up to 251 characters
total.)
D
D
+126
(max.)
Receive data
(ASCII 1 characters)
Note 1. At transmission, a header code @ is attached before the data and the FCS and a terminator *CR are
attached following the send data.
First word of send
data
0006+0
+1
+2
+3
+4
+5
0007
@ABCDEFG[FCS]*CR
2 bytes
AB
CD
EF
GH
2. At reception, data excluding the header code @ at the beginning of the receive data and the FCS and
terminator *CR at the end of the data is stored in the receive data storage words.
First word of send
data
0006+0
+1
+2
+3
+4
+5
0007
@ABCDEFG[FCS]*CR
2 bytes
AB
CD
EF
G
3. Refer to the manual for the ES100j for the contents of send data and receive data.