Diagnosis of the multi-function I/Os

This chapter describes the diagnostic options for multi-function I/O communication. This is important, for example, if the 24 V power supply for the multi-function I/Os fails or the circuit breaker has triggered.

Status variable

The status variable state can be used for diagnostic purposes. In the normal state, the status variable takes the value 0x___8 (OP, Operational) and thus indicates that everything is error-free.

Diagnosis of the multi-function I/Os 1:
Multi-function I/O status variable.

The following table shows which values the variables can assume:

Value

Meaning

0x___1

Slave in 'INIT' state

0x___2

Slave in 'PREOP' state

0x___3

Slave in 'BOOT' state

0x___4

Slave in 'SAFEOP' state

0x___8

Slave in 'OP' state

0x001_

Slave signals error

0x002_

Invalid vendorId, productCode... read

0x004_

Initialization error occurred

0x010_

Slave not present

If there is a power supply failure, the multi-function I/Os do not automatically go back into data exchange. To do this, the multi-function I/Os must be reset. A function block that can be used to reset the multi-function I/Os is the FB_CX70xx_ResetOnBoardIO function block.

Notice : If outputs are still set in the PLC, the outputs of the multi-function I/Os are immediately reactivated as soon as the multi-function I/Os are reset with the function block.

Other diagnostic variables

The diagnostic variables Diag and TxPDO State are currently not in use and are reserved for future use. The variable Input cycle counter, on the other hand, increments with each cycle and indicates the number of I/O cycles exchanged with the multi-function I/Os. As soon as the variable is no longer incremented, no more I/O cycles are exchanged with the multi-function I/Os.

Diagnosis of the multi-function I/Os 2:
Further diagnostic variables for multi-function I/Os

Variable

Meaning

Diag

Reserved, currently not used.

TxPDO State

Reserved, currently not used.

Input cycle counter

Incremented by 1 with each cycle. If this counter stops, then no more I/O cycles are exchanged with the multi-function I/Os.