MLPrfReadIScale

Pipe Network motion icon

 Function - Returns the Input Ratio 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

Ratio

LREAL

 

 

Returns the Input Ratio value of a selected CAM Profile.

Remarks

  • Previous function name: MLPrfGetIRatio
  • Ratios can be changed on the fly to modify the CAM Profile while maintaining its basic shape.
  • A change in input ratio is equivalent to stretching the CAM Profile on the X (or Input) Axis.
  • A negative value is not allowed.

Figure 1: MLPrfReadIScale

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Save value of input ratio
CamRatio := MLPrfReadIScale( Profiles.Profile_A );

See Also