1.4.3.14 PAL_PLC_STATUS Enum

C

typedef enum {
    PAL_PLC_STATUS_UNINITIALIZED = SYS_STATUS_UNINITIALIZED,
    PAL_PLC_STATUS_BUSY = SYS_STATUS_BUSY,
    PAL_PLC_STATUS_READY = SYS_STATUS_READY,
    PAL_PLC_STATUS_ERROR = SYS_STATUS_ERROR,
    PAL_PLC_STATUS_INVALID_OBJECT = SYS_STATUS_ERROR_EXTENDED - 1,
} PAL_PLC_STATUS;

Summary

Identifies the current status/state of the PLC PAL module.

Description

This enumeration identifies the current status/state of the PLC PAL module.

Remarks

This enumeration is the return type for the PAL_PLC_Status routine. The upper layer must ensure that PAL_PLC_Status returns PAL_PLC_STATUS_READY before performing PLC PAL operations.