MpPackMLModule

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MpPackMLModule

mapp Services V5.16

MpPackMLModule can be used to control a module of the machine.

This function block can only be used in synchronized mode.

Function block

Optional parameters

mppackmlmodule

mppackmlmodule_opt

Interface

I/O

Parameter

Data type

Description

IN

MpLink

Pointer to MpComIdentType

Connection to mapp configuration (MpLink of an MpPackMLModule configuration )

IN

Enable

BOOL

The function block is active as long as this input is set.

IN

ErrorReset

BOOL

Resets function block errors.

IN

Parameters

Pointer to MpPackMLModuleParType

Parameters of the function block.

IN

Update

BOOL

Updates the parameters.

IN

Blocked

BOOL

Specifies that the module is blocked. The previous module cannot send any other products to the module.

IN

Starved

BOOL

Specifies that the module is waiting for further products. The previous module is not sending any new products.

IN

SubState

DINT

Specifies the sub-state.

IN

StateInfo

STRING[255]

Specification of the state information.

IN

Command

MpPackMLModuleCommandType

Specification of the command.

OUT

Active

BOOL

Function block active.

OUT

Error

BOOL

Error occurred during execution.

OUT

StatusID

DINT

Status information.

OUT

UpdateDone

BOOL

Parameter update completed.

OUT

StateCurrent

MpPackMLStateEnum

Specifies the module's current state.

OUT

SubStateCurrent

DINT

Specifies the current sub-state of the module.

OUT

ModeID

DINT

Specifies the current mode ID.

OUT

Info

MpPackMLModuleInfoType

Additional function block information.

mapp concept

Section mapp components explains how mapp components are structured. In addition, it provides important notes for correctly using mapp components (e.g. for downloads).

Topics in this section:

Description