Description of formal parameters
|
Name |
Type |
Data Type |
Description |
|---|---|---|---|
|
ADR_SLOT_0 |
IN |
VARIANT |
Start address of the output range of slot 0 |
|
ADR_SLOT_1 |
IN |
VARIANT |
Start address of the output range of slot 1 |
|
RESET_CON |
IN |
BOOL |
FALSE: No reset (default) TRUE: Reset of the communication connection |
|
REQ_DB |
INOUT |
UDT |
DB of the ibaPDA communication interface ibaREQ_DB |
|
ERROR_STATUS |
OUT |
WORD |
Internal error code |
Detailed description
ADR_SLOT_0
Start address of the used slot 0 in ibaBM-DP in the output range of the process image.
ADR_SLOT_1
Start address of the used slot 1 in ibaBM-DP in the output range of the process image.
RESET_CON
Used for manually resetting the communication connection.
REQ_DB
The DB is used for data exchange with ibaPDA. For all related Request blocks, configure the identical DB.
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 (hexadecimal) |
error code of inner TUSEND/AG_SEND/AG_LSEND |