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.
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.
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
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
Structured Text
If PRNPTest.NewInputParameters = 1 (
FactoryTalk Batch
software has new input parameter for the equipment phase), thenIf 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.)
Provide Feedback