MLPrfReadIScale
Description
Returns the Input Ratio value of a selected CAM Profile. 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.
Arguments
Input
ProfileID |
Description |
ID number of an initialized CAM Profile |
Data type |
DINT |
|
Range |
[-2147483648, 2147483648] |
|
Unit |
n/a |
|
Default |
— |
Output
Ratio |
Description |
Returns the Input Ratio of the selected CAM Profile |
Data type |
LREAL |
|
Unit |
n/a |
Related Functions
Previous Function Name
Example
Structured Text
//Save value of input ratio CamRatio := MLPrfReadIScale( Profiles.Profile_A );
|
Ladder Diagram
Function Block Diagram