0xB000-0xBFFF – ServiceTransfer Area
The Service Transfer Area offers functional access. The handling is therefore different than for data from the Configuration Area. An operation is started and processed asynchronously.
The module descriptions contain tables for the Service Transfer Area. An operation may contain input parameters, which are shown in an InputData table, and output parameters, which are shown in an OutputData table.
The following applies for all indices of the Service Transfer Area:
SubIndex |
Name |
Access |
---|---|---|
00 |
Len (always = 4) |
Read only |
01 |
Trigger / Write Data |
Write only |
02 |
Operation status |
Read only |
03 |
Operation status and read data |
Read only |
SubIndex 01
Writing the input data starts the action. For this trigger the SubIndex 01 is used. All variables are transmitted in one data block.
SubIndex 02
Once an operation has been started, its status can be queried with subindex 02.
Status value [BYTE] |
Description |
---|---|
0 |
No error; No data available |
1 |
No error; Data available |
2 |
error; No data available |
3 |
error; data available (4 byte MDP error code) |
100 ... 200 |
Busy; 0% ... 100% |
255 |
Busy; No percentage |
SubIndex 03
As soon as the action is complete, the return data are available and can be queried. Subindex 03 is used for this purpose. All information is received in a data block, according to the structure in the OutputData table.
In addition to the read data the status of the operation is also output, according to the diagram above.
Layout:
BYTE status
BYTE padding
VOID Nutzdaten (Optional)