Danfoss VLT 5000 Series Manual page 103

Synchronizing and positioning option onizing and positioning option
Hide thumbs Also See for VLT 5000 Series:
Table of Contents

Advertisement

I I I I I POSR
The axis can be moved to a position relative to the
actual position by use of the POSR command.
Summary
Positioning in relation to actual position
Syntax
POSR d
Parameter
d = distance to actual position in user units (UU);
this corresponds in the standard setting for
the number of Quadcounts.
NB!
If acceleration and/or velocity has not been
defined at the time of the POSR command,
then the procedure will take place with the values
of parameter DFLTVEL (33) and DFLTACC (34).
Command group
R E L
Cross Index
VEL, ACC, POSA
Parameter: POSFACT_N (26), POSFACT_Z (23)
Syntax-Example
POSR 50000
/* move axis relative 50000 UU */
Program sample
POS_01.M
MG.10.J4.02 – VLT is a registered Danfoss trade mark
®
VLT
5000 SyncPos option
I I I I I PRINT
Calculation results, variables contents and text
information can be displayed on the connected PC
via the RS485 communication interface by use of
the PRINT command, if the SyncPos software is
open and the connection active.
To obtain multiple data with a single PRINT com-
mand, the individual elements must be separated
with a comma (,). Text information must be given in
quotation marks (").
A line feed is normally created following each
PRINT instruction. This automatic line feed can be
suppressed with a semi-colon (;) after the last out-
put element.
Summary
Information output
Syntax
PRINT i or PRINT i;
Parameter
i = information, for example, variables, text, CHR
(n) separated by commas. The CHR command
returns the ASCII characters corresponding to a
certain number.
NB!
If there is no PC connected all prints are
acted as a dummy output. But if a PC sends
a XOFF because it is busy or the serial
communication is not connected the messages are
buffered. When the buffer is full, the next print
command will wait until the buffer can be written
again. That means, that the program stands still.
Command group
I/O
Cross Index
INKEY
Syntax-Example
PRINT "Information is important !"
/* print text information */
PRINT "Information is important !";
/* print information without line feed */
variable = 10
PRINT variable /* print contents of variables */
PRINT APOS
/* print returned value function */
PRINT "Variable", variable,"Pos.:",APOS
/* print mixed information */
Program sample
Uses – see all program samples
103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents