Control and Status Registers
13-5
Control Register Contents (Control System to Gateway)
General Information
As mentioned previously, the Control Register can be used to synchronize data exchange and instruct
the gateway to perform certain tasks related to the sub-network communication.
Note:
Internally, this is treated as a Motorola-format word (i.e. MSB first). If the higher level network
uses a different byte order, the upper and lower bytes will appear to be swapped.
Control Codes in Master Mode
(This table is valid only in Master Mode).
Control Codes in Generic Data Mode
(No Control Codes are currently supported in this mode).
bit(s)
Name
Description
15
Confirm
(CR_HS_CONFIRM)
These bits control the handshaking towards the gateway.
See also...
- 13-1 “Handshaking Procedure”
- 13-3 “Status Register Contents (Gateway to Control System)”
14
Send
(CR_HS_SEND)
13
Data Valid
This bit controls data consistency (see 13-2 “Data Consistency”).
1: Output Area valid; exchange data on the sub-network
0: Output Area not valid; do not exchange data on the sub-network
Note:
This bit is only relevant if the Control/Status Registers are set as ‘Enabled’
12
Execute Command
If set, the specified command will be executed by the gateway (see below).
11... 8 Control Code
This field holds commands which can be executed by the gateway (see below).
See also...
- 13-5 “Control Codes in Master Mode”
- 13-5 “Control Codes in Generic Data Mode”
7... 0
Data
Code Instruction
Data
Description
0x00
Disable Node
Actual node address
Disables the specified node.
0x01
Enable Node
Actual node address
Enables a previously disabled node.
0x02
Enable Nodes
Actual number of nodes to enable
Enables the specified number of nodes, start-
ing from the first node in the configuration.
Remaining nodes will be disabled.