MLPrfWriteOOffset
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.
Figure 8-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
Example
Structured Text
//Change value of output offset MLPrfWriteOOffset( Profiles.Profile_A , 45 );
|
Ladder Diagram
Function Block Diagram