MLPrfReadOOffset

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Returns the Output Offset value of a selected CAM Profile.

Inputs

Input

Data Type

Range

Unit

Default

Description

ProfileID

DINT

-2147483648 to 2147483647

N/A

No default

ID number of an initialized CAM Profile.

Outputs

Output

Data Type

Range

Unit

Description

Offset

LREAL

 

 

Returns the Output Offset of the selected CAM Profile.

Remarks

  • 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 6-173: MLPrfReadOOffset

FBD Language Example

MLPrfReadOOffset: FBD example

FFLD Language Example

MLPrfReadOOffset: LD example

IL Language Example

Not available.

ST Language Example

//Save value of output offset
CamOffset := MLPrfReadOOffset( Profiles.Profile_A );

See Also