Danfoss VLT5000 SyncPos Operating Instructions Manual page 142

Motion controller for danfoss vlt5000 series; danfoss vlt 5000flux series
Table of Contents

Advertisement

■ ■ ■ ■ ■ PULSVEL
With PULSVEL it is possible to set the velocity for
the virtual master (encoder output).
The virtual master signal simulates an encoder sig-
nal. To calculate the pulse velocity the parameters
Encoder resolution
Encoder resolution
Encoder resolution
Encoder resolution and master velocity must be
Encoder resolution
taken into consideration.
Example:
The virtual master signal should correspond to an
encoder signal of 2048 counts /revolution within a
encoder speed of 50 revolutions/sec.
PULSVEL = encoder counts per turn ·
= 2048 · 50 Hz = 102400 Hz
Summary
Set the velocity for the virtual master
Syntax
PULSVEL v
Parameter
v = velocity in pulses per second (Hz)
Command group
SYN
Cross Index
PULSACC
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
■ ■ ■ ■ ■ REPEAT .. UNTIL ..
The REPEAT..UNTIL construction enables any num-
ber of repetitions of the enclosed program section,
dependent on abort criteria. The abort criteria con-
sist of one or more comparative procedures and are
always checked at the end of a loop. As long as the
abort criteria are not fulfilled, the loop will be proces-
sed repeatedly.
Summary
Conditional loop with end criteria
(Repeat ... until condition fulfilled)
turns
S
Syntax
REPEAT
UNTIL condition
Parameter
condition = Abort criteria
loop will be carried out at least once. To avoid the
possibility of an endless loop, the processed com-
mands within the loop must have a direct or indirect
influence on the result of the abort monitoring.
Command group
CON
Cross Index
LOOP, WHILE .. .. .. .. .. DO .. .. .. .. .. ENDWHILE
Syntax-Example
R E PEAT
command line 1
command line n
UNTIL (A != 1)
Program sample
R E PEA_01.M
DIM_01.M, ONINT_01.M, OUT_01.M, I NKEY_01.M
NB!
Because the abort criteria are checked at the
end of the loop, the commands within the
/* start loop */
/* Abort condition */
141

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents