Operation & Software Manual
28
Direct Drives & Systems
Chapter A: Internal functioning & architecture ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
6.1.2 Accumulator operations
Example:
XAC.0=150/X23.0 ;In the accumulator, divide 150 by the value contained in the X23 variable.
Refer to §14.3
for more information about XAC command (functions with 2 operators).
Syntax:
Operations with the accumulator are given under the following format:
.<axis> Axis or group of axis number which have to execute the command.
Possible values:
• Integer from 0 to 30 according to the number of axis if the command refers to
one single axis.
• Symbol! if the command refers to all linked axis.
• Some selected axes numbers between commas (refer to §14.4.2
).
•Symbol % and the axes mask total number to select some axes (refer to §14.4.2)
<p1> and <p2> Accumulator parameters. If no value is defined, the value 0 by default is
automatically selected.
Possible values:
•Integer
• Value contained in any register, at any depth, [px] syntax is similar to a command
syntax:
<register>[:<depth>].<axis>
<operator> Mathematical operator. Possible values:
• Arithmetical and logical operators (+, -, &,...). Refer to §14.3
for more
information.
6.1.3 Sequence labels
When programming a sequence in the controller, labels are used (refer to §14.2).
Example: :11.2
Syntax:
.<label_#> Label distinctive number, defining a part of the controller sequence
Possible values:
• Integer from 0 to 511. Labels :79 and :80 are specific.
.<axis> Axis number that contains the sequence.
Possible values:
• Integer from 0 to 30 depending on the axis used.
•Symbol % if the command refers to the axis (controller) where the sequence is
stored
XAC.<axis> = <p1> <operator> <p2>
: <label_#>.<axis>