Mitsubishi Electronics SH-080007 Network Card User Manual


 
7 - 18 7 - 18
MELSEC-Q
7 DATA COMMUNICATIONS USING BIDIRECTIONAL PROTOCOL
(2) Transmission data arrangement
The following example shows an arrangement of the transmission data to be sent
to the external device when storing it in the transmission area.
(Example) When "ABCDEFG123" is sent:
HL
02H 47H 33H 32H 31H 47H 46H 45H 44H 43H 42H 41H 00H
05H
321GFEDCBA
HL
ENQ
Sum
check
code
5
(00
H
)(05
H
)
B
(42
H
)
D
(44
H
)
F
(46
H
)
1
(31
H
)
3
(33
H
)
A
(41
H
)
C
(43
H
)
E
(45
H
)
G
(47
H
)
2
(32
H
)
Transmission
data count
designation area
Transmission
data designation
area
Transmission area
(buffer memory)
Q series C24
External device
Receive data (response message)
ACK
06
H
(Normal completion)
(0005H)
Data
length
Transmission data (response message)