Specifications
7.2 MEWTOCOL-COM Format
7.2.1 MEWTOCOL-COM Command Format
Command message
0
1
#
R
C
S
R
0
0
0
1
C
R
%
or
<
(1) Header
(2) Station no. of destination (01 to 99, decimal)
(3) Text (Content depends on type of command)
(4) Check code (BCC, hexadecimal)
(5) Terminator
(Two-
digit)
One-
digit)
Target that reads the value (internal relay R1)
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)
(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).
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание AFP7CPS Series
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 15: ...2 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 19: ...3 I O Number Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 42: ...Setting Communication Conditions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 51: ...6 General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 66: ...General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 67: ...7 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 78: ...Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...