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

index

UINT

The object index, e.g. 16#6061

subIndex

USINT

The object subindex, e.g. 0

dataLength

USINT

The data length in bytes (1, 2, or 4). Only used when writing a parameter.

Return

SMC_ParameterNumber_CoE

DINT