![]() |
UNEXPECTED APPLICATION BEHAVIOR
You must reset the ALLOW_ACQUIRE bit of the group of slave axes before launching the TrjCompute function.
You can then revalidate the group by positioning the ALLOW_ACQUIRE and CONTROL_ACQUIRE bits to 1.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
|
Parameter
|
Description
|
---|---|
%CHr.m.c
|
Channel associated with module channel group consisting of the slave axes and master axis of the trajectory to be calculated.
|
Table_length
|
Number of words in the trajectory table. The calculation formula is as follows:
Table_length = 6 + number of axes + number of words per point * number of points:
|
Trajectory_table
|
First word in the table containing the parameters of the trajectory, this table contains a header and as many blocks as there are trajectory segments required to complete this movement. This table is described in detail below.
|
Object
|
Type
|
Symbol
|
Description
|
---|---|---|---|
%MDr.m.c.4
|
Integer
|
RETURN_TRF_1
|
Number of points in the trajectory
|
%MFr.m.c.6
|
Floating point
|
RETURN_TRF_2
|
Length of the trajectory
|
Memory address
|
Description
|
---|---|
%MWi
|
Number of points to be interpolated
|
%MWi+1
|
Number of slave axes used for the trajectory
|
%MWi+2
|
Memory shift for each interpolation point:
|
%MWi+3
|
Interpolation table version (enter the value 0 for now)
|
%MWi+4
|
Reserved
|
%MWi+5
|
Reserved
|
%MWi+6
|
Identifier (ID) of X axis
|
%MWi+7
|
Identifier (ID) of Y axis
|
%MWi+8
|
Identifier (ID) of Z axis
Note: If the movement only uses two axes, this word does not exist and the table header only comprises 8 words.
|
Memory address
|
Parameter
|
Description
|
---|---|---|
%MFj (1)
|
XCoord
|
Coordinate based on the X axis of the characteristic point of the segment.
|
%MFj+2
|
YCoord
|
Coordinate based on the Y axis of the characteristic point of the segment.
|
%MFj+4
|
ZCoord
|
Coordinate based on the Z axis of the characteristic point of the segment.
Note: If the movement only uses two axes, this parameter does not exist and the block associated with this segment only contains 17 words instead of 19.
|
%MFj+6
|
ParF0
|
Vset: Setpoint speed of this segment.
|
%MFj+8
|
ParF1
|
Parameter ParF1, determined by the type of interpolation.
|
%MFj+10
|
ParF2
|
Parameter ParF2, determined by the type of interpolation.
|
%MFj+12
|
ParF3
|
Parameter ParF3, determined by the type of interpolation.
|
%MWj+14
|
ParW0
|
Segment interpolation type:
|
%MWj+15
|
ParW1
|
Parameter ParW1, determined by the type of interpolation.
|
%MWj+16
|
ParW2
|
Parameter ParW2, determined by the type of interpolation.
|
%MWj+17
|
ParW3
|
Parameter ParW3, determined by the type of interpolation.
|
%MWj+18
|
ParW4
|
Parameter ParW4, determined by the type of interpolation.
|
Legend
|
||
(1) j = 6 + number of axes, j = 9 if the trajectory is configured on 3 axes, j = 8 if it is configured on 2 axes.
|
Code
|
Description
|
---|---|
9502
|
The maximum number of points for a cam has been exceeded.
|
9503
|
The maximum number of axes has been exceeded.
|
9505
|
The point number configured for one of the cams is not sufficient to execute the function.
|
9507
|
Cam not configured.
|
9510
|
The maximum number of points for a table has been exceeded.
|