FunctionMLPrfReadOOffsetPipe Network motion icon

Description

Returns the Output Offset value of a selected CAM Profile. Offsets can be changed on the fly to modify the CAM Profile while maintaining its shape. A change in output offset is equivalent to shifting the CAM Profile on the Y (or Output) Axis.

MLPrfReadOOffset

Figure 7-84: MLPrfReadOOffset

Arguments

Input

ProfileID

Description

ID number of an initialized CAM Profile

Data type

DINT

Range

[-2147483648, 2147483648]

Unit

N/A

Default

Output

Offset

Description

Returns the Output Offset of the selected CAM Profile

Data type

LREAL

Unit

N/A

Related Functions

MLPrfWriteOOffset

MLProfileCreate

MLProfileInit

Example

Structured Text

 

//Save value of output offset

CamOffset := MLPrfReadOOffset( Profiles.Profile_A );

 

Ladder Diagram

MLPrfReadOOffset: LD example

Function Block Diagram

MLPrfReadOOffset: FBD example

Go back to the top of the page [Top]