FX communication
4.3.3
Example of Setting Program
For the setting program of the master station and the stations Nos.1 and 2, refer to the program
below.
Master station Slave station No.1 Slave station No.2
D8176
D8177
D8178
D8179
D8180
M8038
0
4.3.4
Example of Error Program
Master communication error
M8183
Slave 1 communication error
M8184
Slave 2 communication error
M8185
Data communication
M8191
Continued to a), b) or c) in "4.3.5 Program".
* A station cannot recognize its own error. An error program for each station is not necessary.
K0
K1
K2
K1
K3
K5
FNC 12
K 0
D8176
MOV
FNC 12
K 2
D8177
MOV
FNC 12
K 1
D8178
MOV
FNC 12
K 3
D8179
MOV
FNC 12
K 5
D8180
MOV
K2
Station No.
Total slave station : 2 stations
Refresh range : Pattern 1
Retry count : 3 times (default)
Comms time-out : 50 ms (default)
Station No. setting:
Required for master
station (Set range: 0 to 7)
Total number of slave
stations: 2
(Setting range: 1 to 7)
Refresh range setting:
Pattern 1
(Set range: 1 to 2)
Retry count setting:
3 (3times)
Comms time-out setting:
5 (50ms)
Y000
Y001
Y002
Y003
N:N network 4
Remarks
Not required for
slave station
*
*
*
4-8