MLPrfWriteIOffset
Description
Set the Input 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 input offset is equivalent to shifting the CAM Profile on the X (or Input) Axis.
Figure 7-86: MLPrfWriteIOffset
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 Input Offset |
Data type |
LREAL |
|
Range |
— |
|
Unit |
n/a |
|
Default |
— |
Output
Default (.Q) |
Description |
Returns TRUE if the Input Offset is changed to the new value See more details here |
Data type |
BOOL |
|
Unit |
n/a |
Return Type
BOOL
Related Functions
Example
Structured Text
//Change the value of input offset MLPrfWriteIOffset( Profiles.Profile_A , 45 );
|
Ladder Diagram
Function Block Diagram