User`s manual

275
CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES
11
11.3 Receive Program
(1) Example of a sequence program when setting is done using the GX
Configurator-SC
For details on the INPUT instruction, refer to the User's Manual (Basic).
*1 Page 267, Section 11.2.4
Reads combinations of user
frames received.
Sets the reception channel to CH1.
Sets the allowable number of
reception data to 20.
Sets the normal completion flag.
Sets the abnormal completion flag.
Executes reception.
<Reads combination No. >
<Reads reception data >
\
D0
D1
D2
Dn
D3
D10
D11
ADH
258H
AEH
B2H
B1H
B5H
25BH
600H
601H
7FFH
2020H
2024H
2023H
2027H
Q series C24
Address
Buffer memory
User frame use control designation
Receive data
count storage
Data reception result
Receive user frame
Receive data
Data receive result
(1st)
(4th)
(1st)
(4th)
Receive user frame ( th set)
Receive area
Receive data storage
1st set
4th set
(Sequence program)
Sets the receive user frame
registration No.
*1
First frame
No. designation
Last frame
No. designation
to
to
to
to
to
Receive data count
(1st)
(4th)
(1st)
(4th)
1st set
4th set
User frame
receive
format
designation
Exclusive
format-1
received data
count designation
to
to
to
to
(Sequence program)
Setting the user frame
receive format, etc.
*1