Description of formal parameters
|
Name |
Type |
Data Type |
Description |
|---|---|---|---|
|
REQ_DB |
IN |
DB_ANY |
DB of the ibaPDA communication interface ibaREQ_DB |
|
RESET |
IN |
BOOL |
FALSE: No reset (default) TRUE: Block reset |
|
CPU_HW_ID |
IN |
HW_IO |
Hardware ID of local CPU |
|
ERROR_STATUS |
OUT |
WORD |
Error code |
The following SIMATIC standard block is used internally:
-
GET_IM_DATA (FB801)
Detailed description
REQ_DB
The DB is used for data exchange with ibaPDA. For all related Request blocks, configure the identical DB.
The length of the data block is fixed.
RESET
Used to manually reset the Request blocks. All Request blocks of a combination are automatically reset together. Usually, the parameter does not have to be connected.
CPU_HW_ID
TIA Portal system constant, which refers to the corresponding CPU.
ERROR_STATUS
Internal error of the block. If there is no error, the value 0 is output.
Error codes
|
Value ERROR_STATUS |
Description |
|
|---|---|---|
|
Hexadecimal |
Decimal |
|
|
0x01 |
1datablock ibaREQ_DB is write protected |
|
|
0x02 |
2 |
datablock ibaREQ_DB invalid (DB = 0 or > limit of CPU) |
|
0x03 |
3 |
datablock ibaREQ_DB does not exist |
|
0x04 |
4 |
datablock ibaREQ_DB undefined error |
|
0x05 |
5 |
datablock ibaREQ_DB too short |
|
0x09 |
9 |
internal error (RD_SINFO) |
|
0x01A |
0 |
no access to datablock ibaREQ_DB (read) |
|
0x0B |
11 |
no access to datablock ibaREQ_DB (write) |
|
0x14 |
20 |
initialization not finished |
|
0x15 |
21 |
insufficient memory for SZL |
|
0x16 |
22 |
wrong SZL_ID |
|
0x17 |
23 |
wrong or invalid index of SZL |
|
0x18 |
24 |
error while reading I&M data from CPU |
|
0x19 |
25 |
error while reading plc data |
|
0x1D |
29 |
reset not finished |
|
0x1F |
31 |
initialization canceled with error |
|
0x20 |
32 |
initialization not completed |
|
0x29 |
41 |
too many pointers (>1024) |
|
0x30 |
42 |
too many pointers in one command (>128) |
|
0x31 |
44 |
invalid command id |
|
0x32 |
45 |
operand invalid (not defined) |
|
0x33 |
46 |
operand invalid (datatype) |
|
0x34 |
47 |
operand invalid (memory area) |