4 Teaching
4.8 Local Variables
4-70
HW1485509
HW1485509
4.8.2.2 Using Job Arguments
The following steps describes the basic procedure for using Job
Arguments with an example. This involves a parent job (named as
“PARENT_JOB1”) that will call into a child job (named as “CHILD_JOB1”)
with arguments. The child job uses three arguments:
• 1 Double (D) value to be used as a Speed parameter
• 1 Integer (I) value to be used in a Timer
• 1 Position (P) value to be used as a Shift value
1. Configure the Local Variables allocation for the child job.
– For using these parameters in the child job, at least one LD, LI, and
LP variable will need to be allocated, as shown in the figure.
– For more information on configurating the Local Variable, refer to
chapter 4.8.1.1 “Allocation”.
2. Configure the Job Arguments Names for the child job.
– Three arguments are named.
– For more information on configurating the Job Arguments, refer to
chapter 4.8.2.1 “Configuration”.
3. Open the parent job (PARENT_JOB1) from the Job List.
4. Under Navigation Bar, press {COMMANDS}.