Download Print this page

Danfoss MCO 305 Design Manual page 106

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
DEF ORIGIN
Summary
Syntax
Description
Command Group
Cross Index
Syntax Example
Sample
Program Sample
DEF SYNCORIGIN
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Sample
106
__ Software Reference __
Sets the current position as zero point
DEF ORIGIN
With the DEF ORIGIN command the current position is set as the zero point. All
absolute positioning commands (POSA) then refer to this zero point.
The actual position reached in a positioning command is the Target position plus
some error which is not compensated automatically while using a DEF ORIGIN.
NB!:
The command DEFMORIGIN can not be used with absolute encoders (see par. 32-
00 Incremental Signal Type).
INI
POSA
POSA 80000
/* Absolute positioning */
DEF ORIGIN
/* define actual position as zero point */
POSA 2000
PRINT "Position before new origin", APOS
DEF ORIGIN
PRINT "Position after defining new origin",
APOS
Output
Position before new origin 2000,
Position after defining new origin 0
DORIG_01.M, ORIG_01.M
Defines master-slave relation for the next SYNCP or SYNCM command
DEFSYNCORIGIN master slave
master = reference position in qc
slave = reference position
This command defines how much distance ahead or behind should the slave be in
relation to the master position. It allows defining the relation between master and
slave for the next SYNCP or SYNCM command. It sets the internal slave command
position to the slave value.
The master value is used for an internal MOVESYNCORIGIN. 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.
SYN
MOVESYNCORIGIN
Here when the master is in 2000 qc
the slave should be in 4000 qc, i.e.,
slave should be ahead of master by
2000 qc.
Also when the master is in 3000 qc
the slave should be in 5000 qc.
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
After Execution
Initial
0
(After DEF ORIGIN)
175MD515
0

Advertisement

loading