ST_MultiCam

 

ST_MultiCam - General Information

Overview

Type:

Data structure

Available as of:

V1.0.2.0

Inherits from:

-

Versions:

Current version

Description

In this structure, the parameters and the return values of the operating mode MultiCam of the FB_AxisModule are summarized.

Structure Elements

Variable

Data type

Description

i_etCSModeSlave

PDL.ET_MultiCamCsModeSlave

Cold start behavior of the slave. See PDL.FB_MultiCam.

i_etCSModeMaster

PDL.ET_MultiCamCsModeMaster

Cold start behavior of the master. See PDL.FB_MultiCam.

i_etWSMode

PDL.ET_MultiCamWsMode

Warm start behavior. See PDL.FB_MultiCam.

i_lrWSWindow

LREAL

Warm start window. See PDL.FB_MultiCam.

i_lrWSVel

LREAL

Warm start velocity. See PDL.FB_MultiCam.

i_lrWSAcc

LREAL

Warm start acceleration. See PDL.FB_MultiCam.

i_lrWSJerk

LREAL

Warm start pressure. See PDL.FB_MultiCam.

i_xCheckEncoderPeriod

BOOL

TRUE: The period of the logical encoder is checked. If it is unequal to 0, an error message is triggered.

i_xSetEncoderParameters

BOOL

TRUE: When changing to the operating mode MultiCam, the motion factors of the logical encoder are adapted to the master. (FeedConstant, GearIn, GearOut, Direction)

i_xSetEncoderPosition

BOOL

TRUE: When changing to the operating mode MultiCam, the logical encoder position is set to different values depending on the master type driving it:

oAny axis type: RefPosition value of the axis + i_lrSetEncoderOffset

oPhysical Master Encoder or Incremental Encoder: Position value of the encoder + i_lrSetEncoderOffset

oIn the other cases (C2C Encoder Input, Encoder Network Encoder Input, Virtual Master Encoder, or SumMasterEncoder as master type): present LE position value + i_lrSetEncoderOffset

i_lrSetEncoderOffset

LREAL

Offset for linking the logical encoder to the master at i_xSetEncoderPosition = TRUE.

Also refer to i_xSetEncoderPosition.

i_xKeepEncoderConnection

BOOL

 TRUE: When leaving the operation mode MultiCam, the logical encoder keeps the connection to the master.

i_diTXend

DINT

Cam end signaling. See PDL.FB_MultiCam.

i_lrInstantXLimMax

LREAL

Canceling position of the cam. See PDL.FB_MultiCam.

i_xEnableTabHandler

BOOL

Enabling the tab handler of the axis module for switching over cams.

i_udiTableSelectNr

UDINT

Selecting the cam table with ET_ParId.

iq_astMotionPar

ARRAY[0..Gc_udiMaxNumberOfCamTables] OF PDL.ST_MultiCam

Is a list of data structures that contains the information on the cam course. The cam table can be selected with the help of the i_udiTableSelectNr parameter.

 See PDL.FB_MultiCam.

i_udiILSlaveNumber

UDINT

If the axis is a slave in an ILS network, this is where the number of the slave must be specified. See PDL.FB_PreCalcMultiCam.

pstIlsData

POINTER TO PDL.ST_IlsData

If the axis is a slave in an ILS network, this is where the PDL.ST_IlsData from the ST_EndlessFeed structure of the axis module must be specified.

iq_stExt

PDL.ST_MultiCamExt

Enhanced cam parameters. See PDL.FB_MultiCam.

iq_xNewCam

BOOL

Transfer of a new cam. See PDL.FB_MultiCam.

iq_xInstantNewCam

BOOL

Immediate transfer of a new cam. See PDL.FB_MultiCam.

iq_xChangeMaster

BOOL

The logical encoder is linked to the currently specified master. Then, the parameter is reset from FALSE.

q_xXLowEnd

BOOL

The cam approaches its lower end. See PDL.FB_MultiCam.

q_xXHighEnd

BOOL

The cam approaches its upper end. See PDL.FB_MultiCam.

q_xInWSWindow

BOOL

The axis is within the warm start window. See PDL.FB_MultiCam.

q_lrCalculatedCamPosition

LREAL

Calculated cam position for warm start. See PDL.FB_MultiCam.

q_stActualCamData

PDL.ST_ActualCamData

Return data of the cam. See PDL.FB_MultiCam.

q_diActTable

DINT

Number of the selected cam of the tab handler.