MpCodeBoxCore

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MpCodeBoxCore

mapp Services V5.16

Function block MpCodeBoxCore executes Ladder Diagram programs at runtime. The function block can load a list composed of several different Ladder Diagram programs and call it cyclically.

logo_online_tutorial

Our B&R Tutorial Portal includes tutorials about mapp CodeBox (GER/ENG). (access data)

Function block

Optional parameters

mpcodeboxcore

mpcodeboxcore_opt

Interface

I/O

Parameter

Data type

Description

IN

MpLink

Pointer to MpComIdentType

Connection to mapp configuration (MpLink of an MpCodeBoxCore configuration).

IN

Enable

BOOL

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

IN

ErrorReset

BOOL

Resets function block errors.

IN

Programs

MpCodeBoxCoreProgramsType

List of programs

IN

Start

BOOL

Command used to start a program.

IN

Stop

BOOL

Command used to stop a currently running program.

OUT

Active

BOOL

Function block active.

OUT

Error

BOOL

Error occurred during execution.

OUT

StatusID

DINT

Status information.

OUT

Running

BOOL

Specifies whether a program has been loaded.

OUT

CommandBusy

BOOL

Function block currently executing command.

OUT

Info

MpCodeBoxCoreInfoType

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