User`s manual

281
CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES
11
11.3 Receive Program
(c) When receiving with user frame only (reception using Format-0)
Q;
E
T
X
S
T
X
02H
51H
20H 3BH 03H0AH 03H
X83
M0
M1
ON
ON
ADH
AFH
B0H
B1H
B2H
B3H
B4H
B5H
120H
121H
25BH
600H
2020H
2021H
2022H
2023H
2024H
2025H
2026H
2027H
AEH
00H , 00H
1H
1002H/ 0H
0H
0H
0H
0H
41BH
15H
6H
3E9H
3E8H
2H
0H
0H
1H
1H
0H
0H
0H
2H
INPUT
1)
Last frame
First frame No. designation
(1st)
(2nd)
(3rd)
(4th)
Last frame No. designation
(1st)
(YES) (NO)
(Disable)
(None)
(None)
(None)
(2nd)
(3rd)
(4th)
to D0
2)
Receive data
count
to D3
3)
Buffer memory
(For reception using first frame and last frame combination)
Reception data read request
(2nd)
(3rd)
(4th)
(1st)
Completion device
External device
Reception data
read request
Head data
1 scan
(Each 1st designated frame)
Programmable
controller CPU
Programmable
controller CPU
Status display device
at completion
Abnormal
completion
Normal
completion
Sum check
code
Since there is no arbitrary data area,
the receive data count is [0].
User frame use control
designation
Exclusive format-1
received data count
(4th = Format-1)
(3rd = Format-1)
(2nd = Format-0)
(1st = Format-0)
User frame receive
format designation
Receive user frame
( th)
ASCII-BIN conversion
designation
Receive transparent
code designation
The illustration below is for reception using
first frame and last frame combination.
Sets to CH1 the reception channel.
Sets the normal completion flag.
Sets the abnormal completion flag.
Executes reception.
Sets the allowable number of reception
data to 6.
Reads combinations of user frames
received.
First frame
(Correspond to
register No. 3E8H
and 41BH)
External
device
station No.