PLC_W: Controller Read/Write System Variables

Library and Namespace

Library name: SE_PLCSystem

Namespace: SEC

Variable Structure

This table describes the parameters of the PLC_W system variable (PLC_W_STRUCT type):

%MW

Variable Name

Type

Comment

n/a

q_wResetCounterEvent

WORD

Transition from 0 to 1 resets the events counter (PLC_R.i_uiEventsCounter).

To reset the counter again, it is necessary to write 0 to this variable before another transition from 0 to 1 can take place.

n/a

q_uiOpenPLCControl

UINT

When the value of the variable passes from 0 to 6699, the command previously written in the following PLC_W.q_wPLCControl is executed.

n/a

q_wPLCControl

PLC_W_COMMAND

Controller RUN / STOP command executed when the system variable PLC_W.q_uiOpenPLCControl value passes from 0 to 6699.

n/a means that there is no pre-defined %MW mapping for this system variable