Mitsumi electronic NZ2GF-ETB ユーザーズマニュアル

ページ / 246
213
APPENDICES
A
Appendix 3  Lin
k Special R
egister (
S
W) List
  
Appendix 3
Link Special Register (SW) List
In the link special registers (SW), data link information is stored as numerical values. By using them in programs, the 
location and cause of failure can be checked.
Do not write data to any link special register (SW) since the system uses all of the area. Doing so may result in malfunction 
of the system.
Number
Name
Description
SW0040
Network No.
The network number of the own station is stored.
  Range: 1 to 239
SW0042
Station No.
The station number of the own station is stored.
  Range: 1 to 120 (slave station), FFFF
H
 (station number not set)
SW0043
Mode status
The mode of the own station is stored.
  0: Online
  2: Offline
  9: Unit test
SW0047
Baton pass status (own 
station)
The communication status of the own station is stored.
  0: Data link in progress
  2: Data link stopped, baton pass in progress
  3: Baton pass stopped
  5: Offline
SW0048
Cause of baton pass 
interruption
The cause of communication (baton pass) interruption of the own station is stored.
  00
H
: Normal communication or at power-on
  30
H
: Cable disconnection
  33
H
: Being disconnected from or reconnected to the network
  40
H
: Offline mode
SW0049
Cause of data link stop
The cause of the data link stop (own station) is stored.
  00
H
: Normal communication or at power-on
  01
H
: Stop command
  02
H
: Monitoring timeout
  10
H
: Parameters not received
  11
H
: Station No. (own station) out of range
  12
H
: Own station specified as reserved station
  13
H
: Station No. duplication (own station)
  16
H
: No station No. setting
  18
H
: Parameter error
  19
H
: Parameter transfer in progress
  1A
H
: Station type mismatch
  20
H
: Error detected
SW004B
Module status (own 
station)
The own station status is stored.
  01
H
: STOP (normal)
  02
H
: STOP (stop error)
  03
H
: STOP (continuation error)
  04
H
: RUN (normal)
  05
H
: RUN (continuation error)
  0F
H
: Offline or initial processing