Download Print this page

Danfoss MCO 305 Design Manual page 149

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
SETMORIGIN
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Syntax Example
SET ORIGIN
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Syntax Example
Syntax Example
Program Sample
__ Software Reference __
Set any position as the zero point for the master.
SETMORIGIN value
value = absolute position
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.
INI
DEFMORIGIN, MAPOS
SETMORIGIN 10000
/* Set the zero point for the master at 10000 */
Set absolute position as temporary zero point
SET ORIGIN p
p = absolute position in relation to the real zero point
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.
INI
RST ORIGIN, DEF ORIGIN, POSA, CURVEPOS
SET ORIGIN 50000
/* set temporary zero point to 50000 */
SET ORIGIN (–CURVEPOS)
// Set temporary zero to the beginning of the curve
TORIG_01.M, OUT_01.M, VEL_01.M
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
149

Advertisement

loading