FunctionMLPrfWriteOOffsetPipe Network motion icon

Description

Changes the Output Offset value of a selected CAM Profile. Offsets are 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.

MLPrfWriteOOffset

Figure 7-88: MLPrfWriteOOffset

Arguments

Input

ProfileID

Description

ID number of an initialized CAM Profile

Data type

DINT

Range

[-2147483648, 2147483648]

Unit

n/a

Default

Offset

Description

Desired new value of Output Offset

Data type

LREAL

Range

Unit

n/a

Default

Output

Default (.Q)

Description

Returns TRUE if the Output Offset value is changed

See more details here

Data type

BOOL

Unit

n/a

Return Type

BOOL

Related Functions

MLPrfReadOOffset

MLProfileCreate

MLProfileInit

Example

Structured Text

 

//Change value of output offset

MLPrfWriteOOffset( Profiles.Profile_A , 45 );

 

Ladder Diagram

MLPrfWriteOOffset: LD example

Function Block Diagram

MLPrfWriteOOffset: FBD example

Go back to the top of the page [Top]