Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 172

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

172

L-force | PLC Designer - SoftMotion

The SM_CNC.lib library

SMC_GCodeViewer

Outputs (VAR_OUT)
bError : BOOL
This value will be set to TRUE if an error occurs.
wErrorID: SMC_ ERROR (INT)
This Enum output possibly describes an error that has occurred. After an error the data

preparation is stopped until the POU is started again by a new bEnable.
asGCode: ARRAY[0...c_uiLines] OF STRING
Text lines containing the current segment of the G-code. The first element contains the line

which is currently traversed by the interpolator.

Advertising