4: SPECIAL FUNCTIONS
4-14 USER’S MANUAL
Data Link Example 4: Data Transmission through FA-3S Serial Interface, continued
Data movement and LCOPR (local operand)
MICRO
3
has two data registers for transmission and two data registers for receiving in the data link system. So, each
MICRO
3
slave station can communicate four words of data with the FA-3S master station. Since the quantity of data regis-
ters assigned to MICRO
3
is fixed, using the universal mode program is easier for the master station rather than using the
individual mode program. MICRO
3
slave stations do not require any particular program for communication.
Using this sample program, data of data registers D86 and D87 (transmission data H and L) at slave station 1 is sent to data
registers D50 and D51 at the master station. Data of the same data registers at slave station 2 is sent to the next two data
registers at the master station, and so on. From the master station, data of D62 and D63 is sent to data registers D88 and
D89 (receive data H and L) at slave station 1. Data of next two data registers is sent to the same data registers at slave sta-
tion 2, and so on.
LCOPR (local operands) for the FNTWW instruction used at the master station are allocated as shown below:
Master Station (FA-3S)
D50 and D51
D52 and D53
D54 and D55
D56 and D57
D58 and D59
D60 and D61
D62 and D63
D64 and D65
D66 and D67
D68 and D69
D70 and D71
D72 and D73
Slave Stations (MICRO
3
)
D86 and D87 (Slave station 1)
D88 and D89 (Slave station 1)
D86 and D87 (Slave station 2)
D88 and D89 (Slave station 2)
D86 and D87 (Slave station 3)
D88 and D89 (Slave station 3)
D86 and D87 (Slave station 4)
D88 and D89 (Slave station 4)
D86 and D87 (Slave station 5)
D88 and D89 (Slave station 5)
D86 and D87 (Slave station 6)
D88 and D89 (Slave station 6)
Slave Station 6 (MICRO
3
)
Link Communication Error D85
Transmission Data H D86
Transmission Data L D87
Receive Data H D88
Receive Data L D89
Master Station (FA-3S)
Communication Status 1 DR+0 0
Communication Status 2 DR+1 0
Communication Status 3 DR+2 0
Largest Slave Station Number DR+3 6
Receive Register (KIND) DR+4 4
Receive Register (TOP) DR+5 50
Quantity of Receive Data DR+6 2
Transmission Register (KIND) DR+7 4
Transmission Register (TOP) DR+8 62
Quantity of Transmission Data DR+9 2
Slave Station 1 (MICRO
3
)
Link Communication Error D85
Transmission Data H D86
Transmission Data L D87
Receive Data H D88
Receive Data L D89
KIND 4 = Data register
Quantity of Receive Data = 2 words
Quantity of Transmission Data = 2 words
Note: At the master station, the first three data registers store communication status codes. At slave stations, data regis-
ter D85 stores link communication error codes when any communication error occurs during data link communication.
The data in these data registers are not communicated between the master and slave stations.