FC_SetposDual - General Information
Type: |
Function |
Available as of: |
SystemInterface_1.32.6.0 |
Versions: |
Current version |
Manipulate the position of two objects.
See description of the function FC_SetposSingle().
NOTE: The modification of the two positions at FC_SetposDual() is effected in both objects during the same scan.
See also encoder setting in the CAM system function blocks.
Input |
Data type |
Description |
---|---|---|
i_stDevId1 |
ST_LogicalAddress |
ID device 1 |
i_etMode1 |
ET_SetposMode |
ET_SetposMode device 1 |
i_lrPosition1 |
LREAL |
Encoder position that has to be set for the device 1 |
i_stDevId2 |
ST_LogicalAddress |
ID device 2 |
i_etMode2 |
ET_SetposMode |
ET_SetposMode device 1 |
i_lrPosition2 |
LREAL |
Encoder position that has to be set for the device 2 |
Data type |
Description |
---|---|
DINT |
0: OK -1: Logical address of the device invalid -2: Indeterminable mode |
FC_SetposDual(
Leitsystem, ABSOLUT, 0.0,
Vorschub, RELATIV, -2000.0);
CamMasterStart( ... );