Kuhnke Electronics Instruction Manual
Kuhnke Electronics Instruction Manual
Kuhnke Electronics Instruction Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
PLC States<br />
4.6 PLC States<br />
4.6.1 RUN<br />
4.6.2 STOP<br />
4.6.3 Online Reset<br />
Events and commands cause the PLC to adopt different<br />
states.<br />
� The user program is running.<br />
� The PROFIBUS state is either "Operate" or it remains<br />
"Offline". Data is transferred via the external process<br />
image which is not synchronised with the user<br />
program cycle.<br />
� The user program stops running between two cycles.<br />
� PROFIBUS retains its state, i.e. "Operate".<br />
� The user program no longer runs.<br />
� The state of PROFIBUS changes to "Clear". Zeros<br />
are sent to the DP slave outputs. The reaction of the<br />
remote data depends on the peripheral (DP slave).<br />
� Except for the Retain variables (VAR RETAIN), all<br />
variables are reset to the value that they were<br />
originally initialised to (also applies to the variables<br />
declared as VAR PERSISTENT!!). Variables not<br />
explicitly assigned an initialisation value are set to<br />
their default initial values (e.g. integers are set to 0).<br />
Prior to overwriting the variables, CoDeSys displays a<br />
security prompt.<br />
A Reset is the same switching off the controller and<br />
turning it back on (warm boot) while the program is<br />
running.<br />
112 E 700 GB