Technical data
12.9 Examples
The program example is described in detail for the FMA service
FDL_READ_VALUE. Setting up the DB is also illustrated as
comprehensively as the user program.
The user program for the other FMA services has an analogous structure.
The only difference is that a different DB must be called with parameters
assigned for the particular service (e.g. service_code).
12.9.1 Program Example for the FDL_READ_VALUE Service
For this example, DB 140 is set up to store the request and confirmation
data.
The following parameters must be specified for the FMA service
FDL_READ_VALUE:
com_class : 00
H
= request
service_code : OB
H
= FDL_READ_VALUE
After accepting the confirmation block with the HDB RECEIVE, the values
are entered in the DB and can then be processed further by the user
program.
B8976060/02 Service and Diagnostics using FMA Functions
12 - 35 Volume 1










