beautypg.com

Packmlcommands_init, Parameters, Notes – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 370

background image

Pack ML Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

357

PackMLCommands_Init

The PackMLCommands_Init function block clears all commands and sets the machine to be in the stopped state.

Parameters

*

Parameter

Data Type

Description

VAR_IN_OUT

V

INP_PackMLCommands

PackML_Module_Commands_STRUCT

Structure containing the
current state and
commanded actions

VAR_INPUT

Default

B

EN

BOOL

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

FALSE

VAR_OUTPUT

B

ENO

BOOL

Indicates that the outputs of
the function are valid

Notes

• Intended to be executed when initially entering the stopped state to clear all previous commands.