Verification Operation - Mitsubishi Electric FX5 User Manual

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

• When variables are included in receive packet elements, variable parts are not verified.
• When more than one receive packet is specified, received data is verified with the receive packet
information of the first registered packet in the order of registration. The receive processing is performed
once received data match one of the receive packet number, and further verification is not performed.
• The receive packet number which is matched as the result of the verification is stored in the control data of
the S(P).CPRTCL instruction.

Verification operation

The following shows the verification operations of receive packets (expected packets) of when receive is included in the
selected communication type.
Receive data and receive packets are compared in the receive processing, and the processing is completed when the
verification result is "matched". Note that the data section of a packet is handled as receive data in the same way as it is
handled at send operation.
Receive packet (expected packet)
Received data
Verification standards
In the verification of receive packets, each element is judged if it is "matched" or not. The standard to judge each element as
"matched" depends on each element type. The following table lists verification standards for each element type.
Element type
Header
Terminator
Static data
Length
Non-conversion variable
Conversion variable
Check code
Non-verified reception
Operation performed when multiple receive packets are registered
When data is received, the verification operation is performed in order starting from the receive packet that was first
registered. The receive processing is completed when the receive packets and receive data match.
Receive packet
(expected packet)
Received data
APPENDIX
216
Appendix 2 Operation Image and Data Structure of Predefined Protocol
Verification match
Verification standards
Judged as "matched" when the data contents are the same.
Judged as "matched" when the number of digits is the same.
Judged as "matched" when the result calculated based on the settings (horizontal parity, sum check, CRC-16) is
the same.
Judged as "matched" when the number of digits is the same.
Packet No.1
Packet No.2
Verification
mismatch
Receiving completed
Packet No.3
Verification
Verification
mismatch
match
Packet No.16
Receiving completed

Advertisement

Table of Contents
loading

Table of Contents