ProSoft Technology PS69-DPS User Manual
Page 78
Reference
PS69-DPS ♦ CompactLogix or MicroLogix Platform
User Manual
Profibus DP Slave Communication Module
Page 78 of 108
ProSoft Technology, Inc.
May 9, 2014
Slave Status Information
A 128 byte state field is transferred to the user program via the input data area
image. It contains information about the slave modules status and begins with
byte 8 of the input region. The status information encompasses 32 bytes of static
information and 96 bytes reserved for the extended status field. The content of
the extended status is controlled by the command "ExtStaSelect" byte in the
Device Command Register in the user program (byte offset 8-9).
Byte Offset
Structure member
Data type
Description
Valid Values
8-9
ExtStaSelect
INT
Shows which
extended status
information are
currently transmitted in
the field "Extended
Status Information"
0 = No extended status information
1 = Firmware version
2 = Slave configuration
3 = Master configuration
4 = Parameter data
6 = DPV1 C1 Diag
10-11
ExtStaLen
INT
Number of valid bytes
in the region
"Extended Status
Information"
Depends on the selected extended
status
0 = 0 Byte
1 = 32 Byte
2 = 49 Byte
3 = 49 Byte
4 = 33 Byte
6 = 80 Byte
12-13
Baudrate
INT
Baud Rate on
PROFIBUS
12000 = 12 MBaud
6000 = 6 MBaud
3000 = 3 MBaud
1500 = 1,5 MBaud
500 = 500 kBaud
187 = 187,5 kBaud
93 = 93,75 kBaud
9 = 9,6 kBaud
0 = not detected
14
Busaddress
SINT
Bus Address of the
Slave
0 … 125
15
UserFlags
SINT
User Fags
D0 = Parameter data changed
D1 = Configuration data changed
D2 ... D7 Don't care
16-17
Ident
INT
Slave ident number
097Ah
18-19
TaskState
INT
Slave status
See following table
20-21
InputDataLen
INT
Length of input data(*) 0 ... 244
22-23
OutputDataLen
INT
Length of output
data(*)
0 ... 244
24-25
ErrorCount
INT
Error counter
0 ... FFFFh
26
LastError
SINT
Last error
See following table
27
Pad
SINT
Reserved
Reserved
28-29
WatchdogTime
INT
Current watchdog time 5 ... 65535 ms
30-31
IrqCounter
INT
Indication of bus
activity
0 ... 0xFFFF