Download Print this page

Danfoss MCO 305 Design Manual page 128

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
NOWAIT
Summary
Syntax
Parameter
Description
NOWAIT ON
NOWAIT OFF
Command Group
Cross Index
Syntax Example
Program Samples
128
__ Software Reference __
Wait / Do not wait after a POSA/POSR command
NOWAIT s
s = condition:
ON = continue program execution while going to target position
OFF = hold program execution until target position is reached
The NOWAIT command defines the program flow for positioning commands.
There are two conditions NOWAIT ON and NOWAIT OFF:
This will allow the system to simultaneously position and to process the following
instructions as well.
When starting a positioning command with NOWAIT ON, further command procedu-
res are continued and the positioning work takes place in the background (so to
say). In the NOWAIT ON condition it is thus possible to query the momentary posi-
tion, or to alter the velocity or the target position during the positioning procedure.
Allows the execution of the program line by line, i.e., the positioning takes place
and the processor waits till it is over and then does the following instructions.
Note: The dotted arrows mean the movement positions.
NB!:
The default condition is NOWAIT OFF, i.e. if no NOWAIT instruction is contained
within a program, then the positioning procedure is carried out in its entirety
before the processing of the next command is begun.
If, when in NOWAIT condition during an active positioning procedure, a further
positioning command follows, then the new target position will be tracked without
interruption.
The HOME as well as the INDEX commands will be processed to the end in the
NOWAIT ON condition, before the next command can be begun.
CON
WAITAX, AXEND, POSA, POSR, HOME, INDEX, NOWAIT
NOWAIT ON
/* no waiting after POS-commands */
NOWAIT OFF
/* wait after POS-commands till target reached */
NOWAI_01.M,MSTOP_01.M, OUT_01.M, VEL_01.M
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark

Advertisement

loading