
MCO 305 Design Guide
__ Software Reference __
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
103
CURVEPOS
Summary
Retrieve slave curve position that corresponds to the current master position of
the curve.
Syntax
res
=
CURVEPOS
Return Value
res = Slave position in CAM units (UU) absolute to the current zero point.
Description
CURVEPOS returns the slave value which corresponds to the actual curve master
position.
The position can be retrieved independently of the operating status (position
control at standstill, positioning procedure, velocity control or synchronization).
CMASTERCPOS (SYSVAR) and CURVEPOS are now updated even if SYNCC is no
longer active. The update of these values starts after a SETCURVE command (if
par. 33-23
Start Behavior for Sync
is < 2000) or after SYNCC and the first master
marker (if par. 33-23 = 2000).
After the SYNCC command is stopped, we continue to update these values if
Start
Behavior for Sync.
< 2000.
NB!:
The position is only defined if a SETCURVE has been set before.
NB!:
If a temporary zero point exists which has been set with SET ORIGIN and is
active, the position value will refer to this zero point.
NB!:
DEFMCPOS and DEFMORIGIN can still modify this position.
Command Group
CAM
Cross Index
APOS, DEF ORIGIN, SET ORIGIN, POSA, POSR, DEFMCPOS,
Parameters: 33-10
Syncfactor Master
, 33-11
Syncfactor Slave
Syntax Example
PRINT CURVEPOS // print actual slave position of the curve
Fix points of a curve:
Master Slave
Sample
0
500
700
1000
0
500
300
1200
Say the current master position is 800. Then the CURVEPOS returns the corres-
ponding slave position of 450.
Case 1: Current Master Position is 800 and current slave position is 200.
CURVEPOS will return the value 450.
Case 2: Current Master Position is 800 and current slave position is 700.
CURVEPOS will return the value 450.
Hence CURVEPOS is independent of the slave position.
Summary of Contents for MCO 305
Page 4: ......