This block is called internally by the blocks ibaREQ_UDPint, ibaREQ_UDPext3, and ibaREQ_UDPext4, so you do not need to include it manually.
Description of the formal parameters
|
Name |
Type |
Data type |
Description |
|---|---|---|---|
|
REQ_DB |
IN |
BLOCK_DB |
DB of the ibaPDA communication interface ibaREQ_DB |
|
Xchange |
INOUT |
UDT145 |
Interface for the calling block |
|
ERROR_STATUS |
OUT |
WORD |
Internal error code |
The following SFCs are used internally
-
SFC 20 (BLKMOV)
-
SFC 21 (FILL)
-
SFC 36 (MSK_FLT)
-
SFC 37 (DMSK_FLT)
Detailed description
REQ_DB
The DB is used for data exchange with ibaPDA. For all related Request blocks, configure the identical DB.
Xchange
Via the parameterized data range, the data are exchanged with the calling block.
ERROR_STATUS
Internal error of the block. If there is no error, the value 0 is output.
Error codes
|
Decimal value ERROR_STATUS |
Description |
|---|---|
|
1 |
datablock ibaREQ_DB is write protected |
|
2 |
datablock ibaREQ_DB invalid (DB = 0 or > limit of CPU) |
|
3 |
datablock ibaREQ_DB does not exist |
|
4 |
datablock ibaREQ_DB undefined error |
|
5 |
datablock ibaREQ_DB too short |
|
6 |
datablock ibaREQ_DB too short for ibaREQ_UDP |
|
9 |
internal error (RD_SINFO) |
|
10 |
no access to datablock ibaREQ_DB (read) |
|
11 |
no access to datablock ibaREQ_DB (write) |
|
20 |
initialization not finished |
|
21 |
insufficient memory for SZL |
|
22 |
wrong SZL_ID |
|
23 |
wrong or invalid index of SZL |
|
24 |
error while reading I&M data from CPU |
|
25 |
error while reading PLC data |
|
31 |
initialization canceled with error |
|
32 |
initialization not completed |
|
41 |
too many pointers (ibaREQ_DB too small) |
|
42 |
too many pointers in one command (>128) |
|
44 |
invalid command id |
|
45 |
operand invalid (not defined) |
|
46 |
operand invalid (datatype) |
|
47 |
operand invalid (memory area) |
|
200 |
no connection to PN device / DP slave |
|
300 |
version of ibaREQ_UDPact does not match with ibaREQ_M (ID) |
|
301 |
version of ibaREQ_UDPact does not match with ibaREQ_M (FB) |
|
302 |
version of ibaREQ_UDPact does not match with ibaREQ_M (DB) |
|
303 |
type of transmit agent does not match with configured request type in ibaPDA |
|
305 |
PROFIBUS DP slave hardware configuration is invalid |
|
306 |
configured peripheral address is invalid |
|
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 (pointer) |
|
401 |
ADR_SLOT/ADR_SLOT_0 invalid hw-id |
|
402 |
ADR_SLOT/ADR_SLOT_0 invalid hw-id, no IO-Device or DP-Slave |
|
403 |
ADR_SLOT/ADR_SLOT_0 invalid hw-id, is no PROFIBUS or PROFINET |
|
406 |
ADR_SLOT/ADR_SLOT_0 invalid configuration slot (0) |
|
407 |
ADR_SLOT/ADR_SLOT_0 invalid configuration slot (0) |
|
409 |
ADR_SLOT_1 invalid configuration slot 1 |
|
410 |
no connection to PN device/DP-Slave or error |
|
411 |
ADR_SLOT_1 invalid hw-id |
|
412 |
ADR_SLOT_1 invalid hw-id, no IO-Device or DP-Slave |
|
413 |
ADR_SLOT_1 invalid hw-id, is no PROFIBUS |
|
416 |
ADR_SLOT_1 invalid configuration slot 1 |
|
0x8yyy |
error code of inner TUSEND/AG_SEND/AG_LSEND |