PS69-DPM ♦ CompactLogix or MicroLogix Platform
PROFIBUS DPV1 Master
Global State Field
The 64 byte Global State Field is available to the user program via the input area of the
master module. This field contains status information of the PROFIBUS-DP system. It
always begins at byte offset 8 of the input area. The input area mapping of the Global State
Field is shown in the following table.
Byte Offset
Structure member
8
Global_bits
9
DPM_State
10
Err_rem_adr
11
Err_event
12 to 13
Bus_err_cnt
14 to 15
Time_out_cnt
16 to 23
Reserved[8]
24 to 39
Sl_cfg[128]
40 to 55
Sl_state[128]
56 to 71
Sl_diag[128]
ProSoft Technology, Inc.
October 1, 2014
Data Type
Signification
BOOL
GLOBAL-BITS
SINT
PROFIBUS-DP
Master State
SINT
Error Source
SINT
Error Event
INT
Bus Error Counter
INT
Time Out Counter
SINT(8)
Reserved
BOOL(128)
Slave Configuration
Bit Array
BOOL(128)
Slave State Bit
Array
BOOL(128)
Slave Diagnostic Bit
Array
Explanation
Global error bits, for a detailed
description of each bit and its
meaning see table below
Main state of the PROFIBUS-DP
Master system
00hex: OFFLINE
40hex: STOP
80hex: CLEAR
C0hex: OPERATE
0 ... 125 Error detected with a
Slave device
255 Error with Master.
Error number, use the Err_rem_adr
value to determine if the error
occurred with a connected slave or
the Master itself. See error
numbers in table below.
Number of major bus errors.
Number of bus time outs.
Reserved 8 Bytes
If the Sl_cfg bit of the
corresponding slave is logical "1"
the slave is configured in the
master, and serviced in its states.
"0" the slave is not configured in
the master
If the Sl_state bit of the
corresponding slave station is
logical "1" the slave and the master
are exchanging their I/O data. "0"
the slave and the master are not
exchanging their I/O data. The
values in variable Sl_state are only
valid, if the master runs the main
state OPERATE
If the Sl_diag bit of the
corresponding slave station is
logical "1" latest received slave
diagnostic data are available in the
internal diagnostic buffer. This data
can be read by the user with a
message. "0" since the last
diagnostic buffer read access of
the HOST, no values were change
in this buffer
Page 63 of 130
Contents
User Manual
Need help?
Do you have a question about the PS69-DPM and is the answer not in the manual?