
7.3
MEWTOCOL7-COM Format
7-11
(5) Check code
This is a CRC (Cyclic Redundancy Check) to detect errors using a generating polynomial of
hamming codes.
This should be created so that it targets all of the text data from the header to the last text
character.
CRC is a value given by replacing the result of calculation by CRC-16-CCITT with ASCII
code. It is normally part of the calculation program and is created automatically.
(6) Terminator (end code)
The message should end with "CR" (ASCII code: H0D).
NOTE
If no response is returned, the communication format may not be correct, or
the command may not have arrived at the PLC, or the PLC may not be
functioning. Check to make sure all of the communication specifications
(e.g. baud rate, data length, and parity) match between the computer and
the PLC.
If the response contains an “!” instead of a “$”, the command was not
processed successfully. The response will contain a communication error
code. Check the meaning of the error code.
Station no. and command name are always identical in a command and its
corresponding response (see below). This makes the correspondence
between a command and a response clear.
@
E
E
E
0
#
0
>
0
M
M
R
D
0
C
Same
@
E
E
E
0
$
0
>
0
M
M
R
D
0
C
Same
Same
Command
Response
R
R
Содержание AF7CPS Series
Страница 1: ......
Страница 7: ...1 Communication Functions of CPU Unit ...
Страница 14: ...Communication Functions of CPU Unit 1 8 ...
Страница 15: ...2 Installation and Wiring ...
Страница 19: ...3 I O Number Allocation ...
Страница 23: ...4 Setting Communication Conditions ...
Страница 42: ...Setting Communication Conditions 4 20 ...
Страница 43: ...5 MEWTOCOL Master Slave Communication ...
Страница 51: ...6 General Purpose Communication ...
Страница 66: ...General Purpose Communication 6 16 ...
Страница 67: ...7 Specifications ...
Страница 78: ...Specifications 7 12 ...
Страница 79: ...Record of changes Manual No Date Record of Changes WUME FP7CCET 01 DEC 2013 First Edition ...
Страница 80: ......
Страница 81: ......
Страница 82: ......