Control codes, Status register (p485 to fieldbus control system) – GE P485 User Manual

Page 52

Advertising
background image

8–2

P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE

ADVANCED FUNCTIONS

CONTROL CODES

The following control codes are recognized by the P485 and can be used by the fieldbus
control system.

STATUS REGISTER (P485

TO FIELDBUS CONTROL

SYSTEM)

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.

Bits

Name

Description

15

Handshake Confirmation
Bit (CR_HS_CONFIRM)

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

14

Handshake Toggle Bit
(CR_HS_SEND)

The fieldbus (Profibus) 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 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)

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 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

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 P485 toggles this bit when new information is
available in the status register.

14

Handshake Confirmation
Bit (SR_HS_CONFIRM)

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

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
P485 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.

Advertising