Beschreibung der Formalparameter
|
Name |
Art |
Typ |
Beschreibung |
|---|---|---|---|
|
ADR_SLOT |
IN |
VARIANT |
Anfangsadresse des Ausgangsbereiches |
|
RESET_CON |
IN |
BOOL |
FALSE: kein Reset (Standard) TRUE: Reset der Kommunikationsverbindung |
|
REQ_DB |
INOUT |
UDT |
DB der ibaPDA-Kommunikationsschnittstelle ibaREQ_DB |
|
ERROR_STATUS |
OUT |
WORD |
Interner Fehlercode |
Detaillierte Beschreibung
ADR_SLOT
Anfangsadresse des verwendeten Slots im ibaBM-PN im Ausgangsbereich des Prozessabbilds.
RESET_CON
Dient zum manuellen Rücksetzen der Kommunikationsverbindung.
REQ_DB
Über diesen DB findet der Datenaustausch mit ibaPDA statt. Konfigurieren Sie bei allen zusammengehörigen Request-Blöcken den identischen DB.
ERROR_STATUS
Interner Fehlercode des Bausteins. Liegt kein Fehler vor, wird der Wert 0 ausgegeben.
Fehlercodes
|
Dezimalwert ERROR_STATUS |
Beschreibung |
|---|---|
|
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 to 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 (hexadezimal) |
error code of inner TUSEND/AG_SEND/AG_LSEND |