MLPrfWriteOOffset
Function - Sets 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. |
Offset |
LREAL |
No range |
N/A |
No default |
Desired new value of Output Offset. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
Returns TRUE if the Output Offset is changed to the new value. See Function - General Rules. |
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.
Figure 1: MLPrfWriteOOffset
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Change value of output offset
MLPrfWriteOOffset( Profiles.Profile_A , 45 );
See Also