Tzptverification - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
EDH0373En1023 — 01/18
7.2.1.349

TZPTVerification

Name
TZPTVerification – Checks a PT trajectory data file.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks trajectory file name length (must ≤250): (-3)
-
Checks group type (must be a TZ group): (-8)
-
Checks group name: (-19)
-
Not available in this configuration (PrecisionPlatform firmware only): (-24)
-
Checks BaseVelocity value (must = 0): (-48)
-
Checks trajectory file existence and the file format: (-61)
-
Checks trajectory (number of elements must >0): (-66)
-
Checks velocity (Minimum Velocity ≤Velocity ≤Maximum Velocity): (-68)
-
Checks acceleration (Minimum acc. ≤acceleration ≤Maximum acc.): (-69)
-
Checks end output velocity (must = 0): (-70)
-
Checks delta time (DeltaTime must >0): (-75)
Description
This function verifies the execution of a PT trajectory. The results of the verification
can be got with the "TZPTVerificationResultGet" function. The trajectory file must be
stored in the folder "\ADMIN\Public\Trajectory" of the XPS controller. If the trajectory
cannot be initialized (task error) then the (-72) error is returned.
This function can be executed at any time and is independent of the trajectory
execution. It performs the following:
• Checks the trajectory file for data coherence.
• Calculates the trajectory limits, which are: the required travel per positioner, the
maximum possible trajectory velocity and the maximum possible trajectory
acceleration. This function helps define the parameters for the trajectory execution.
• The required travel values (MinimumPosition and MaximumPosition) are calculated
relative to the position zero, not to the current position. So before executing a PT
trajectory, the user must pay attention to the current position of the positioners to
make sure that the trajectory will not exceed the positioner travel limits.
• If all is OK, it returns "SUCCESS" (0). Otherwise, it returns a corresponding error.
Because of the PT trajectory algorythm for elements end velocity calculation, a
correct PT trajectory file must have at least two lines with zero displacements at
the trajectory end. Otherwise, the "TZPTVerification" function returns the (-70)
error.
The "TZPTVerification" function is independent from the "TZPTExecution"
function, but it is highly recommended to execute this function before executing a
PT trajectory.
NOTE
506
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents