Rockwell Automation 1794-Lxxxx PhaseManager User Manual

Page 67

Advertising
background image

Publication LOGIX-UM001B-EN-P - April 2010

67

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

Appendix A

Example 2:

Relay Ladder

Structured Text

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

Change the Add_Ingredient equipment phase to running via the start command.
Verify that the command was successful and store the result code in PCMD_Result[1] (DINT tag).

When the SFC enters Add_Ingredient_Step:

• change Add_Ingredient equipment phase to running via the start

command.

• verify that the command was successful and store the result code in

PCMD_Result[2] (DINT tag).

The P1 qualifier limits this to the first scan of the step.

Advertising
This manual is related to the following products: