Description of the formal parameters

Name

Type

Data Type

Description

REQ_DB

IN

BLOCK_DB

DB of the ibaPDA communication interface ibaREQ_DB

ADR_SLOT

IN

INT

Start address of the peripheral output range

DEVICE_STATUS

OUT

INT

Status of the PROFINET device

ERROR_STATUS

OUT

INT

Internal error code

The following SFCs are used internally:

  • SFC 15 (DPWR_DAT)

  • SFC 20 (BLKMOV)

  • SFC 21 (FILL)

  • SFC 50 (RD_LGADR)

  • SFC 71 (LOG_GEO)

Detailed description

REQ_DB

The DB is used for data exchange with ibaPDA. For all related Request blocks, configure the identical DB.

ADDR_SLOT

Peripheral start address of the used slot in ibaBM-PN in the peripheral output range for sending data.

DEVICE_STATUS

Status of the addressed PROFINET device in the ibaBM-PN. (0: Device not accessible/error; 1: Device accessible)

ERROR_STATUS

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

Error codes

Decimal value ERROR_STATUS

Description

200

There is no connection to a PN device.

300

The version of ibaREQ_UDPact does not match with ibaREQ_M (ID).

301

The version of ibaREQ_UDPact does not match with ibaREQ_M (FB).

302

The version of ibaREQ_UDPact does not match with ibaREQ_M (DB).

303

The type of transmit agent does not match with configured request type in ibaPDA.

306

The configured "ADR_SLOT" is not assigned to a PROFIBUS PN device.

310

no access to datablock ibaREQ_DB (read)

311

no access to datablock ibaREQ_DB (write)

315

error while masking of synchronous faults

316

error while demasking of synchronous faults

320

operand invalid (datatype)

321

operand invalid (ANY pointer)

410

Device does not exist.