MpCodeBoxManager

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MpCodeBoxManager

mapp Services V5.16

MpCodeBoxManager can be used to delete, export and import programs/macros.

Function block

Optional parameters

mpcodeboxmanager

mpcodeboxmanager_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

ItemType

MpCodeBoxItemEnum

Defines whether it is a macro or program

IN

ItemName

Pointer to STRING[255]

Name of the program or macro.

IN

DeviceName

Pointer to STRING[50]

File device (data storage medium) where the files are stored.

IN

FileName

Pointer to STRING[255]

Name of the file that contains the program.

The file can also be stored in a folder on the specified data storage device. In this case, the folder name must also be specified (e.g. "FolderName/Filename").

IN

Overwrite

BOOL

Defines whether imported or exported programs with the same name are overwritten.

IN

Export

BOOL

Command to start an export.

IN

Import

BOOL

Command to start an import.

IN

Delete

BOOL

Command to delete a specified program.

OUT

Active

BOOL

Function block active.

OUT

Error

BOOL

Error occurred during execution.

OUT

StatusID

DINT

Status information.

OUT

CommandBusy

BOOL

Function block currently executing command.

OUT

CommandDone

BOOL

Execution successful. Function block is finished.

OUT

Info

MpCodeBoxInfoType

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