beautypg.com

Un_modulesummation, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 381

background image

Pack ML Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

368

UN_ModuleSummation

The UN_ModuleSummation function block rolls up all the Equipment Module State Complete bits for active,
enabled EMs. The result is an overall PMLs State Complete bit that is transferred to the PackML_StateControl
function.

Parameters

*

Parameter

Data Type

Description

VAR_IN_OUT

V

UnitMachine

UNitMachine_STRUCT

Structure containing all the information about the
machines current state and mode of operation for all
EMs and CMs

V

PML_Cmds

PackML_Commands_

STRUCT

Structure that contains the current Unit mode of
operation and the commands sent by
PackML_StateMachine

VAR_INPUT

Default

B

Enable

BOOL

The function will continue to execute
while the enable is held high

FALSE

V

EM_Mask

WORD

Mask to deactivate EMs. When an EM is
deactivated, commands will not be sent
down to the EM, for testing purposes.
Each bit corresponds to the same
number EM to deactivate. (Example: to

16#0000