Chapter 7 Automatic Sending/Receiving function (ASR)
Sample program 6
To refresh receiving area with "Optional receiving mode"
Slot No.
0 1
2
(for EH-CPU)
EH-ETH2
* -
-
(00002)
R7E3
WM003 = H2
WM004 = H2F
ADRIO = (WM005, R100)
ADRIO = (WM006, WM10)
WM007 = 13
R100 = 1
R100
Parameters setting of FUN201(s) for reading out SR.
Request to read out SR
Area setting (unit:0, slot:0)
Control bit address is R100
Transmission I/O address is starting from WM10
Transmission data size is 13 words
Setting 1 to control bit for reading SR
FUN201 for reading out SR
(00005)
(00006)
R1
FUN201 (WM000)
(00004)
(00003)
R100
S
R7E3
WM00B = H3
WM00C = H0
ADRIO = (WM00D, R103)
ADRIO = (WM00E, WM20)
WM00F = 10
M242 = 1
R103 = 1
FUN201 (WM008)
DIF50
Reading out SR at R100 = 1
Optional transmission is enabled for connection 3
Parameters setting of FUN201(s) for writing CR.
Request to write CR.
Area setting (unit:0, slot:0)
Control bit address is R103.
Transmission I/O address is starting from WM20.
Transmission data size is 10 words.
FUN 201 for writing CR.
(00001)
(00007)
M252 = 1
R103 = 1
R1
DFN51
Optional transmission is disabled for connection 3
M252 = 0
R103 = 1
7-21