
L-force | PLC Designer - SoftMotion
The SM_CNC.lib library
Structures of SM_CNC.lib
206 L DMS 5.2 EN 03/2011 TD17
dHelpPos: ARRAY[0...MAX_IPOSWITCHES] OF LREAL,
iHelpID: ARRAY[0...MAX_IPOSWITCHES] OF INT:
These variables contain the relative position (0: object start, 1: object end; similar to G
code: O) and the ID (see G code: H) of the auxiliary switches.
If the current object is an MCOMMAND, iHelpID[0] will contain the number of the M
option.
7.16.3 SMC_VECTOR3D
The SMC_VECTOR3D structure in SMC_CNC.lib will store a three-dimensional vector:
7.16.4 SMC_VECTOR6D
The SMC_VECTOR6D structure in SMC_CNC.lib will store a six-dimensional vector:
TYPE SMC_VECTOR3D:
STRUCT
dX:LREAL;
dY:LREAL;
dZ:LREAL;
END_STRUCT
END_TYPE
TYPE SMC_VECTOR6D:
STRUCT
dX:LREAL;
dY:LREAL;
dZ:LREAL;
dA:LREAL;
dB:LREAL;
dC:LREAL;
END_STRUCT
END_TYPE
Commentaires sur ces manuels