X20 system modules • X20 electronics module communication • X20CS1011
X20 system User's Manual 3.10
1471
4.18.2.8.12 Basic application registers "SmartWireEnable" and "SmartWireMode"
By default, the SmartWire bus is started automatically and must at least be configured using an external method
(e.g. external button or push-button).
If sensors / actuators are added to or removed from the SmartWire bus, then the configuration procedure must be
restarted so that the SmartWire bus will be rescanned and the new configuration saved remanently in the master.
These registers can and must be used for special conditions and for acknowledging errors.
The library commands are sent asynchronously via X2X Link. The following conditions could cause errors on the
module and are therefore not permitted:
•
The command register SmartWireMode is written to first. It is possible to write to the SmartWireEnable
register once the function block reports that it is finished.
•
The function block status response is checked in the application
•
The specified response from the master status information must arrive in order for the master state machine
to function properly
4.18.2.8.12.1 Starting the bus when Manual Start has been configured
Status information after startup:
Value (decimal)
Register
Information
1
Init State
0
0
If Manual start is selected for the bus in the configuration, then the AsIOAccWrite() function from the AsIOAcc
library must be used to write to the two registers in the specified order.
Value (decimal)
Register
Information
1
Configuration from rem. memory
3
Command for STACK ON / OPERATIONAL
Status information after error-free startup of the bus:
Value (decimal)
Register
Information
20
"RUN without error if SlaveStatus = 0"
345
"RUN without error if SlaveStatus = 0"
0
No slave errors
Summary of Contents for X20 System
Page 2: ......