Rockwell Automation Publication 2198-UM004D-EN-P - December 2022 341
Chapter 11 Motion Control in PR Mode
Expressions Section
This section supports addition, subtraction, multiplication, division, AND, OR,
and MOD operation as well as logical operations for multiple data. Table 114
shows the supported operators and calculation data with data format in DEC
and HEX.
Procedure Section
This section uses the IF statement to evaluate whether the user-defined
condition is fulfilled. If it is true, jump to the specified PR command pull-down
setting is used. If it is false, jump to the other specified PR command pull-
down setting is used. If you click Next PR in Quick Setting, the software
automatically inputs the condition and then jumps to the next PR command. If
you leave this section blank, then the PR procedure stops once the basic
operation is done. See Table 115
for data formats and operators.
Table 115 - Field Description for the Procedure Setting Section
Table 114 - Description of Each Field in the Expressions Section
Data to be Written = Calculation Data Operator Calculation Data
User variable (User[0…63])
User variable
(User[0…63])
Addition (+)
Subtraction (-)
Multiplication (*)
Division (/)
Obtain remainder (%)
And (&)
Or (|)
User variable (User[0…63])
Constant (Constant)
Parameter (PX.XXX) Data array (Arr[0…799])
Constant
(Constant)
Data array (Arr[0…799])
Parameter (PX.XXX)
Data array (Arr[0…799])
Monitoring variable
(Mon[*])
Data format Operator Data format
User variable
(User[0…63])
Greater than (>)
Greater than or equal
to(≥)
Less than (<)
Less than or equal to (≤)
Equal to (=)
Not equal to (≠)
User variable
(User[0…63])
Constant
(Constant)
Data array
(Arr[0…799])
Constant
(Constant)
Parameter
(PX.XXX)
Data array
(Arr[0…799])
Monitoring variable
(Mon[*])