Y_MA_CalcFrameOffset
Function block that calculates the origin of a frame that is at a specified offset from another frame in cartesian space.
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| B | InputFrame | VECTOR | An array of positions. The interpretation of each value depends upon the Coordinate System specified and the mechanism. |
|
| V | Offset | VECTOR | An array of positions. The interpretation of each value depends upon the Coordinate System specified and the mechanism. |
|
| V | OutputFrame | VECTOR | An array of positions. The interpretation of each value depends upon the Coordinate System specified and the mechanism. |
|
| VAR_INPUT | ||||
| V | Enable | BOOL | The function block will continue to execute every scan while Enable is TRUE and there are no errors. | FALSE |
| VAR_OUTPUT | ||||
| V | Valid | BOOL | The Valid output indicates that the function block is operating normally and the outputs of the function block are valid. | |
| V | Error | BOOL | The Error output is set to TRUE if an error has occurred during the operation of the function block. The output is cleared when the Execute or Enable input becomes FALSE. | |
| V | ErrorID | UINT | The ErrorID output provides the identifier of the error when there is an active error in the function block execution. The output is cleared when the Execute or Enable input becomes FALSE. |
|
Error Description:
Refer to the Function Block ErrorID List list.