FC_SetInstantNewCam

 

FC_SetInstantNewCam - General Information

Overview

Type:

Function

Available as of:

V1.1.0.0

Support for:

PacDrive3 pilot template architecture

Versions:

Current version

Task

Function for changing cam points.

Description

Using this function, the xInstantNewCam bit can be set within the AxisModuleInterface structure. The structure assigned to a specific axis is transferred to the function via the input/output iq_stAxisModuleItf. The xInstantNewCam signal will cause the axis to reload the cam points specified by the currently selected MultiCam table and run the changes in the current cycle as shown below.

G-SE-0064627.1.gif-high.gif

 

 

The new cam data takes effect at the InstantXLimMax blend point. The blend point can be specified with the FC_SetInstantNewCamPosition function.

The xInstantNewCam signal provides feedback. The axis will reset the signal to false at the blend point if the new cam points are accepted. The FC_GetInstantNewCamStatus function can be used to retrieve the status of the xInstantNewCam signal. The xInstantNewCam signal has to be set TRUE before the axis arrives at the blend point for the new cam points to be used in the current cycle.

The default MultiCam table is specified with the FC_InitCamParameter function.

This function can’t be continually scanned because it will continually set the signal.

Interface

Input/Output

Data type

Description

iq_stAxisModuleItf

ST_ModuleInterface

Specifies the axis interface structure of the associated axis