Panasonic AFPX-C30R User Manual page 147

Fp-x series
Hide thumbs Also See for AFPX-C30R:
Table of Contents

Advertisement

Format of command and response
Command message
All command-related items should be noted in the text segment. The unit number must be specified
before sending the command.
1. Header (start code)
Commands must always have a "%" (ASCII code: H25) or a "<" (ASCII code: H3C) at the beginning of a
message.
2. Unit number
The unit number of the PLC to which you want to send the command must be specified. In 1:1
communication, the unit number "01" (ASCII code: H3031) should be specified. The unit No. of the PLC
is specified by the system register.
3. Text
The content differs depending on the command. The content should be noted in all upper-case
characters, following the fixed formula for the particular command.
4. Check code
BCC (block check code) for error detection using horizontal parity. The BCC should be created so that it
targets all of the text data from the header to the last text character. 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. It is normally part of the calculation program and is created automatically.
The parity check can be skipped by entering "* *" (ASCII code: H2A2A) instead of the BCC.
5. Terminator (end code)
Messages must always end with a " C R " (ASCII code: H0D).
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents