Status signals of a mapped motion instruction
Version history
0.1.0
 
Rioual
Changes
Added:
- first version
Overview
name | type | default | comment |
---|---|---|---|
bSts_EN | BOOL | Enable bit. This bit will stay high as long as the instruction is enabled. | |
bSts_DN | BOOL | Done bit. This will turn HIGH when the command has been processed and added to the motion queue. The instruction must stay enabled until this bit is active. | |
bSts_IP | BOOL | In process bit. This Instruction is actively executing, but another instruction may be commanding the active movement. | |
bSts_AC | BOOL | Active bit. HIGH if this motion is currently executing. | |
bSts_PC | BOOL | Process complete bit. HIGH if this motion has reached the end of its commanded trajectory. | |
bSts_ER | BOOL | Error bit. Indicates an error during instruction execution. | |
nPercentComplete | SINT | Percentage of motion that is completed |
Details
bSts_EN
BOOL
Enable bit. This bit will stay high as long as the instruction is enabled.
bSts_DN
BOOL
Done bit.
This will turn HIGH
when the command has been processed and added to the motion queue.
The instruction must stay enabled until this bit is active.
bSts_IP
BOOL
In process bit. This Instruction is actively executing, but another instruction may be commanding the active movement.
bSts_AC
BOOL
Active bit.
HIGH
if this motion is currently executing.
bSts_PC
BOOL
Process complete bit.
HIGH
if this motion has reached the end of its commanded trajectory.
bSts_ER
BOOL
Error bit. Indicates an error during instruction execution.
nPercentComplete
SINT
Percentage of motion that is completed.
Source code
Declarations
(*status signals of a mapped motion instruction*)
TYPE MceCmdStatus :
(*
* -----------------------------------------------------------------------------
* Name : MceCmdStatus
* Version : 0.1.0
* Date : 2024-02-07
* Author : Rioual
* Family : YaskawaMce
* Organisation : github.com/YaskawaEurope/mlx-examples
*
* -----------------------------------------------------------------------------
* status signals of a mapped motion instruction
* -----------------------------------------------------------------------------
*)
STRUCT
bSts_EN : BOOL; (*Enable bit. This bit will stay high as long as the instruction is enabled.*)
bSts_DN : BOOL; (*Done bit. This will turn HIGH when the command has been processed and added to the motion queue. The instruction must stay enabled until this bit is active.*)
bSts_IP : BOOL; (*In process bit. This Instruction is actively executing, but another instruction may be commanding the active movement.*)
bSts_AC : BOOL; (*Active bit. HIGH if this motion is currently executing.*)
bSts_PC : BOOL; (*Process complete bit. HIGH if this motion has reached the end of its commanded trajectory.*)
bSts_ER : BOOL; (*Error bit. Indicates an error during instruction execution.*)
nPercentComplete : SINT; (*Percentage of motion that is completed*)
END_STRUCT
END_TYPE