
MCO 305 Design Guide
__ Software Reference __
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
149
SETMORIGIN
Summary
Set any position as the zero point for the master.
Syntax
SETMORIGIN value
Parameter
value = absolute position
Description
With the SETMORIGIN command you can set any position as the new zero point for
the master.
NB!:
The command SETMORIGIN cancels the command DEFMORIGIN.
NB!:
Thus, to alter the zero point for the master again, you have to reset it with
SETMORIGIN or DEFMORIGIN. RST ORIGIN does not have any effect on the zero
point for the master.
Command Group
INI
Cross Index
DEFMORIGIN, MAPOS
Syntax Example
SETMORIGIN 10000
/* Set the zero point for the master at 10000 */
SET ORIGIN
Summary
Set absolute position as temporary zero point
Syntax
SET ORIGIN p
Parameter
p = absolute position in relation to the real zero point
Description
Any absolute position can temporarily be set as a new reference point for absolute
positioning command (POSA) by use of the SET ORIGIN command. This position is
called temporary zero point.
In combination with the command CURVEPOS, one can fix in this way that the
current slave position matches the corresponding value of the curve.
NB!:
It is possible to carry out several SET ORIGIN commands without carrying out a
previous RST ORIGIN. The absolute position value always refers to the real zero
point. The last carried out SET ORIGIN command therefore determines the position
of the temporary zero point in relation to the real zero point.
Command Group
INI
Cross Index
RST ORIGIN, DEF ORIGIN, POSA, CURVEPOS
Syntax Example
SET ORIGIN 50000
/* set temporary zero point to 50000 */
Syntax Example
SET ORIGIN (–CURVEPOS)
// Set temporary zero to the beginning of the curve
Program Sample
TORIG_01.M, OUT_01.M, VEL_01.M
Summary of Contents for MCO 305
Page 4: ......