FP
Σ
User's Manual
8.5 MEWTOCOL-COM
175
NOTE
If there are large numbers of characters to be written, they may be divided and
sent as several commands. If there is a large number of characters in the value
that was loaded, they may be divided and several responses sent.
Response message
The slave that received the command in the example above sends the processing results to
the computer.
%
0
1
$
R
C
C
R
0
1
Start code
A "%" (ASCII code: 16#25) or "<" (ASCII code: 16#3C) must be at the beginning of a message. The response
must start with the same start code as the command.
2
Station number
The station number of the slave that processed the command is stored here.
3
Text
The content of this varies depending on the type of command. The value should be read based on the
content. If the processing is not completed successfully, an error code will be stored here, so that the content
of the error can be checked.
4
Check code
Hexadecimal block check code (BCC) for error detection using horizontal parity. The BCC starts from the
header and checks each character in sequence, using the exclusive OR operation, and replaces the final
result with character text.
5
End code
There is always a "
C
R
" (ASCII code: 16#0D) at the end of the message.
6
Data
For a read command, the data read is stored here.
7
Command name/error code
Normal processing: The command name is stored here.
Error condition: The error code is stored here.
8
Response code
Normal processing: "$" (ASCII code: 16#24)
Error condition: ! (ASCII code: 16#21)
If the response contains an "!" instead of a "$", check the meaning of the error code.
Summary of Contents for AFPG951T34
Page 7: ......
Page 17: ......
Page 18: ...Chapter 1 Safety Measures ...
Page 21: ......
Page 22: ...Chapter 2 Overview ...
Page 32: ...Chapter 3 CPU Types ...
Page 47: ...CPU Types FPΣ User s Manual 30 LD Body ...
Page 51: ...CPU Types FPΣ User s Manual 34 POU Header and LD Body ...
Page 55: ...CPU Types FPΣ User s Manual 38 LD Body ...
Page 57: ......
Page 58: ...Chapter 4 Expansion ...
Page 73: ......
Page 74: ...Chapter 5 I O Allocation ...
Page 81: ......
Page 82: ...Chapter 6 Installation and Wiring ...
Page 115: ......
Page 116: ...Chapter 7 High Speed Counter and Pulse Output ...
Page 169: ......
Page 170: ...Chapter 8 Communication ...
Page 227: ...Communication FPΣ User s Manual 210 LD Body ST Body ...
Page 233: ...Communication FPΣ User s Manual 216 POU Header LD Body ...
Page 236: ...FPΣ User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2 ...
Page 237: ...Communication FPΣ User s Manual 220 2 2 ST Body ...
Page 266: ...Chapter 9 Security Functions ...
Page 273: ......
Page 274: ...Chapter 10 Other Functions ...
Page 277: ......
Page 278: ...Chapter 11 Troubleshooting ...
Page 289: ......
Page 290: ...Chapter 12 Appendix ...