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

sampleTime_ms

IN

UINT

Signal sample time in milliseconds

REQ_DB

INOUT

UDT

Pointer to the communication data range ibaREQ_DB-Interface in ibaREQ_DB

buffer

INOUT

UDT

Pointer to the buffer data range ibaREQ_NetE-Bufferdata in ibaREQ_DB

state

OUT

STRING[16]

Block status

error

OUT

BOOL

Internal error indicator

errorStatus

OUT

WORD

Internal error code

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

sampleTime_ms

Signal sample time in milliseconds

REQ_DB

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.

buffer

Pointer to the buffer data range. This range is used to temporarily store the buffered signal values. For all related Request blocks, configure the identical DB.

state

Block status in plain text

error

Internal error indicator for the block. If there is no error, the value FALSE is output.

errorStatus

Internal error code for the block. If there is no error, the value 0 is output.

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

Error codes

Value errorStatus

Description

Hexadecimal

Decimal

0x09

9

internal error (RD_SINFO)