Rockwell Automation 1794-Lxxxx PhaseManager User Manual
Page 96

96
Publication LOGIX-UM001B-EN-P - April 2010
Appendix A
Equipment Phase Instructions (PSC, PCMD, POVR, PFL, PCLF, PXRQ, PRNP, PPD, PATT, PDET)
Example:
Relay Ladder
Structured Text
If the equipment phase is in the pausing substate
And ThisPhase.StepIndex = 20 (The routine is at step 20.)
And FillTime.DN = On
Then the PPD instruction prevents the MOV instruction from moving the routine to step 30 until the equipment phase gets the
resume command. (The routine stays at step 20.)
When the equipment phase gets the resume command, the PPD instruction lets the MOV instruction execute, so the routine
goes to step 30.
When the SFC goes to Step_004
The PPD instruction sets Add_Ingredient.Paused = 1
While Add_Ingredient.Paused = 1, the SFC stays at Step_004.
When the equipment phase gets the resume command
Add_Ingredient.Paused = 0
The SFC goes to the next step
If Step_001.DN = 1 (The step ran for the preset time.), then
Ingredient_Add…State_Cmnd = 0 (stop adding ingredient)
The SFC goes to Step_004