4: SPECIAL FUNCTIONS
USER’S MANUAL 4-15
Data Link Example 4: Data Transmission through FA-3S Serial Interface, continued
Master station program for FA-3S high-performance CPU (IS-NET communication universal mode)
Using this sample program, the FA-3S master station issues the formatting sequence 1 second after starting operation and
confirms with which slave stations the master station can communicate. If any slave station is not powered up, then the
slave station cannot be recognized. So, power up all slave stations at least 1 second before the master station starts to run.
After slave stations are recognized, data is communicated between the master station and slave stations.
M304
D
D980
M304 is the initialize pulse special inter-
nal relay.
When the CPU starts, local operand data is
set to 10 data registers starting with D980
(LCOPR).
M317 is the in-operation special internal
relay which stays on while the CPU is run-
ning.
Timer T0 ensures 1-sec time delay before
executing the format instruction for the
master station.
cPORT #1 specifies module number 1.
RMOPR I0 specifies the universal mode.
N-W #10 specifies 10 words of data used
for LCOPR in the universal mode.
225
WNSET cN-W
#10
S1
#0
N-W
#10
1030
FNTWW
cPORT
#1
cNROT
#0
ST.DR
D49
LCOPR
D980
RMOPR
I0
END
T 0
10
DR+0
S2
#0
DR+1
S3
#0
DR+2
S4
#6
DR+3
S8
#4
DR+7
S7
#2
DR+6
S6
#50
DR+5
S5
#4
DR+4
S9
#62
DR+8
S10
#2
DR+9
M317
T0