155
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
■
■
■
■
■
SYNCSTATCLR
The corresponding bits can be reset in SYNCSTAT
with SYNCSTATCLR value thus resetting the error
flags MERR and the HIT flags MHIT. None of the
other flags can be altered.
Summary
Resetting of the flags MERR and MHIT
Syntax
SYNCSTATCLR value
The SYNCSTATCLR command should only be used
in a subprogram for dealing with errors. (see ON
ERROR GOSUB).
Parameter
value =
8 = SYNCMMHIT
16 = SYNCSMHIT
32 = SYNCMMERR
64 = SYNCSMERR
NB!
ERRCLR contains the command MOTOR ON,
which automatically switches the controller
on again. (The motor is position-controlled at the
current position.)
Command group
SYN
Cross Index
ON STATB IT, ON ERROR GOSUB, ERRNO,
CONTI NUE, MOTOR ON
Syntax example
SYNCSTATCLR 32
/* clear current error message */
■
■
■
■
■
SYNCV
With SYNCV a velocity synchronization with the
master is completed. In doing so only the velocity
is taken into consideration and the controller does
not attempt to recover the position.
V
t
Master velocity
Slave velocity
synchronization command
For synchronization and during the synchronization
process neither the pre-set velocity, VEL, nor the pre-
set acceleration, ACC or DEC, are exceeded.
The parameters of the gear factors used for synchro-
nization are: SYNCFACTM (49), SYNCFACTS (50).
Furthermore, the speeds are not simply determi-
ned on the basis of the difference between the
current position minus the last position (master/
slave), rather the values are filtered according to
the settings in SYNCVFTIME (65). This means the
filter for the slave is determined by the maximum
speed.
In other words:
VELMAX * 5 corresponds to the encoder resolution
for the filter table, where VELMAX is the speed in qc/
ms. (The formula is a result of the assumption that
the filter table for the encoder resolution was made
with a maximum speed of 3000 Rpm.)
During the transition from the speed controller to
the position controller this is done as smoothly as
possible. In addition the new set position is defi-
ned in such a manner that the following is true:
command_pos = actu error
old_error, cvel, avel are maintained. Sumerr is also
accepted unchanged.
Software Reference