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 operation mode MultiCam of the FB_CrankModule 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 is detected.

i_xSetEncoderParameters

BOOL

TRUE: When changing to the operation 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 all 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.

See also description of i_xSetEncoderPosition above.

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

Switching on the TabHandler of the CrankModule to convert 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, then the number of the slave has to be specified here. See PDL.FB_PreCalcMultiCam.

pstIlsData

POINTER TO PDL.ST_IlsData

Pointer on the parameters of the IIs functionality. If the crank module is operated as slave in an ILS network, then the number of the slave has to be specified here.

iq_stExt

PDL.ST_MultiCamExt

Enhanced cam parameters. See PDL.FB_MultiCam.

iq_xNewCam

BOOL

Take over of a new cam. See PDL.FB_MultiCam.

iq_xInstantNewCam

BOOL

Immediate take over of a new cam. See PDL.FB_MultiCam.

iq_xChangeMaster

BOOL

The logical encoder is linked to the currently specified master. Subsequently, 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 TabHandler