Description of formal parameters

Name

Type

Data Type

Description

reset

IN

BOOL

FALSE: No reset (default) TRUE: Block reset

interfaceId

IN

HW_ANY

HW ID of the interface used

connectionId

IN

CONN_OUC

Unique connection ID of the send block (TSEND_C)

localPort

IN

UINT

Local port number

DB_PDA

INOUT

UDT

DB for the ibaPDA communication interface ibaREQ3sym_DB_PDA

state

OUT

STRING[16]

Block status

errorStatusTCON

OUT

WORD

Error code for the internally called TCON block

errorStatusTUSEND1

OUT

WORD

Error code for the internally called 1st TUSEND block

errorStatusTUSEND2

OUT

WORD

Error code for the internally called 2nd TUSEND block

errorStatusTDISCON

OUT

WORD

Error code for the internally called TDISCON block

lostSamples

OUT

UNIT

Counter for lost measured values

mode

OUT

UNIT

Detected ibaNet-E mode

numImg

OUT

UNIT

Detected number of images per frame

numFrg

OUT

UNIT

Detected number of fragments per frame

Detailed description

reset

Used to manually reset the Request block.

interfaceId

The HW ID of the used interface is a constant in TIA Portal and dependent on the configured hardware.

connectionId

Unambiguous reference to the connection to be established, value range: 1 to 4095.

localPort

Number of the local port used

DB_PDA

Pointer to the communication data range. This range is used for the data exchange with ibaPDA. For all related Request blocks, configure the identical DB.

state

Block status in plain text

errorStatusTCON

Error code for the internally called TCON block.

errorStatusTUSEND1

Error code for the internally called 1st TUSEND block.

errorStatusTUSEND2

Error code for the internally called 2nd TUSEND block.

errorStatusTDISCON

Error code for the internally called TDISCON block.

A list of all possible error codes for the TCON, TUSEND, TDISCON system blocks can be found in the Siemens documentation.

lostSamples

The counter is incremented each time a block is called if a new UDP telegram cannot be sent to ibaPDA because the preceding send job has not yet been completed. A constantly increasing value indicates a bottleneck in communication performance.

mode

Detected ibaNet-E mode.0: invalid, 1: single image, 2: multi image, 3: fragmented image

numImg

Detected number of images per frame

numFrg

Detected number of fragments per frame