
MCO 305 Design Guide
__ Software Reference __
162
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
Example:
Distance between two master markers par. 33-17 = 30000
Master Marker Tolerance Window
par. 33-21 SYNCMWINM = 1000
The flag is set at 31000 if no marker is identified.
These flags are deleted for every SYNCM command.
If the
Master Marker Tolerance Window
is 0 and thus no tolerance range is defined,
the program checks every marker pulse (or after every n-th pulse) whether the
distance between the two last markers registered is less than 1.8 times the value
defined by the par. 33-17
Master Marker Distance
. If not the corresponding flag is
set.
The same applies analogously for SYNCSMERR in the slave.
NB!:
These flags are automatically reset: during the next successful marker correction
and in the event of a new start of SYNCM or through the command SYNCSTATCLR.
Command Group
SYN
Cross Index
SYNCSTATCLR
Syntax Example
IF (SYNCSTAT & 4) THEN OUT 1 1
/* If ACCURACY then set output */
ENDIF
SYNCSTATCLR
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
Description
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.
Command Group
SYN
Cross Index
ON STATBIT, ON ERROR GOSUB, ERRNO, CONTINUE, MOTOR ON
Syntax Example
SYNCSTATCLR 32
/* clear current error message */
Содержание MCO 305
Страница 4: ......