Description of the 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 |
|---|---|
|
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. |
|
305 |
The hardware configuration of the PROFIBUS DP slave is invalid. |
|
306 |
The configured "OUTPUT_ADR_SLOT" is not assigned to a PROFIBUS DP slave. |
|
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 |
Slave does not exist. |