-

Y_PackML_Toolbox FB

Function block Description
Y_PK_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.
Y_PK_CM_Event The CM_Event function block captures User-Defined Events that occur in a Control Module to be fed up to the EM_EventSummation block. Custom User Events are configured in the PackMLEvents_Init function block. Additional inputs are provided for the user to attach descriptive strings that can further identify where the event originated. As events are triggered, the time of the event is time stamped. When the event is cleared, another timestamp records the acknowledged time.
Y_PK_CM_Control_Outputs The CM_Control_Outputs function block sets the State Complete bits for the control module to be passed up and assembled into the Equipment Module status in the EM00_ModuleControl worksheet.
Y_PK_Controller_Event_Lookup Supporting function block for Controller_Event
Y_PK_EM_ModuleSummation The EM_Module_Summation function block rolls up the Control Module State Complete bits for all active and enabled CMs. The result is an overall Equipment Module State Complete bit that is transferred to the UN_ModuleControl Worksheet.
Y_PK_Motion_Event_Lookup Supporting function block for Motion_Event
Y_PK_Motion_Event_Lookup2 Supporting function block for Motion_Event. This function block is called from within Motion_Event_Lookup to handle Fault numbers above 32767
Y_PK_PackML_State_Diagram The PackML_State_Diagram function block handles the operation of the state machine, including mode and state transitions, as defined in the OMAC PackML specification. This function block, when first enabled, initializes the machine to be in mode 3 (Manual Mode) and in the Stopped state.
Y_PK_PackMLCommands_Init The PackMLCommands_Init function block clears all commands and sets the machine to be in the stopped state.
Y_PK_PackMLModeStateTimes The PackMLModeStateTimes function block keeps track of the times spent in each mode and state of operation for the machine.
Y_PK_PackMLEvents_Init The PackMLEvents_Init function block is a freely editable block in which the user may create custom (user-defined) event descriptions. The events here are designed to be used with the CM_Event function block to feed the event occurrence up to be summarized at the EM and UN levels. This block is called from within the PackML_Initialize worksheet of the Initialize POU so the custom events are loaded on program start.
Y_PK_Return_Controller_Alarm Returns the alarm text (in Message) associated with the supplied Inp_ErrorID. If the value is not found "Unknown Alarm" will be returned.
Y_PK_Return_Motion_Alarm Returns the alarm text (in Message) associated with the supplied Inp_ErrorID. If the value is not found "Unknown Alarm" will be returned.
Y_PK_Return_Servopack_Alarm Returns the alarm text (in Message) associated with the supplied Inp_ErrorID. If the value is not found "Unknown Alarm" will be returned.
Y_PK_Servopack_Event_Lookup Supporting function block for Servopack_Event
Y_PK_UN_EventSummation The UN_EventSummation function block summarizes all EM events to create a single listing of all active Events in the machine. All events are added to the Event History FIFO (max 50 events), typically stored in a retained variable.
Y_PK_UN_ModuleSummation The UN_ModuleSummation function block rolls up the Equipment Module (EM) State Complete bits for all active and enabled EMs. The result is an overall PMLs State Complete bit that is transferred to the PackML_StateControl function.
Y_PK_UN_NotDone Reports the first instance of which EM and which CM has not finished the Current Acting State. If all modules are done, it will return 999 for both values.

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.