Method - parameter (Init)

Parameter

Group

Return Type

Input Type

Explanation

GetAdsPort

General

WORD

Returns the ADS port.

GetTaskOid

General

OTCID

Returns the object ID of the task.

GetMotorTerminalOid

General

OTCID

Returns the object ID of the associated motor terminal.

GetSensorTerminal

General

OTCID

Returns the object ID of the associated sensor terminal.

GetPositionIndex

General

UDINT

Returns the index of the module in the XTS system. The first module has the index 0.

GetOffset

General

LREAL

Returns the offset of the module to compensate for mechanical tolerances.

GetScalingFactor

General

LREAL

Returns the scaling factor to compensate for mechanical tolerances.

SetAdsPort

General

BOOL

WORD

Sets the ADS port.

SetTaskOid

General

BOOL

OTCID

Sets the task for a part by entering the task object ID.

SetMotorTerminalOid

General

BOOL

OTCID

Sets the object ID of the motor terminal.

SetSensorTerminal­Oid

General

BOOL

OTCID

Sets the object ID of the sensor terminal.

SetPositionIndex

General

BOOL

UDINT

Sets the index of the module in the XTS system.

SetOffset

General

BOOL

LREAL

Sets the offset of the module.

SetScalingFactor

General

BOOL

LREAL

Sets the scaling factor of the module.