Rockwell Automation Publication 2198-UM004D-EN-P - December 2022 339
Chapter 11 Motion Control in PR Mode
Arithmetic Operation
Commands
In PR Mode, the drive provides arithmetic and simple logic commands,
including addition, subtraction, multiplication, division, OR, AND, MOD, and
logic conditions. Available operands that can be written or read include user
variable, parameter, data array, monitoring variable, and constant types.
Arithmetic operations must be set via the Arithmetic Operations dialog box in
KNX5100C software. See Index Position Command Operation
on page 338. To
avoid error occurrences, do not use the front panel or a Message instruction to
do the setting.
Figure 147 - PR Arithmetic Operations Screen
Arithmetic Operations
When you configure a PR command type as [0xB] Statement, you must use the
Arithmetic Operations dialog box in KNX5100C software to define the
commands, including addition, subtraction, multiplication, division, and logic
conditions. The configuration dialog box has three sections: Expressions,
Procedure, and Statement.
Type Definition
User[*]
User Variable
(0…63)
64 total user variables stored in the drive - you can use these variables, but they
are internal to the drive only. These variables are 32 bit registers.
Px.xxx Parameter Entry
Use the pull-down menu to select the parameter.
IMPORTANT: Not all parameters support a write using the statement command - it
is more likely to have success using a Write to Parameter Command dedicated
operation. However, depending on the parameter and the drive mode including
state, not all parameters can be modified.
Arr[*] User Data Array
There are 800 user Data Array values that can be modified. These include E-CAM
points.