FC_SetSMEncIn

 

FC_SetSMEncIn - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Add velocity of different master encoders.

For this, you have to connect the master encoder (velocity source) with the sum master encoder input.

Description

The Sum Master Encoder Input with the logical address i_stSMEncInId is connected to the master encoder (velocity source) with the logical address i_stMasterId. With this connection, the velocity signal (velocity) of the master encoder is passed on.

Master encoder

Parameter "Direction" of the master encoder

Lexium LXM52 Drive (LXM52)

This does NOT affect the velocity signal which is passed on from the master encoder.

Lexium LXM62 Drive (LXM62DxS)

This does NOT affect the velocity signal which is passed on from the master encoder.

Lexium ILM62 Drive Module (ILM62)

This does NOT affect the velocity signal which is passed on from the master encoder.

Physical SinCos encoder (P_ENC)

This affects the velocity signal which is passed on from the master encoder.

Incremental encoder input (INC_IN)

This affects the velocity signal which is passed on from the master encoder.

Virtual encoder (V_ENC)

Parameter does not exist.

The sum master encoder (SMENC) can be cascaded.

Parameter does not exist.

Interface

Input

Data type

Description

i_stSMEncInId

ST_LogicalAddress

Logical address of an input (associated with the respective sum master encoder) of the type sum master encoder input (SMENCIN).

i_stMasterId

ST_LogicalAddress

logical address of the master encoder whose velocity signal is passed on

Return Value

Data type

Description

DINT

0: OK

-1: The address of a sum master encoder input that was transferred in i_stSMEncInId is invalid.

-2: The address of a velocity source that was transferred in i_stMasterId is invalid.