MpCodeBoxProgramControl

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MpCodeBoxProgramControl

mapp Services V5.16

MpCodeBoxProgramControl can be used to interact with a Ladder Diagram program.

Function block

Optional parameters

mpcodeboxprogramcontrol

mpcodeboxprogramcontrol_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

Name

Pointer to STRING[255]

Name of the program.

IN

Start

BOOL

Command to start the program.

IN

Suspend

BOOL

Command to suspend the program.

IN

Reload

BOOL

Command to reload the program. Reserved for future use.

IN

Resume

BOOL

Command to resume the program.

IN

Stop

BOOL

Command to stop the 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