2 smc_geoinfo, Smc_geoinfo – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 203

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

203

L-force | PLC Designer - SoftMotion

The SM_CNC.lib library

Structures of SM_CNC.lib

7.16.2

SMC_GEOINFO

The SMC_GEOINFO structures in SMC_CNC.lib each store a path object. A path object is a

segment of the programmed path which, due to its geometric form, can be stored in the

following structure in its entirety:

iObjNo: INT
Any object number can be stored in this integer value. It has no relevance for the actual

path description.

iSourceLineNo: INT
This integer value typically shows the source code line number of the CNC program. It has

no relevance for the actual path description.

TYPE SMC_GEOINFO:
STRUCT
iObjNo:INT;
iSourceLineNo:INT;
iMoveType:MOVTYP;
piStartPos:SMC_POSINFO;
piDestPos:SMC_POSINFO;
dP1:LREAL;
dP2:LREAL;
dP3:LREAL;
dP4:LREAL;
dP5:LREAL;
dP6:LREAL;
dP7:LREAL;
dP8:LREAL;
dT1:LREAL;
dT2:LREAL;
dToolRadius:LREAL;
dVel:LREAL;
dVelEnd:LREAL;
dAccel:LREAL;
dDecel:LREAL;
dLength:LREAL;
byInternMark:BYTE;
dHelpPos: ARRAY[0..MAX_IPOSWITCHES] OF LREAL;
iHelpID: ARRAY[0..MAX_IPOSWITCHES] OF INT;
END_STRUCT
END_TYPE

Advertising