Mewtocol-Com Response Format - Panasonic FP7 CPU Unit User Manual

Lan port communication
Table of Contents

Advertisement

8.3 MEWTOCOL-COM Format

8.3.3 MEWTOCOL-COM Response Format

 Response message
After PLC receives a command, it returns the processing result.
(1) Header (start code)
• A "%" (ASCII code: H25) or "<" (ASCII code: H3C) must be at the beginning of a message.
• The response must start with the same header that was at the beginning of the command.
(2) Station no.
This is the station no. of the PLC that processed the command.
(3) Text
The content of this varies depending on the type of command. 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
• This is a BCC (block check code) 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 ASCII codes.
(5) Terminator (end code)
The message should end with "CR" (ASCII code: H0D).
8-9

Advertisement

Table of Contents
loading

Table of Contents