107
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
Software Reference
■
■
■
■
■
DEFMORIGIN
DEFMORIGIN defines the current master position as
the zero point for the master. The master position
(MAPOS) refers to this zero point until a redefinition
takes place using DEFMORIGIN or SETMORIGIN.
Summary
Set the current master position as the zero point
for the master.
Syntax
D E FM OR I G I N
Command group
I N I
Cross Index
MAPOS, SETMORIGI N
Syntax example
D E FM OR I G I N
/* Set current position as the zero point for the
master */
■
■
■
■
■
DEF ORIGIN
With the DEF ORIGIN command the current position
is set as the zero point. All absolute positioning com-
mands (POSA) then refer to this zero point.
Summary
sets the actual position as real zero point
Syntax
DE F ORI GI N
Command group
I N I
Cross Index
POSA
Syntax-Example
POSA 80000
/* Absolute positioning */
DE F ORI GI N
/* define actual position as
zero point */
Program sample
DORIG_01.M, ORIG_01.M
■
■
■
■
■
DEF SYNCORIGIN
This command allows to define the relation between
master and slave for the next SYNCP or SYNCM
command. It sets the internal slave command posi-
tion to the slave value.
The master value is used for an internal MOVE-
SYNCORIGIN. For that reason, a MOVESYNCORIGN
will be overwritten by this command. Both actions
are done at the moment, when the SYNC command
is activated. So it is guaranteed, that master and
slave will be synchronized at the above master-
slave position.
Summary
Defines master-slave relation for the next SYNCP or
SYNCM command
Syntax
DEFSYNCORIGIN master slave
Parameter
master = reference position in qc
slave
= reference position
Portability
Standard command with option card version 5.00
onwards
Command group
SYN
Cross Index
MOVESYNCORIGIN