Mewtocol-Com Format; Mewtocol-Com Command Format - Panasonic AF7CPS Series User Manual

Table of Contents

Advertisement

Specifications

7.2 MEWTOCOL-COM Format

7.2.1 MEWTOCOL-COM Command Format

Command message
(1) Header
(2) Station no. of destination (01 to 99, decimal)
%
or
0
1
#
R
<
(Two-
One-
digit)
digit)
(1) Header (start code)
Commands must always have a "%" (ASCII code: H25) or a "<" (ASCII code: H3C) at the
beginning of a message.
(2) Station no.
 The station no. of the PLC to which you want to send the command must be specified. The
station no. of the PLC is specified by the system register. In the case of the FP7 CPU unit,
the station no. is specified in the FPWIN GR7 configuration menu.
 In 1:1 communication, specify "01" (ASCII code: H3031) or "EE" (ASCII code: H4545).
(3) Text
The content of this varies depending on the type of command. The content should be noted in
all upper-case characters, following the fixed formula.
(4) Check code
 This is a 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 ASCII code. It is normally part of
the calculation program and is created automatically.
 By entering "**" (ASCII code: H2A2A) instead of BCC, you can omit BCC.
(5) Terminator (end code)
Messages must always end with a "CR" (ASCII code: H0D).
7-4
C
S
R
0
0
Specified item (specifies that only 1 point should be read)
Command name (e.g. read contact area)
Command code (Indicates that this is a command)
(3) Text (Content depends on type of command)
(4) Check code (BCC, hexadecimal)
C
0
1
R
Target that reads the value (internal relay R1)
(5) Terminator

Advertisement

Table of Contents
loading

Table of Contents