MpCodeBoxFlexMonitor

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MpCodeBoxFlexMonitor

mapp Services V5.16

Function block MpCodeBoxFlexMonitor is used to obtain diagnostic information from the currently running Structured Text program.

Function block

mpcodeboxflexmonitor

Interface

I/O

Parameter

Data type

Description

IN

MpLink

Pointer to MpComIdentType

(Connection to mapp configuration (MpLink of an of the MpCodeBoxFlexInstance configuration)

IN

Enable

BOOL

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

IN

ErrorReset

BOOL

Resets function block errors.

IN

Language

Pointer to STRING[20]

Defines which language or unit should be used. Reserved for future use.

IN

ProgramMonitor

Pointer to MpCodeBoxFlexMonitorType

Provides information about the currently running program.

IN

Console

Pointer to MpCodeBoxFlexConsoleType

Displays status information about the currently executed program.

IN

ConsoleSize

UDINT

Defines the size of the "Console" information.

IN

CoroutineMonitor

Pointer to MpCodeBoxFlexCoroutineType

Provides information about the currently running coroutine.

IN

CoroutineMonitorSize

UDINT

Defines the size of the "CoroutineMonitor"coroutine information.

OUT

Active

BOOL

Function block active.

OUT

Error

BOOL

Error occurred during execution.

OUT

StatusID

DINT

Status information.

OUT

Info

MpCodeBoxFlexMonitorInfoType

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