Description of formal parameters
|
Name |
Type |
Data Type |
Description |
|---|---|---|---|
|
adrSlot0 … adrSlot5 |
IN |
VARIANT |
Starting address of the output range |
|
reset_com |
IN |
BOOL |
FALSE: No reset (default) TRUE: Reset of the communication connection |
|
DB_PDA |
INOUT |
UDT |
DB for the ibaPDA communication interface ibaREQ3sym_DB_PDA |
|
state |
OUT |
STRING[16] |
Block status |
|
statusSlot0 … statusSlot5 |
OUT |
WORD |
Internal error code |
Detailed description
adrSlotx
Starting address of the slot used in the output range of the process image.
You can configure up to 6 slots. For data consistency, the length of slots 0…4 must be a multiple of 8. If a slot is not to be used, configure any symbol that does not refer to an output address.
reset_com
Used for manually resetting the communication connection.
DB_PDA
Pointer to the communication data range. This range is used for the data exchange with ibaPDA. For all related Request blocks, configure the identical DB.
statusSlotx
Internal error code of the block related to the slot with the same number. If no error is present, the value 0 is output.
Error codes
|
Hexadecimal value errorStatus |
Description |
|---|---|
|
01x8001 |
no connection to PN device or error (error GET_DIAG) |
|
01x8010 |
internal error (error IO2MOD) |
|
01x8011 |
internal error (error LOG2GEO) |
|
01x8012 |
internal error (error LOG2GEO) |
|
01x8013 |
internal error (error LOG2GEO) |
|
01x8014 |
internal error (error RD_ADDR) |
|
01x8020 |
slot size not a multiple of 8 and not the last slot |
|
01x8401 |
DPWR_DAT failed invalid hw-id |
|
01x8402 |
DPWR_DAT failed slot 1 |