Data type: equipmentmodule_struct, Data type declaration – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 337

Advertising
background image

Pack ML Toolbox: DataTypes

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

324

Data Type: EquipmentModule_STRUCT

Supporting data type used by

EquipmentModule_ARRAY

.

Data Type Declaration

EquipmentModule_STRUCT: STRUCT

EnabledCMs : INT;

(* Number of enabled Control Modules contained in the Equipment Module *)

CMs_Active : WORD;

(* Every bit in this word indicates if a control module is active *)

CMs_NotDone : WORD;

(* Every bit in this word indicates if a control module is done *)

CM_InactiveMask : WORD;

(* Every bit in this word indicates if a control module is Inactive *)

CM : ControlModule_ARRAY;

(* Array containing the Commands, Status and Active bits for the 16 Control

Modules contained in the Equipment module *)

Cmd_Reset : BOOL;

(* Command to Reset the machine *)

Sts_Resetting_SC : BOOL;

(* When set, the machine is in the resetting state *)

Cmd_Start : BOOL;

(* Command to Start the machine *)

Sts_Starting_SC : BOOL;

(* When set, the machine is in the Starting state *)

Cmd_Stop : BOOL;

(* Command to Stop the machine *)

Sts_Stopping_SC : BOOL;

(* When set, the machine is in the Stopping state *)

Cmd_Hold : BOOL;

(* Command to Hold the machine *)

Sts_Holding_SC : BOOL;

(* When set, the machine is in the Holding state *)

Cmd_UnHold : BOOL;

(* Command to Unhold the machine *)

Sts_UnHolding_SC : BOOL;

(* When set, the machine is in the UnHolding state *)

Cmd_Suspend : BOOL;

(* Command to Suspend the machine *)

Sts_Suspending_SC : BOOL;

(* When set, the machine is in the Suspending state *)

Cmd_UnSuspend : BOOL;

(* Command to UnSuspend the machine *)

Sts_UnSuspending_SC : BOOL;

(* When set, the machine is in the UnSuspending state *)

Cmd_Abort : BOOL;

(* Command to Abort the machine *)

Advertising