MCV_GrpReadJobAck
Release Note
This function block is available as of CNC Build V3.1.3103.1.
The function block is used to evaluate the end or abort operations of jobs commanded by an MC_MovePath . The instance of the MC_MovePath whose job acknowledgements are evaluated is identified via the “Fb” input.
Notice
When the function block is created and the “Enable” input is set to TRUE, the function block must be called cyclically. Otherwise, job acknowledgements to any function blocks are blocked, even to other PLCopen Part 4 function blocks.
Block diagram
FB parameters
VAR_INPUT | ||
Variable name | Data type | Description |
Enable | BOOL | As long as “Enable” is TRUE, job acknowledgements are read. Only acknowledgements are displayed if they refer to jobs sent by the instance of an MC_MovePath registered at the “Fb” input. New acknowledgements are then only displayed if the “Ack” input is FALSE. |
Ack | BOOL | The input defines that the information indicated at the function block outputs was read. |
Fb | MCV_FB_REF | Reference to an instance of an MC_MovePath function block with the output of the same type. |
VAR_OUTPUT | ||
Variable name | Data type | Description |
Valid | BOOL | TRUE indicates that new data is ready to be fetched. |
Error | BOOL | TRUE indicates that an error occurred. |
ErrorID | WORD | Error code |
JobID | Job description and job state. | |
JobState : | Job information | |
JobStack | Information on the job source Only needed if the job is to be read by an instance of the MCV_GrpSetJobResponse. | |
JobAttribute | UDINT | Identification number specified by the user and output together with the state of a job. |