X20 system modules • X20 electronics module communication • X20CS1011
1468
X20 system User's Manual 3.10
4.18.2.8.6 Status of the master
Name:
MasterStatus
The current status information for the master is shown in this register.
Data type
Value
UINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Saved configuration does not match the actual hardware on the
bus
0
LIN_BUS_SETUP_COMPLETE
1
Setup finished: SCAN or SETUP after config button is valid
0
No error on the bus
1
LIN_FATAL_ERROR
1
SmartWire bus is defective: e.g. short circuit, no echo → more
than 10 consecutive communication errors have occurred.
Information:
The failure of a slave is not a communication error. In-
stead it is indicated in the slave status and the sched-
uler continues to run!
0
SmartWire stack not in PREOP mode
2
LIN_MASTER_PREOP
1
SmartWire stack in PREOP mode
0
SmartWire stack not in OP mode
3
LIN_MASTER_OP
1
SmartWire stack in OP mode
0
No command sent
4
LIN_GLOBAL_CONTROL
1
Set SmartWire stack to OP mode: Bit is written to the enable bit
and can be read back
5
Reserved
0
0
Bus voltage supply is not OK
6
LIN_POWER_SUPPLY_STATE
1
Bus voltage supply is OK
7
Reserved
0
0
Not a valid configuration
8
DP_CHECK_COMPLETED
1
Configuration check completed (Not Used) (could optionally be
written by the PLC, if the SCAN (configuration) is OK and was
able to be read back from here)
9
Reserved
0
0
X2X Reconfiguration → X2X configuration button not pressed
10
DP_RECONFIGURATION
1
X2X Reconfiguration → X2X configuration button can be read
back
11 - 15
Reserved
0
The register receives the following value after successfully starting:
Equal to the decimal value: 345
Bit
Description
Value
Information
0
LIN_BUS_SETUP_COMPLETE
1
SmartWire setup complete: SCAN or SETUP after config button
is valid
3
LIN_MASTER_OP
1
SmartWire stack in OP mode
4
LIN_GLOBAL_CONTROL
1
Set SmartWire stack to OP mode - Command set
6
LIN_POWER_SUPPLY_STATE
1
Bus voltage supply is OK
7
DP_CHECK_COMPLETED
1
Configuration is Ok