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