Rockwell Automation 1794-Lxxxx PhaseManager User Manual

Page 66

Advertising
background image

66

Publication LOGIX-UM001B-EN-P - April 2010

Appendix A

Equipment Phase Instructions (PSC, PCMD, POVR, PFL, PCLF, PXRQ, PRNP, PPD, PATT, PDET)

Example 1:

Relay Ladder

Structured Text

If ProcedureB_StepIndex = 20 (The routine is at step 20.)
And this is the transition to step 20 (The ONS instruction signals that the EQU instruction went from false to true.)
Then

Change the state of the Add_Water equipment phase to running via the start command.

If ProcedureB_StepIndex = 20 (The routine is at step 20.)
And the Add_Water equipment phase is complete (Add_Water:Phase.Complete = 1)
Then
Change the state of the Add_Water equipment phase to resetting via the reset command.
Advance to step 30.

When the SFC enters Add_Water_Step, change Add_Water
equipment phase to running via the start command. The P1 qualifier
limits this to the first scan of the step.

Before the SFC leaves Add_Water_Step
(Add_Water:Phase.Complete = 1), change Add_Water equipment
phase to resetting via the reset command. The P0 qualifier limits this
to the last scan of the step.

Advertising
This manual is related to the following products: