Phase New Parameters (PRNP)

This instruction applies to the Compact GuardLogix 5370 and Compact GuardLogix 5380, CompactLogix 5370, CompactLogix 5380, and CompactLogix 5480, ControlLogix 5570 and ControlLogix 5580, and GuardLogix 5570 and GuardLogix 5580 controllers.
TIP:
When using this instruction with ControlLogix redundancy system, outputs controlled by this instruction may not be bumpless during redundancy switchover, if the instruction and phase program are not scheduled in the highest priority task.
Use the PRNP instruction to clear the NewInputParameters bit of an equipment phase.
The PRNP instruction clears the NewInputParameters bit of the equipment phase.
This is a transitional instruction. Follow these steps when using it:
  • In ladder logic, insert an instruction to toggle the rung-condition-in from false to true each time the instruction should execute.
  • In a Structured Text routine, insert a condition for the instruction to cause it to execute only on a transition.
L5K_PRNP_Other_Pg459_v32.png
NOTE:
When
FactoryTalk Batch
software has new parameters for an equipment phase, it sets the NewInputParameters bit for the phase.
After downloading the parameters, use the PRNP instruction to clear the bit.
Available Languages
Ladder Diagram
PRNP_LD_avail_v31
Function Block
This instruction is not available in function block.
Structured Text
PRNP ( );
Operands
Ladder Diagram
None
Structured Text
None
Enter the parentheses ( ) after the instruction mnemonic, even though there are no operands.
Affects Math Status Flags
No
Major/Minor Faults
None. See
Index Through Arrays
for operand-related faults.
Execution
Condition/State
Action Taken
Prescan
No action taken.
Postscan
No action taken.
EnableIn is false
No action taken.
EnableIn is true
The instruction executes.
Example
Ladder Diagram
PRNP_LD_ex_v31
Structured Text
L5K_PRNP_FC_ex_v32
If PRNPTest.NewInputParameters = 1 (
FactoryTalk Batch
software has new input parameter 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] = this set the PXRQ instruction for transfer of control.
Send the Download Input Parameters Subset request to
FactoryTalk Batch
software.
Send DataValues[0] = 2, the instruction is set for transfer of control.
Enable_PXRQ = 0 (Do no 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.)
L5K_PRNP_FC_ex_btm
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.