PlcOpState coding group

The operating state of the PLC.

Lua access code

To access the code of the codings below, append the coding group name and coding name to syslib.model.codes, see an example below.

return syslib.model.codes.PlcOpState.RUN

Codings

Name Code Description
RUN 2 CPU in Run
START 1 CPU in Start
STOP 0 CPU in Stop
UNKNOWN 3 The CPU state is unknown