Danfoss VLT5000 SyncPos Operating Instructions Manual page 160

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

Advertisement

■ ■ ■ ■ ■ TESTSETP
As standard you can use the menu "TESTRUN" to
trigger a test run which records desired and
current position, speed, acceleration and current
and whose result can be seen in the test run
graphic:
In addition, with the two commands TESTSETP and
TESTSTART you can record other or additional
parameters, for example you can record the master
position. And, in contrast to a test run, you can
record this data while executing the program.
With TESTSETP you determine the parameters of the
recording (which parameters are to be recorded,
how often and in which array) and with TESTSTART
you then start recording.
Summary
Specify recording data for test run
Syntax
TESTSETP ms vi1 vi2 vi3 arrayname
Parameter
ms
= interval in milliseconds
between two measurements
vi 1...3
= indices of the three values to
be recorded. The agreements
for the system array apply. Three
values are always recorded.
array name
= Name of the array used for the
recording
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
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, SYSVAR,
"DISPLAY R ECORDING"
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
159

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents