Panasonic FPS Series User Manual page 192

Table of Contents

Advertisement

FPΣ User's Manual
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.
Start code
1
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.
Station number
2
The station number of the slave that processed the command is stored here.
Text
3
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.
Check code
4
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.
End code
5
There is always a "
Data
6
For a read command, the data read is stored here.
Command name/error code
7
Normal processing: The command name is stored here.
Error condition: The error code is stored here.
Response code
8
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.
0
1
$
%
C
" (ASCII code: 16#0D) at the end of the message.
R
R
C
0
8.5 MEWTOCOL-COM
C
R
175

Advertisement

Table of Contents
loading

Table of Contents