ST_GENIbusResponseTableItem

Individual element in the response buffer.

TYPE ST_GENIbusResponseTableItem :
STRUCT
  byAddr           : BYTE;
  byLength         : BYTE;
  eSD              : E_GENIbusSD;
  arrAPDUs         : ARRAY[1..GENIBUS_MAX_APDU_NUMBER] OF ST_GENIbusReplyClassEntry;
  byRFS            : BYTE;
  udiMessageHandle : UDINT;
  udiErrorId       : UDINT;
END_STRUCT
END_TYPE

Name

Type

Description

byAddr

BYTE

Device destination address

eAddrType

BYTE

Single, multiple or collective command

eSD

E_GENIbusSD

Start delimiter of the telegram.

arrAPDUs

ARRAY OF ST_GENIbusReplyClassEntry

Collection of the APDUs (Application Program Data Units) to be transmitted.

byRFS

BYTE

Not yet used: "Request from slave".

udiMessageHandle

UDINT

Pointer to the current buffer element.

udiErrorId

UDINT

If an error has occurred in the function block FB_GENIbusCommunication(), the corresponding error code will be saved here for further evaluation.

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_GENIbus from v3.3.0.0