Em_modulesummation, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 368

Advertising
background image

Pack ML Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

355

EM_ModuleSummation

The EM_Module_Summation function block rolls up all the Control Module State Complete bits for active and
enabled CMs. The result is an overall Equipment Module State Complete bit that is transferred to the
UN_ModuleControl Worksheet.

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

VAR_INPUT

Default

B

Enable

BOOL

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

FALSE

V

EM_Number

INT

The EM number corresponding to the
EM in which this FB is located

0

V

CM_Mask

WORD

Mask to deactivate CMs. When a CM is
deactivated, commands will not be sent
down to the CM, for testing purposes.
Each bit corresponds to the same
number CM to deactivate. (Example: to
deactivate CM_3, set CM_Mask.X3
=TRUE)

16#0000

VAR_OUTPUT

Advertising