01.07.2013 Views

Programming manual M238 | 3 MB - BERGER - POSITEC

Programming manual M238 | 3 MB - BERGER - POSITEC

Programming manual M238 | 3 MB - BERGER - POSITEC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Controller States and Behaviors<br />

Controller States and Output Behavior<br />

Introduction<br />

The Modicon <strong>M238</strong> Logic Controller defines output behavior in response to<br />

commands and system events in a way that allows for greater flexibility. An<br />

understanding of this behavior is necessary before discussing the commands and<br />

events that affect controller states. For example, typical controllers define only two<br />

options for output behavior in stop: fallback to default value or keep current value.<br />

The possible output behaviors and the controller states to which they apply are:<br />

Managed by Application Program<br />

Keep Current Values<br />

Set All Outputs to Default<br />

Initialization Values<br />

Output Forcing<br />

Managed by Application Program<br />

Your application program manages outputs normally. This applies in the RUNNING<br />

and RUNNING with External Error states.<br />

Keep Current Values<br />

You can select this option by choosing Keep current values in the Behaviour for<br />

outputs in Stop dropdown menu of the PLC settings sub-tab of the Controller<br />

Editor. To access the Controller Editor, right-click on the controller in the device tree<br />

and select Edit Object.<br />

This output behavior applies in the STOPPED and HALT controller states. Outputs<br />

are set to and maintained in their current state, although the details of the output<br />

behavior varies greatly depending on the setting of the Update IO while in stop<br />

option and the actions commanded via configured fieldbuses. Refer to Controller<br />

States Description (see page 49) for more details on these variations.<br />

Set All Outputs to Default<br />

You can select this option by choosing Set all outputs to default in the Behaviour<br />

for outputs in Stop dropdown menu of the PLC settings sub-tab of the Controller<br />

Editor. To access the Controller Editor, right-click on the controller in the device<br />

tree and select Edit Object.<br />

This output behavior applies in the STOPPED and HALT controller states. Outputs<br />

are set to and maintained in their current state, although the details of the output<br />

behavior varies greatly depending on the setting of the Update IO while in stop<br />

option and the actions commanded via configured fieldbuses. Refer to Controller<br />

States Description (see page 49) for more details on these variations.<br />

54 EIO0000000384 04/2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!