Download Print this page

Danfoss MCO 305 Design Manual page 162

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
Command Group
Cross Index
Syntax Example
SYNCSTATCLR
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Syntax Example
162
__ Software Reference __
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.
SYN
SYNCSTATCLR
IF (SYNCSTAT & 4) THEN OUT 1 1
ENDIF
Resetting of the flags MERR and MHIT
SYNCSTATCLR value
The SYNCSTATCLR command should only be used in a subprogram for dealing with
errors. (see ON ERROR GOSUB).
value =
8
= SYNCMMHIT
16 = SYNCSMHIT
32 = SYNCMMERR
64 = SYNCSMERR
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.
SYN
ON STATBIT, ON ERROR GOSUB, ERRNO, CONTINUE, MOTOR ON
SYNCSTATCLR 32
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
/* If ACCURACY then set output */
/* clear current error message */

Advertisement

loading