beautypg.com

Notes, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 369

background image

Pack ML Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

356

B

Valid

BOOL

Indicates that the outputs of the function are valid

B

CMs_Active

WORD

The list of active CMs. Same bit scheme as CM_Mask.
(Example: if CMs_Active.X4 = TRUE

B

CMs_NotDone

WORD

A compilation of which Control Modules have not
completed the transition task.

B

Error

BOOL

Set high if error has occurred during the execution of
the function block. This output is cleared when
'Enable' goes low.

B

ErrorID

UINT

If Error is true, this output provides the Error ID. This
output is reset when 'Enable' goes low.

Notes

• The user can identify those CMs stuck in transition by comparing the outputs CMs_Active and CMs_NotDone.
These outputs are of WORD datatype, with each bit [x] representing the active status and transition status of
CM[x]. Example: If the PackML command STOP was given, and CM[1] was enabled and active, but not finished
stopping yet, the output of CMs_Active would be ...00111 while the output of CMs_NotDone would be ...00010.
The user then knows that the process is stuck in CM[1]. The user would then go to the
EM00_CM00_Control_Outputs worksheet to further drill into the problem.

• See template documentation for further details on recommended usage.

Error Description

ErrorID

Meaning

0

No Error

12560

Invalid Equipment Module number

12561

Equipment Module not enable in the system

12562

Invalid number of enabled Control Modules in selected Equipment Module