Code: |
AS + 731 |
Symbolic: |
bccReportList |
This command will get complete (or partial) contents of the report from the remote device.: this is a standard download transfer sequence.
REQDATA structure is the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FROMID |
First report item ID required |
4 |
U32 |
TOID |
Last report item ID required |
8 |
U32 |
NITEM |
No. of report items (0=all available) |
ITEMDATA structure is the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
ID |
Report item ID |
4 |
DBL |
TIME |
Item generation time [us] |
12 |
U16 |
SMSK |
Source mask: 0x0000 Generic 0x0001 RTE/RRT 0x0002 OS 0x0004 Fieldbus 0x0008 (reserved) 0x0010 (reserved) 0x00E0 Item category: 0x00 generic 0x20 information 0x40 warning 0x80 fault/emergency 0x0100 (user) 0x0200 (user) 0x0400 (user) 0x0800 (user) 0x1000 (user) 0x2000 (user) 0x4000 (user) 0x8000 (user) |
14 |
STRZ |
TEXT |
Item text |
As general, you can get items with the following order:
•from OLDID to NEWID for native order.
•from NEWID to OLDID for reversed order.
When using RTE version v33.16.x (or lower) you should consider two different cases:
1.NEWID is greater/equal than OLDID.
2.NEWID is less than OLDID.
In case 1, you can get items with a single request, as:
•from OLDID to NEWID for native order.
•from NEWID to OLDID for reversed order.
In case 2, you must get items with two different request, as:
•from OLDID to 0xFFFFFFFF and from 0 to NEWID for native order.
•form NEWID to 0 and from 0xFFFFFFFF to OLDID for reversed order.