SMC_ParameterNumber_CoE (FUN)ΒΆ
FUNCTION SMC_ParameterNumber_CoE : DINT
This function translates from a CANopen object index/subindex pair to a SoftMotion parameter number that can be used with function blocks like MC_ReadParameter, MC_ReadBoolParameter, MC_WriteParameter, and MC_WriteBoolParameter.
- InOut:
Scope
Name
Type
Comment
Input
indexUINTThe object index, e.g. 16#6061
subIndexUSINTThe object subindex, e.g. 0
dataLengthUSINTThe data length in bytes (1, 2, or 4). Only used when writing a parameter.
Return
SMC_ParameterNumber_CoEDINT