Control Codes; Status Register (P485 To Fieldbus Control System) - GE P485 Instruction Manual

Modbus to profibus converter
Table of Contents

Advertisement

ADVANCED FUNCTIONS

CONTROL CODES

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

Advertisement

Table of Contents
loading

Table of Contents