X20 system modules • X20 electronics module communication • X20CS1011
1470
X20 system User's Manual 3.10
4.18.2.8.9 Read input data from slave
Name:
Input01 to Input16
Each slave sends its input data and/or its status to the master.
The data volume consumes 1 byte per slave. Each slave has one diagnostics bit, which it sends to the master
with the cyclic data. This bit is a message bit if an application error occurs (on the module). It is always located
in the highest value bit.
The master can constantly evaluate this bit. The diagnostic bit is set on the slave if the status of the slave is "Error".
Slaves that do not have any input data will still send a byte that is used to make their status data available. This is
required because the master also monitors the slaves for proper functionality through the receipt of this byte.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Input state - Digital input 1
0 or 1
...
...
3
Input state - Digital input 4
0 or 1
4 - 6
Reserved
0
0
No error on the slave
7
Error status
1
Error on the slave
4.18.2.8.10 Configure the function breakpoints on the master
Name:
SmartWireEnable
This register can be used to configure function breakpoints that may be implemented in master state machine.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Disabled
0
Enable SmartWire stack
1
Enabled
0
Sets PREOP mode (scheduler is already running, output data
will still be output with 0)
1
Set SmartWire stack mode
1
Sets OP mode
2
Reserved
0
0
Not pressed
3
Software "Config button"
1
Pressed (necessary so that slaves can also be reconfigured)
4 - 7
Reserved
0
4.18.2.8.11 Configure the operating mode of the master
Name:
SmartWireMode
This register can be used to configure the master operating mode.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
00
CONFIG from RAM (controller)
01
Read CONFIG from flash (default)
10
Write CONFIG to flash
0 - 1
Operating mode
11
Reserved
2 - 7
Reserved
0