8–2 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE
ADVANCED FUNCTIONS
CONTROL CODES The following control codes are recognized by the D485 and can be used by the fieldbus
control system.
STATUS REGISTER (D485
TO FIELDBUS CONTROL
SYSTEM)
The status codes below are handled by the D485 and reported to the fieldbus control
system using the status code and data bits in the status register. The meaning of these bits
are different depending on the used communication model.
Bits Name Description
15 Handshake Confirmation
Bit (CR_HS_CONFIRM)
When the DeviceNet control system has read the
new information from the status register, it should set
this bit to the same value as bit 15 in the status
register
14 Handshake Toggle Bit
(CR_HS_SEND)
The fieldbus (DeviceNet) control system should
toggle this bit when new information has been
written in the control register.
13 Data Valid (CR_DV) This bit is used to indicate to the D485 if the data in
the output data area is valid or not. The bit shall be
set by the fieldbus control system when new data
has been written (1 indicates data is valid; 0 indicates
that data is NOT valid)
12 to
8
Control Code (CR_EC) See table below.
7 to 0 Data (CR_ED) See table below.
Code Name Description
0x10 DISABLE_NODE Slave address of the node to disable. This instructs the D485
to disable a specific node from the sub network
communication
0x11 ENABLE_NODE Slave address of the node number to enable. This instructs
the D485 to enable a specific node to be active in the sub
network communication
0x12 ENABLE_NODES Number of nodes to enable. This instructs the D485 to enable
a number of nodes from a complete configuration
Byte 0 (Offset 0x200) Byte 1 (Offset 0x201)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
- - - Status Code Data
Bits Name Description
15 Handshake Toggle Bit
(SR_HS_SEND)
The D485 toggles this bit when new information is
available in the status register.
14 Handshake Confirmation
Bit (SR_HS_CONFIRM)
When the D485 has read the new information from
the control register, it sets this bit to the same value
as bit 14 in the control register
13 Data Valid (SR_DV) Indicates to the fieldbus control system if the data in
the input data area is valid or not. The bit is set by the
D485 when new data has been written (1 indicates
data is valid; 0 indicates that data is NOT valid).
12 to
8
Status Code (SR_EC) Status code, see table below.
7 to 0 Data (SR_ED) Status user data, see table below.