■ ■ ■ ■ ■ DELAY
The DELAY command leads to a defined program
delay. This parameter gives the delay time in milli-
seconds.
If an interrupt occurs during the delay time, then
following the processing of the interrupt procedure,
the programmed delay will take place after the cor-
rect inclusion of the interrupt time. Thus, the DELAY
command gives a constant delay time, independent
of whether various interrupts have to be processed
during the programmed delay time.
If the interrupt requires more processing time than is
available for the delay, then the interruption pro-
cedure will be carried out to the end, before the
command following the DELAY instruction is com-
menced.
Summary
Time delay
Syntax
DELAY t
Parameter
t = time delay in milliseconds (maximum MLONG)
Command group
CON
Cross Index
WAITT, WAITI, WAITAX
Syntax-Example
DELAY 1000
/* 1 second delay */
Program sample
DE LAY_01.M
108
Programmable SyncPos motion controller
■ ■ ■ ■ ■ DELETE ARRAYS
With DELETE ARRAYS you can delete all arrays in
the RAM without – as was the case up to now –
also deleting the parameters etc. This new com-
mand has the same effect as the menu command
"CONTROL" → "RESET" → "ARRAYS".
Summary
Delete all arrays in the RAM
Syntax
DELETE AR RAYS
NB!
If you then execute a SAVE ARRAYS, the
arrays in the EEPROM are also overwritten!
NB!
If DELETE ARRAYS is carried out after a DIM
assignment in the program, it is then no
longer possible to access the array elements.
NB!
If a program contains a DELETE ARRAYS
command, there are no more arrays in the
RAM after the program is exited.
Command group
I N I
MG. 1 0.J8.02 – VLT is a registered Danfoss trade mark
Need help?
Do you have a question about the VLT5000 SyncPos and is the answer not in the manual?
Questions and answers