User`s manual

283
CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES
11
11.3 Receive Program
(e) When receiving with a combination of the first frame and arbitrary data (Exclusive
format-1 dedicated received data count) (reception using Format-1)
15H 22H 00H
X83
M0
M1
(0022)
ON
ON
ADH
AEH
AFH
B0H
B1H
B2H
B3H
B4H
B5H
120H
121H
25BH
600H
2020H
2021H
2022H
2023H
2024H
2025H
2026H
2027H
601H
2H
3E8H
3E9H
6H
15H
41BH
0H
0H
0H
0H
4H
00H , 02H
1002H/ 0H
0H
1H
0H
0H
0H
2H
1H
0H
(0022H)
00H, 22H
INPUT
Completion device
Reception data read
request
N
A
K
1)
Head data
Arbitrary data area
The illustration below is for byte unit.
Status display device
at completion
1 scan
Abnormal
completion
Normal completion
User frame use control
designation
First frame No. designation
(1st)
(2nd)
(3rd)
(4th)
Last frame No. designation
(1st)
(2nd)
(3rd)
(None)
(4th)
(None)
Receive transparent
code designation
ASCII-BIN conversion
designation
to D0
Receive user frame
( th)
Receive data count
to D3
3)
Buffer memory
(Each 4th designated frame)
First frame
(Correspond to
register No. 15H)
(Disable)
(YES) (NO)
Reads combinations of user frames
received.
Sets CH1 to the reception channel.
Sets the allowable number of reception
data to 6.
Sets the normal completion flag.
Sets the abnormal completion flag.
Executes reception.
Reception data read request
User frame receive
format designation
(1st = Format-0)
(2nd = Format-0)
(3rd = Format-1)
(4th = Format-1)
(2nd)
(3rd)
(4th)
Exclusive format-1
received data count
(None)
to D10
4)
Receive data
(arbitrary data area)
Receive data count
Word units
Receive byte count excluding frame and
additional code (2)/2=1
Byte units
Receive byte count excluding frame and
additional code (2)
Programmable
controller CPU
External device
Programmable
controller CPU
2)
(1st)