CAL SYSSTATE_Instance (COLD=>ColdStartCycle, WARM=>WarmStartCycle, ERROR=>ErrorInBuffer)
SYSSTATE_Instance (COLD=>ColdStartCycle, WARM=>WarmStartCycle, ERROR=>ErrorInBuffer) ;
Parameter
|
Data type
|
Description
|
---|---|---|
COLD
|
Is set for one cycle to "1", when the user task is in a cold start cycle, i.e. the first start after the project has been completely loaded.
|
|
WARM
|
BOOL
|
Is set for one cycle to "1" when the PLC or the user task is started, i.e. after switching on the power or by starting the SPS after a stop.
When a STOP->RUN transition of the corresponding tasks occurs, WARM is set to "1".
After the logic of the corresponding tasks have been completed, WARM is set to "0".
WARM is identical to the user task specific system bit %S21.
|
ERROR
|
BOOL
|
Is set to "1" when there are error messages in the diagnostic buffer that have not yet been acknowledged.
|