Download  Print this page

Data Examples Of Length - Mitsubishi Electric FX5 User Manual

Melsec iq-f series.
Hide thumbs

Advertisement

Operation performed for verification mismatch
When receive data does not match with all receive packets, the receive data is discarded. Note that discarding receive data
does not cause an error.
Receive packet
Packet No.1
(expected packet)
Received data

Data examples of Length

Shows the data examples of element length that can be placed in a packet.
Data example
The following is an example in the case where the calculated value of length is 258 bytes in decimal (hexadecimal: 102H).
■Data flow is Forward Direction
Code type
Data length
1 byte
ASCII hexadecimal
2 (32H)
ASCII decimal
8 (38H)
HEX
02H
*1 Values in ( ) indicate ASCII code.
The send/receive image is as follows.
When sending
Length calculation
Data Length
result
setting
4
L
(1 byte)
3
2 byte
2
3 byte
1
H
4 byte
Packet No.2
Verification
Verification
mismatch
mismatch
*1
2 byte
02 (30H 32H)
58 (35H 38H)
0102H
Send
4
4
3
4
3
2
4
3
2
1
Appendix 2 Operation Image and Data Structure of Predefined Protocol
Packet No.3
Verification
mismatch
3 byte
102 (31H 30H 32H)
258 (32H 35H 38H)
000102H
When receiving
Length calculation
result
Receive
L
4
4
H
4
L
3
3
H
4
L
2
3
2
H
4
L
1
3
2
1
H
Packet No.16
Verification
mismatch
discard
4 byte
0102 (30H 31H 30H 32H)
0258 (30H 32H 35H 38H)
00000102H
Data Length
setting
(1 byte)
4
2 byte
3
4
3 byte
2
3
4
4 byte
APPENDIX
A
217

Advertisement

Table of Contents

Comments to this Manuals

Symbols: 0
Latest comments: