MpJ1939Receive

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MpJ1939Receive

mapp Services V5.16

This function block can be used to receive a specified PGN.

Function block

mpj1939receive

Interface

I/O

Parameter

Data type

Description

IN

MpLink

Pointer to MpComIdentType

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

IN

Enable

BOOL

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

IN

ErrorReset

BOOL

Resets function block errors.

IN

PGN

UDINT

Value for the numerical value of the PGN.

IN

Priority

USINT

Priority of the PGN.

IN

Data

UDINT

Value for the address of the PGN's data buffer. For more information, see Memory management.

IN

DataLength

UINT

Defines the size of data buffer "Data". Specified in bytes.

IN

Receive

BOOL

Command to receive a PGN.

OUT

Active

BOOL

Function block active.

OUT

Error

BOOL

Error occurred during execution.

OUT

StatusID

DINT

Status information.

OUT

CommandDone

BOOL

Execution successful. Function block is finished.

OUT

CommandBusy

BOOL

Function block currently executing command.

OUT

Info

MpJ1939ReceiveInfoType

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