McePosTableConditions

0.1.0

Datatype for checking the start conditions of a PosTable entry

Version history

0.1.0

  deGroot

Changes

Added:
  • initial version

Overview

nametypedefaultcomment
bHasConditionsBOOLthe entry has conditions
bConditionsOkBOOLall required start conditions are ok
aMissingConditionsARRAY [0..GVL.CONDITIONS_UBOUND] OF BOOLindicates which of the required start conditions are missing

Details

bHasConditions

BOOL

The PosTable entry has at least one condition.

bConditionsOk

BOOL

All required start conditions are ok.

aMissingConditions

ARRAY [0..GVL.CONDITIONS_UBOUND] OF BOOL

Indicates which of the required start conditions are missing.

Source code

Declarations

(*Datatype for checking the start conditions of a PosTable entry*)
TYPE McePosTableConditions : 

(*
 * -----------------------------------------------------------------------------
 * Name               : McePosTableConditions
 * Version            : 0.1.0
 * Date               : 2024-03-28
 * Author             : deGroot
 * Family             : YaskawaMce
 * Organisation       : github.com/YaskawaEurope/mlx-examples
 * 
 * -----------------------------------------------------------------------------
 * Datatype for checking the start conditions of a PosTable entry
 * -----------------------------------------------------------------------------
 *)

STRUCT
  bHasConditions : BOOL; (*the entry has conditions*)
  bConditionsOk : BOOL; (*all required start conditions are ok*)
  aMissingConditions : ARRAY [0..GVL.CONDITIONS_UBOUND] OF BOOL; (*indicates which of the required start conditions are missing*)
END_STRUCT
END_TYPE

Pages built with Hugo - 04 Oct 2024 15:35 CEST