This keyword allows you to define a variable of type STRU_AAX (STRUCT_P). This structure contains the positions of the compensated axes.
It can be used in the planar_comp_ip() and planar_comp_cp() functions.
It consists of the following information:
|
|
|
axp [1-:-32]
|
REAL
|
Array for axis positions
|
Example of use:
STRU_aax in_cp, out_cp
STRU_aax in_ip, out_ip
in_ip.axp[1] = IP(1)
in_ip.axp[2] = IP(2)
in_ip.axp[3] = IP(3)
$LIN_STEP planar_comp_ip(&in_ip, &out_ip)
rr(120+1) = out_ip.axp[1]
rr(120+2) = out_ip.axp[2]
rr(120+3) = out_ip.axp[3]
in_cp.axp[1] = CP(1)
in_cp.axp[2] = CP(2)
in_cp.axp[3] = CP(3)
$LIN_STEP planar_comp_cp(&in_cp, &out_cp)
rr(160+1) = out_cp.axp[1]
rr(160+2) = out_cp.axp[2]
rr(160+3) = out_cp.axp[3]
|
|