beautypg.com

Function blocks, Cm_control_inputs, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 363

background image

Pack ML Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

350

Function Blocks

CM_Control_Inputs

The CM_Control_Inputs function block passes the high level commands from the PackML_StateControl into each
of the enabled and active Control Modules.

Parameters

*

Parameter

Data Type

Description

VAR_IN_OUT

V

PML_Cmds

PackML_Commands_

STRUCT

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

V

PML_States

PackML_States_STRUCT

Structure containing information about the current
state the machine is operating in

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

16#0000