10 smc_getmparameters, Smc_getmparameters – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 191

L-force | PLC Designer - SoftMotion
The SM_CNC.lib library
SMC_GetMParameters
191
L
DMS 5.2 EN 03/2011 TD17
7.10
SMC_GetMParameters
If the interpolator is currently on an M option, this program organisation unit can be used
to query the parameters that have been set for this M option (K, L, O).
Inputs (VAR_IN)
bEnable: BOOL
Program organisation unit is active if this input is set.
Inputs/outputs (VAR_IN_OUT) of the program organisation unit:
Interpolator: SMC_Interpolator
Interpolator instant
Outputs (VAR_OUT)
bMActive: BOOL (default: FALSE)
TRUE if an M option is currently pending.
dK, dL: LREAL (default: 0)
M parameters specified via words K and L
MParameters: SMC_M_PARAMETERS
M parameter that has been specified by means of the global data structure
gSMC_MParameters or by means of the variable transferred by O.