103
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
Software Reference
■
■
■
■
■
CONTI N U E
By using CONTINUE, positioning and speed
motion commands which have been aborted via
the MOTOR STOP command or an error condition
or halted via MOTOR OFF can be resumed.
The CONTINUE command can be used especially
in an error subroutine in connection with the
ERRCLR command, to enable the correct conti-
nuation of a motion procedure following an error
abort.
N B!
However CONTINUE does not continue
interrupted synchronization commands.
Summary
continues positioning from point of interrupted
motion
Syntax
CO NTI N U E
Command group
CON
Cross Index
MOTOR STOP, ERRCLR, ON ERROR GOSUB
Syntax-Example
CO NTI N U E
/* continue interrupted motion procedure */
Program sample
MSTOP_01.M
■
■
■
■
■
CPOS
The CPOS command queries the actual comman-
ded position of the axis related to the actual zero
point. The commanded position is understood to
be the temporary set position which is re-calcula-
ted every ms by the positioning control during a
positioning procedure or a movement in rotation
mode.
The command position can be queried indepen-
dently of the operating condition (position control
during standstill, positioning process, speed con-
trol or synchronization).
Summary
reads the actual command position of the axis
Syntax
res = CPOS
Return value
res = Absolute commanded position in User Units
(UU) related to the actual zero point
N B!
If a set and active temporary zero point (set
via SET ORIGIN) exists, then the position
value is relative to this zero point.
Command group
I / O
Cross Index
APOS, DEF ORIGIN, SET ORIGIN, POSA, POSR
Parameter: POSFACT_Z (23), POSFACT_N (26)
Syntax-Example
PRI NT CPOS
/* actual command position of axis */
Program sample
CPO S_01.M
G OSU B_01.M