
4-3. Data Transfer
42
Note :
Description
”S1 + 1” & “S1” Setting
1 When data is sent in units of words
•”S1” Setting
F = 0
: Units of words selected.
n2 = 0000(H0)
: Enter H0 when word units are selected.
n1 = 00000001(H01)
to 00011111(H10) : Enter the number of words to be sent.
•”S1 + 1” Setting
LINK = 0001(H1) to
0011(H3) : Enter the LINK number (1 to 3) for the source station.
Station No.(UNIT NO.)
= 00000001(H01)
to 00100000(H20) : Enter the station number(UNIT NO.).
2 When data is sent in units of bits
•”S1” Setting
F = 1
: Units of bits selected.
n2 = 0000(H0) to
1111(HF)
: Enter destination bit position(0 to 15).
n1 = 0000000(H00) to
00001111(H0F) : Enter source bit position(0 to 15) in another station.
•”S1 + 1” Setting
LINK = 0001(H1) to
0011(H3) : Enter the LINK number (1 to 3) for the source station.
Station number(UNIT NO.)
= 00000001(H01)
to 00100000(H20) : Enter the station number(UNIT NO.).
Note :
Program
example
• The available setting area for the Optical Link System are ;
LINK = 0001(H1) to 0011(H3)
Station number(UNIT NO.) = 00000001(H01) to 00111111(H3F)
For details about the P Type(Optical) Link Sysem, refer to the P Type(Optical) Link
System Technical Manual.
• When the flag R9031(special internal relay) turns ON(1), one of the following error
codes are stored in DT9039(special data register).
71(Hexadecimal)
: Response signal indicating that the transfer operation cannot
be received.
72(Hexadecimal)
: Buffer for the link is full.
73(Hexadecimal)
: A response message was not received.
When one of above mentioned errors occurs, check the value of the time-out in
system register number 32. The time out value can be set in the range of 10ms to
81.9s(default = 2s)
Higher word
Bit position 15 • • 12 11 • • 8 7 • • 4 3 • • 0
S1 + 1
0 0 0 0
LINK
Station No.
(UNIT NO.)
Lower word
Bit position 15 • • 12 11 • • 8 7 • • 4 3 • • 0
S1
0 0 0
F
n2
n1
Address Command
0
ST X 10
AN R 9030
F 146 (RECV )
DT 0
WR 0
K 0
LD 30
F146 RECV, DT 0, WR 0, K 0, LD 30
X10
0
R9030
Summary of Contents for FP3
Page 102: ......