23-16
23. Universal Serial Communication
Sum Check Code (SUM)
Data is added up (SUM), and the lower one byte (8 bits) of the sum is converted into a two-digit ASCII code (HEX).
Example:
Transmission mode: without CR/LF, with sum check
The sum check code is added as shown below when data “3882” (OF2AH) is transmitted to the address “$u1453”
(05ADH) using the command [WM] (data writing).
* In the case of an interrupt, data from ENQ to ETX is subject to a sum check.
Error Codes
An error code is sent along with an NAK response as a two-digit ASCII code (HEX).
STX
DLE
ETX
SUM
02
H
57
H
4D
H
10
H
30
H
35
H
41
H
44
H
03
H
34
H
44
H
"W" "M"
"0" "5"
"A" "D"
"4" "D"
02H + 57H + 4DH + 10H + 30H + 35H + 41H + 44H + 30H + 30H + 30H + 31H
+ 30H + 46H + 32H + 41H + 03H =
34D
H
30
H
30
H
30
H
31
H
"0" "0"
"0" "1"
30
H
46
H
32
H
41
H
"0" "F"
"2" "A"
Command
Address
Count
Memory data
Error Codes
Contents
01H
The S8 series is currently engaged in display processing.
The received command is on standby due to display processing.
Wait a few moments and re-transmit the command.
02H
Overrun/Framing error
An overrun or framing error is detected in the received data.
Send the command again.
03H
Parity error
A parity error is detected in the received data.
Send the command again.
04H
Sum check error
A sum error occurs with the received data.
05H
Address error
The address specified by the memory read/write command is incorrect.
Check the address or counter and re-transmit the command.
06H
Count error
The memory read/write count is “0”.
07H
Screen error
The data to be written in read area n + 2 (screen status command), as specified by a write
command, is not registered on the screen.
Check the screen number and re-transmit the data.
08H
Format error
The number of DLEs is 0 or greater than 6.
09H
Received data over
The number of write command data received from the host exceeded that of data shown
below.
• Write memory command = 512 words
• Write CHR command = 1024 bytes
0BH
Retry command error
When a retry command is received, there is no BUSY status (NAK [01]) command.
0FH
ETX error
No ETX code is found.
10H
DLE error
No DLE code is found.
11H
Character error
A character not used in the received data is found (other than 0 to F).
Check the character and send the command again.
12H
Command error
An invalid command is given.
Summary of Contents for Monitouch S8 series
Page 1: ...Connection Manual...
Page 3: ......
Page 5: ......
Page 17: ......
Page 19: ......
Page 43: ...1 24 1 Overview...
Page 44: ...2 1 PLC Connection 2 ALLEN BRADLEY...
Page 45: ......
Page 56: ...3 1 PLC Connection 3 Automation Direct...
Page 57: ......
Page 66: ...4 EATON Cutler Hammer 4 1 PLC Connection...
Page 67: ......
Page 71: ...4 4 4 EATON Cutler Hammer Please use this page freely...
Page 72: ...5 FANUC 5 1 PLC Connection...
Page 73: ......
Page 78: ...6 FATEK AUTOMATION 6 1 PLC Connection...
Page 79: ......
Page 84: ...7 Fuji Electric 7 1 PLC Connection 7 2 Temperature Controller Servo Inverter Connection...
Page 85: ......
Page 158: ...8 IAI 8 1 Temperature Controller Servo Inverter Connection...
Page 159: ......
Page 173: ...8 14 8 IAI Please use this page freely...
Page 174: ...9 KEYENCE 9 1 PLC Connection...
Page 175: ......
Page 186: ...10 LS 10 1 PLC Connection...
Page 187: ......
Page 197: ......
Page 223: ...11 26 11 MITSUBISHI ELECTRIC Please use this page freely...
Page 224: ...12 OMRON 12 1 PLC Connection 12 2 Temperature Controller Servo Inverter Connection...
Page 225: ......
Page 244: ...13 Panasonic Electric Works 13 1 PLC Connection...
Page 245: ......
Page 253: ...13 8 13 Panasonic Electric Works Please use this page freely...
Page 254: ...14 RKC 14 1 Temperature Controller Servo Inverter Connection...
Page 255: ......
Page 264: ...15 SAIA 15 1 PLC Connection...
Page 265: ......
Page 269: ...15 4 15 SAIA Please use this page freely...
Page 270: ...16 1 PLC Connection 16 Siemens...
Page 271: ......
Page 276: ...17 1 Temperature Controller Servo Inverter Connection 17 Yamatake...
Page 277: ......
Page 285: ...17 8 17 Yamatake Please use this page freely...
Page 286: ...18 Yaskawa Electric 18 1 PLC Connection...
Page 287: ......
Page 295: ...18 8 18 Yaskawa Electric Please use this page freely...
Page 296: ...19 1 PLC Connection 19 2 Temperature Controller Servo Inverter Connection 19 Yokogawa Electric...
Page 297: ......
Page 307: ...19 10 19 Yokogawa Electric Please use this page freely...
Page 308: ...20 1 PLC Connection 20 MODBUS...
Page 309: ......
Page 314: ...21 1 Barcode Reader Connection 21 Barcode Reader...
Page 315: ......
Page 320: ...22 1 V Link 22 2 Modbus RTU Slave Communication 22 Slave Communication Function...
Page 321: ......
Page 333: ...22 12 22 Slave Communication Function Please use this page freely...
Page 335: ......
Page 367: ...23 32 23 Universal Serial Communication Please use this page freely...
Page 369: ......
Page 403: ...App4 6 Please use this page freely...