User`s manual

5-10 Series 90™-30 CPU with Embedded PROFIBUS Interface – November 2004 GFK-2334A
5
Get Master Status Reply Data Format –
Response written to location specified by Words 8 & 9
Word Name Description
1 Command
Code
Echo of Command code that this data block is replying to. (0x0002)
2 Global State
Bits
Bits indicating the global state of the master. See “Global State Bits.”
3 DPM State Control state of the Dual Port Memory in the master. See “DPM State”
on page 5-11.
4L Error Remote
Address
Remote address of device with error. See “Error Remote Address” on
page 5-11.
4H Error Event Error code response to the Error Remote address. See “Error Event” on
page 5-11.
5 … 9 Reserved for
future use
Word 10 of the Get Master Status command block should specify a
minimum of 9 words to accommodate possible future use of this space.
Global State Bits
The master’s global state is reported in Word 2 of the Get Master Status reply data and
the low byte of Word 4 in the Read Module Header reply data (described on page 5-17).
If there are no errors reported by the master, all bits in this word have a value of zero. The
following table provides definitions for bits with a value of 1.
Bit Name Description
0 CTRL CONTROL-ERROR: Parameterization error.
1 ACLR AUTO-CLEAR-ERROR: Master has stopped communications to all slaves and
reached the auto-clear end state.
2 NEXC NON-EXCHANGE-ERROR: At least one slave has not reached the data exchange
state and no process data is being exchanged with it.
3 FAT FATAL-ERROR: Because of major network fault, no further bus communication is
possible.
4 EVE EVENT-ERROR: The master has detected bus short circuits. The number of
detected events is reported in Word 6, BusErrorCnt, of the Read Module Header
reply. The bit is set only when the first event is detected.
5 NRDY HOST-NOT-READY-NOTIFICATION: If this bit is set, the HOST program is not ready
to communicate.
6 TOUT TIMEOUT-ERROR: The timeout supervision time has been exceeded because of
rejected PROFIBUS telegrams. This error indicates bus short circuits that cause the
master to interrupt communications. The number of detected timeouts is reported in
Word 7, TimeOutCnt, of the Read Module Header reply. The bit is set only when the
first timeout is detected.
7 NA Reserved.