Reference | I/O Devices State & 0x00E0 == 0x0080 -> PAR_READY State & 0x00E0 == 0x00C0 -> ACTIVE State & 0x00E0 == 0x00E0 -> RUN Input Diagnosis The IBS ISA SC-I/T automatically provides two input words whose bits describe the status of the card and the Interbus: State:
0x0001 = user error 0x0002 = periphery error 0x0004 = bus error 0x0008 = hardware error(interface module) 0x0010 = diagnostic routine active 0x0020 = data transfer active 0x0040 = selected configuration is ready to operate 0x0080 = interface module is ready to operate 0x0100 = bus segment is switched off 0x0200 = disable command output 0x0400 = standard function negative 0x0800 = synchronisation error occurred 0x1000 = data cycle malfunction 0x2000 = pre-set waiting period exceeded 0x4000 = pre-set error density exceeded 0x8000 = signal to controller present DiagPara : The content depends upon the contents of State. - If 0x0001 or 0x0008 bit is set, the error code is shown in DiagPara.
- If 0x0002 or 0x0004 bit is set, the segment address of the error location is shown in DiagPara. See firmware Reference Manual IBS SYS FW G4 LIB UM (item no.: 27 45 13 0) under function GetIBSDiagnostic. Available only for Masters with slave interface (System coupler). SlaveState: 0x0001 = Slave data transfer. The slave is in data exchange mode. 0x0002 = Fail. Slave reports modul error. 0x0004 = Slave initialized. 0x0008 = Power on. The external voltage is ok. 0x0010 = Ready. Slave is in READY state. SlaveDiagPara: The content depends upon the contents of SlaveState. TwinCAT 2 154 Version: 1.7