Y_AX_GetActionPointers
This function block takes the provided input "Action" and provides the UsePointer and StorePointer from the "Multi" element of the Registration data variable.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| V | RegistrationData | Yt_AX_ProductBufferStruct | Structure containing all information for the circular buffer to operate | |
| VAR_INPUT | ||||
| B | Enable | BOOL | The function will continue to execute every scan while Enable is held high and there are no errors. | FALSE |
| V | Action | INT | If multi action buffering is used, the Action input is the index of the specific action whose use pointer needs to be updated | INT#0 |
| VAR_OUTPUT | ||||
| B | Valid | BOOL |
Indicates that the function is operating normally and the outputs of the function are valid.
|
|
| V | UsePointer | INT |
Input to ProductBuffer FB:Array Index of the Latch data to be used with actions like
Y_CamShift.
|
|
| V | StorePointer | INT |
Output from ProductBuffer FB: Array Index of the Latch data to be stored after
MC_TouchProbe.
|
|
| B | Error | BOOL |
Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low.
|
|
| B | ErrorID | UINT |
If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low.
|
|
Error Description
See the Function Block ErrorID List.