PLC_W: Controller Read/Write System Variables
This table describes the parameters of the PLC_W system variable (PLC_W_STRUCT type):
%MW |
Var 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 |
When Value passes from 0 to 6699, the command previously written in the following PLC_W.q_wPLCControl is executed. |
|
n/a |
q_wPLCControl |
Controller RUN / STOP command executed when the system variable PLC_W.q_uiOpenPLCControl value passes from 0 to 6699. |
|
n/a |
q_wResetTM5counters |
WORD |
Transition from 0 to 1 resets all TM5 counters of PLC_R Structured System Variables (PLC_R.i_uiTM5SyncErrCnt to PLC_R.i_uiTM5BusCycleCnt) To reset the counters again, it is necessary to write 0 to this variable before another transition from 0 to 1 can take place. |
NOTE: n/a means that there is no pre-defined %MW mapping for this system variable.