Installation manual
Chapter 8 PA Library
8-106
pa_get_sns
Function:
Acquires trajectory offset when in playback.
Syntax:
long pa_get_sns(ARM armno, TRANSMATP sns);
armno Arm number (No.)
sns Pointer to currently provided trajectory offset structure TRANSMAT
Explanation:
Trajectory offset is stored in TRANSMAT type: sns.
sns._xyz[] : Mechanical interface coordinate, absolute deviation offset value (x,y,z)
(for Visual BASIC: sns.xyz11)
sns.Ixyz[] : Mechanical interface coordinate, relative deviation offset value (x,y,z)
(for Visual BASIC: sns.xyz12)
sns._XYZ[] : Base coordinate, absolute deviation offset value (X,Y,Z)
(for Visual BASIC: sns.xyz21)
sns.IXYZ[] : Base coordinate, relative deviation offset value (X,Y,Z)
(for Visual BASIC: sns.xyz22)
sns._wave[]: Trajectory coordinate, absolute deviation offset value (xw,yw,zw)
(for Visual BASIC: sns.wave1)
sns.Iwave[]: Trajectory coordinate, relative deviation offset value (xw,yw,zw)
(for Visual BASIC: sns.wave2)
For absolute deviation, offset value currently set by “pa_odr_xyz” is set.
For relative deviation, integration value of offset value set by “pa_odr_xyz” is set.
Return value:
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference:
pa_odr_xyz Tip position offset setting
Remark