38 / 65 Issued: 29.11.2012 Version: KR C4 Interbus 1.1 V2 en (PDF)
Interbus 1.1
8.2 Status information of the driver
The “State of status machine of driver” can be read in the diagnostic monitor.
IP address of config-
uration tool (1)
IP address of a connected configuration tool (1)
IP address of config-
uration tool (2)
IP address of a connected configuration tool (2)
“Name” column Description
Designation Value Description
INST_NOT_AVAILABLE 0x0001 Initial state if the instance has not yet been ini-
tialized.
INST_RUNNING 0x0002 This status bit indicates that the Interbus was
started successfully and that I/O data
exchange can take place.
INST_STOP_USER 0x0004 This status bit is set if the Interbus has been
stopped by the driver or by a user action.
INST_STOP_ERR 0x0008 This status bit is set if an error has occurred in
the Interbus master ring, preventing an update
of all I/Os, e.g. in the case of a bus error.
INST_CLEAR_MPM_OUT 0x0010 This status bit is set if the outputs are set to 0 in
the event of an error.
INST_WAITING_FOR_EX_STA
RT
0x0020 This status bit is set if the Interbus is to be
started by means of a boot project or “exter-
nally” and is waiting for this start.
INST_STOP_WARN 0x0040 This status bit is set if the driver is to signal an
error in the case of a periphery fault when writ-
ing and reading I/Os.
INST_RUN_WATCHDOG_STA
RT
0x0080 This status bit is set if the Interbus has already
been started, but the watchdog is still to be trig-
gered. The watchdog is not triggered until the
cyclical read and write function is executed.
The start of the watchdog must be delayed until
the cyclical read and write function has been
activated.
INST_STOP_FREEZE 0x0100 This state is set once the driver has been set to
the Freeze state.
INST_STOP_RESET 0x0200 This status bit is set if the driver attempts to
restart the Interbus.
INST_STOP_WATCHDOG 0x0400 This status bit is set if the watchdog has
expired.
INST_STOP_HW_ERR 0x0800 This status bit is set if a hardware error has
been detected or signaled by the firmware.
INST_STOP_SLV_ERR 0x1000 This status bit is set if the driver is no longer to
update I/O data once the slave ring has sig-
naled an error.
INST_ERR_DETECTING 0x2000 This status bit indicates that the firmware has
started searching for an error in the Interbus
master ring.