Danfoss VLT 5000 Series Manual page 117

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

Advertisement

Array format
The values are stored as follows within the array (all
values 4 Byte):
Designation
Content Meaning
version
000
Version of the data
structure
ms
1
Interval between two mea-
surements in ms
vi1
i
Value, recorded at point 1
(Index)
vi2
i
Value, recorded at point 2
(Index)
vi3
i
Value, recorded at point 3
(Index)
number
nn
Specifies how many mea-
surements follow
data
...
Measurement data
...
...
(total nn*3)
number
0-mm
Number of measurements
(if others are present)
data
...
(see above)
NB!
Please make sure that the size of the array
is sufficient for the recording. You need 6
elements for the header, 1 element for the number,
and 3 elements for each measurement. Thus for
100 measurements you need 307 elements.
Command group
I/O
Cross index
TESTSTART, DIM, "DISPLAY RECORDING"
Syntax-Example
DIM tstfahrtarray[307] //Array with 307 elements
TESTSETP 3 4096 4105 4101 tstrunarray
// Record current slave position, current master
// position and current tolerated position error
... Start positioning run ...
TESTSTART 100 //Start recording
MG.10.J4.02 – VLT is a registered Danfoss trade mark
®
VLT
5000 SyncPos option
I I I I I TESTSTART
This command is used to start the recording of a
test run with the contents as defined in TESTSETP.
The recorded data can then – as required – be
graphically represented using "TESTRUN" →
"DISPLAY RECORDING". There are four graphics:
Position, Speed, Acceleration and Current
available for this.
Summary
Start the recording of a test run
Syntax
TESTSTART no
Parameter
no = number of measurements to be carried out
NB!
If an array does not have sufficient space for
no. measurements, the error O_ERR 71
„Field limits exceeded" is triggered.
Command group
I/O
Cross references
TESTSETP, "DISPLAY RECORDING"
Syntax example
SYNCP
// Synchronization of the position
WAITI 1 ON
// When the key is pressed
TESTSTART 200
// Start recording (200 measurements)
Syntax example
NOWAIT ON
// Do not wait until the position is reached
VEL 50
POSA 100000
// Start positioning with velocity 50%
WHILE (APOS<50000) DO
// Wait untill position 50000 is reached
ENDWHILE
VEL 100
// Increase velocity to 100%
TESTSTART 200
// Start recording (200 measurements)
DELAY 20 // Wait 20 ms
POSA 100000
// Start positioning with new velocity
NOWAIT OFF
// Wait untill positioning is finished
117

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents