ST_MultiCam

 

ST_MultiCam - General Information

Overview

 Type:

Data structure

Available as of:

V1.0.2.0

Inherits from:

-

Description

In this structure the parameters and the return values from the operation mode MultiCam of the function block FB_CrankModule are summarized.

Structure Elements

Variable

Data type

Description

i_etCsModeSlave

PDL.ET_MultiCamCsModeSlave

Coldstart behavior of the slave.

See PDL.FB_MultiCam.

i_etCsModeMaster

PDL.ET_MultiCamCsModeMaster

Coldstart behavior of the master.

See PDL.FB_MultiCam.

i_etWsMode

PDL.ET_MultiCamWsMode

Warmstart behavior.

See PDL.FB_MultiCam.

i_lrWsWindow

LREAL

Warmstart window.

See PDL.FB_MultiCam.

i_lrWsVel

LREAL

Warmstart velocity.

See PDL.FB_MultiCam.

i_lrWsAcc

LREAL

Warmstart acceleration.

See PDL.FB_MultiCam.

i_lrWsJerk

LREAL

Warmstart pressure.

See PDL.FB_MultiCam.

i_xCheckEncoderPeriod

BOOL

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

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 signal.

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

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

See PDL.FB_MultiCam.

i_udiIlsSlaveNumber

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

Improved 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. Subsequently, the parameter is reset from FALSE.

iq_xXLowEnd

BOOL

The cam approaches its lower end.

See PDL.FB_MultiCam.

iq_xXHighEnd

BOOL

The cam approaches its upper end.

See PDL.FB_MultiCam.

q_xInWsWindow

BOOL

The axis is within the warmstart window.

See PDL.FB_MultiCam.

q_lrCalculateCamPosition

LREAL

Calculated cam position for a warmstart.

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.