MceCmdStatus

0.1.0

Status signals of a mapped motion instruction

Version history

0.1.0

  Rioual

Changes

Added:
  • first version

Overview

nametypedefaultcomment
bSts_ENBOOLEnable bit. This bit will stay high as long as the instruction is enabled.
bSts_DNBOOLDone 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_IPBOOLIn process bit. This Instruction is actively executing, but another instruction may be commanding the active movement.
bSts_ACBOOLActive bit. HIGH if this motion is currently executing.
bSts_PCBOOLProcess complete bit. HIGH if this motion has reached the end of its commanded trajectory.
bSts_ERBOOLError bit. Indicates an error during instruction execution.
nPercentCompleteSINTPercentage 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

Pages built with Hugo - 23 Apr 2024 11:54 CEST