336
Manual – IPOSplus®
23
Set commands
Assembler – Commands
23.8 Set commands
23.8.1 Copy variables COPY
COPY
The COPY command copies the number of successive variables specified in the 3rd ar-
gument. The second argument of the COPY command indicates the number of the first
source variable; the first argument indicates the number of the first target variable. Up
to 10 variables can be copied using one COPY command.
Structure
Example
The command
COPY H2 = H20, 3
corresponds to the command sequence:
SET H2 = H20
SET H3 = H21
SET H4 = H22
23.8.2 Read system values GETSYS
GETSYS/GET
SYSTEM VALUE
The GETSYS command loads the value of an internal system value of argument X2 to
one or more variables of argument X1.
Structure
Command structure
Mxxx COPY X1 = X2, X3
Mxxx: Label
(optional)
X1:
Hxxx = Number of the first target variable.
X2:
Hyyy = Number of the first source variable.
X3:
K = Constant (number of variables to be copied, 1 ... 10).
Myyy:
Jump label to which the program jumps if the condition is ful-
filled.
Command structure
Mxxx GETSYS X1 X2
Mxxx: Label
(optional)
X1:
Hxxx = Start of the variable structure containing the result
after the command has been performed.
X2:
ACTIVE CURRENT
Active current in 0.1% rated unit current
ACT.SPEED
actual speed in 0.1% rpm
SETP.SPEED
Setpoint speed in 0.1% rpm
ERROR
Error code according to the "Error messages and list of errors" table in the system
manual
SYSTEM STATUS
Operating status, value of the 7-segment display without fault status in accordance
with the table "Operating display" in the system manual
ACT.POSITION
Actual position depending on the encoder selected in P941 H509, H510 or H511
SETP.POSITION
Setpoint position (current setpoint selection of the profile generator whilst a travel
command is being carried out), identical to system variable H491
TARGET POSITION
Target position, identical to system variable H492
INPUTS
Binary inputs H483 (MOVIDRIVE
®
A) / H520 (MOVIDRIVE
®
B) of the basic unit
and options; identical to system variable H483.
DEVICE STATUS
Identical to status word 1 of the fieldbus unit profile (fault code + operating status)
OUTPUTS
Binary outputs H482 (MOVIDRIVE
®
A) / H521 (MOVIDRIVE
®
B) of the basic unit
and the option
IxT
Unit utilization in 0.1% rated unit current
ACT.POSITION / SETP.POSITION / TARGET POSITION: Resolution depends on the encoder selected in P941:
–
Motor encoder: 4096 Inc./revolution
–
External encoder X14: Encoder resolution P944
–
DIP (SSI encoder): Encoder resolution P955
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n