User`s manual

326
(3) Example of reception using user frames
02H
S
T
X
51H
Q
0AH
;
3BH
0
30H
1
31H
2
32H46H 35H
A
41H
F5
42H
C
43H
B
E
T
X
03H
DEH
00H 44H
E
45H
D
46H
9
39H
F
X83
M0
M1
ON
ON
ADH
AEH
AFH
B0H
B1H
B2H
B3H
B4H
B5H
120H
121H
25BH
600H
601H
602H
603H
2H
3E8H
3E9H
3EAH
0H
41BH
41BH
0H
0H
1002H/ 0H
1H
00H , 03H
2FH , 01H
BCH , 5AH
F9H , DEH
1H
INPUT
Completion device
Reception data read
request
1)
Last frame
(corresponds to
register number
41BH)
Head data
Arbitrary data section
First frame
(corresponds to register
number 3E8H)
The diagram below is for when word units are used
Status display device
at completion
One scan
Abnormal completion
User frame enable/
disable designation
First frame No.
designation
(1st)
(2nd)
(3rd)
(4th)
(No designation)
Last frame No.
designation
(1st)
(2nd)
(3rd)
(4th)
Receive transparent
code designation
(Designate)
(No designation)
ASCII-BIN conversion
designation
(Convert)
Receive user
frame ( th)
To D0
Number of data
received
To D3
Number of receive
data
(arbitrary data section)
D10 to
D12
Buffer memory
(The first designated frame for each)
Sum
check code
Number of receive data
Number of bytes after ASCII-BIN conversion of
receive data excluding frames and additional codes:
(6)/2=3 When word units are used,
(6) When byte units are used.
Station No. of
Q series C24
Reads combination of received user
frames
Sets CH1 to the reception channel
Sets the allowable number of receive
data to 6
Sets the normal completion flag
Sets the abnormal completion flag
Executes reception
Reception data read request
Station No. of
external device
(No designation)
(No designation)
Normal completion
Programmable
controller CPU
External device side
Programmable
controller CPU side