Rockwell Automation 1794-Lxxxx PhaseManager User Manual
Page 91

Publication LOGIX-UM001B-EN-P - April 2010
91
Equipment Phase Instructions (PSC, PCMD, POVR, PFL, PCLF, PXRQ, PRNP, PPD, PATT, PDET)
Appendix A
Structured Text
This is a stored action. It continues to execute even after the SFC leaves
Step_001.
If ThisPhase.NewInputParameters = 1 (FactoryTalk Batch software has new input parameters for
the equipment phase), then
If Enable_PXRQ = 1 (Let the PXRQ instruction execute.)
Or RQ_Control[0]. PC = 0 (The PXRQ instruction is in process.), then
DataValues[0] = 2. This sets the PXRQ instruction for transfer of control.
Send the Download Input Parameters Subset request to FactoryTalk Batch software.
Because DataValues[0] = 2, the instruction is set for transfer of control.
Enable_PXRQ = 0 (Do not let the PXRQ instruction restart after the request
completes.)
If RQ_Control[0]. PC = 1(The request is complete.), then
ThisPhase.NewInputParameters = 0 via the PRNP instruction.
Otherwise
Enable_PXRQ = 1 (Let the PXRQ instruction execute the next time new input parameters are
available.