Technical data

Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-181
Output parameters
Parameter Data type Start value Description
Done BOOL FALSE TRUE: Change of cam segment
completed
Busy BOOL FALSE TRUE: Command is busy
Error BOOL FALSE
TRUE: Command initiation
with error.
The command is not executed; the cause is
found in the ErrorID.
FALSE: Command initiation
without error
ErrorID WORD FALSE
ErrorID of the Error output parameter.
Input Data: Polynomial preset (mathematical function)
Note
To add cam segments, use only mathematical functions up to the 3rd order.
Because of the resolution of floating-point values, any coefficients of a higher
order may lead to inaccuracies.
Segments defined as polynomials are recalculated in the Technology CPU.
When read out afterwards in S7T Config it is thus possible that deviating
coefficients are indicated. It is also possible that the Y-coordinates of the start
and end points are swopped.
However, the cam form is retained.
Mathematical functions are derived from the following formula:
()()
210
6
6
5
5
4
4
3
3
2
210
sin BXBBXAXAXAXAXAXAAY ++++++++=
Relative
byte address
Data type Variable Function
0 INT Type Cam type (0 = polynomial)
2 INT Reserve -
4 REAL X1 X coordinate of the start point
8 REAL Y1 Y coordinate of the start point
12 REAL X2 X coordinate of the end point
16 REAL Y2 Y coordinate of the end point
20 REAL 0 Coefficient of the order 0
24 REAL 1 Coefficient of the order 1
28 REAL A2 Coefficient of the order 2
32 REAL A3 Coefficient of the order 3
36 REAL 4 Coefficient of the order 4
40 REAL A5 Coefficient of the order 5
44 REAL A6 Coefficient of the order 6
48 REAL B0 Coefficient 0 of the trigonometrical portion
52 REAL B1 Coefficient 1 of the trigonometrical portion
56 REAL B2 Coefficient 2 of the trigonometrical portion