151
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
Software Reference
Cross Index
Curve Data, Slave Stop Position
Syntax Example
SETCURVE curve
SYNCC 0
// Synchronize in CAM-Mode
SYNCCSTART 1
// Start slave with start point pair 1
SYNCCSTOP 2 0
// Stop slave with stop point pair 2 at the
// slave position 0 or 3600
Sample
■
■
■
■
■
SYNCERR
SYNCERR returns the actual synchronization error
in User Units UU. This is the distance between the
actual master position (converted with drive factor
and offset) and the actual position of the slave.
If the parameter SYNCACCURACY (55) is defined
by a minus sign, you can also determine whether
the synchronization is running ahead (negative
result) or running behind (positive result).
Summary
Queries actual synchronization error of the slave.
Syntax
res = SYNCERR
Return value
res = actual synchronization error of the slave in UU
and
a) as an absolute value when the value of
the accuracy window is defined with a
plus sign in the parameter
SYNCACCURACY;
b) with polarity sign when in
SYNCACCURACY the value of the
window is defined with a minus sign.
NB!
Up to option card version < 5.00: SYNCERR
only functions in synchronization mode. As
soon as you exit SNYCM or SYNCP, the pulses are
no longer counted. SYNCERR is only updated within
a SYNC command.
With option card software 5.00 onwards the
SYNCERR is also updated when SYNCP or SYNCM
are not longer active, e.g. after a MOTOR STOP.
Command group
I/O
Cross Index
TRACKERR, MAPOS, APOS,
SYNCPOSOFFS (54), SYNCMFACTM (49),
SYNCMFACTS (50), SYNCACCURACY (55)
Syntax-Example
PRINT SYNCERR
/* query actual synchronization error of the slave */