Program Control Instructions (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT)
1.The val ues in Add_Input_1,
Add_Input_2, an d Add_Input_3
are co pied to Input_A, Input_B,
and
Input_C, re
spectively.
Example 3:
Function Block
JSR instruction in Routine_A
Function blocks of the Add_Three_Inputs routine
2.The ADD instructions add Input_A, Input_B, and Input_C and place the result in Sum_A_B_C.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
42972
3.The va lue of Sum_A_B_C is co pied t o
Add_Three_Result.
Chapter 11
42973
461