Parameter data record
A.2 Parameter assignment and structure of the parameter data record
Analog Input Module AI 4xI 2-/4-wire ST (6ES7134-6GD01-0BA1)
Equipment Manual, 06/2020, A5E03551866-AF
32
A.2
Parameter assignment and structure of the parameter data record
The data record of the module has an identical structure, regardless of whether you
configure the module with PROFIBUS DP or PROFINET IO. With data record 128, you can
reconfigure the module in your user program regardless of your programming. This means
that you can use all the functions of the module even if you configured it via PROFIBUS-
GSD.
Parameter assignment in the user program
You can change the parameters of the module in RUN. For example, the voltage or current
values of selected channels can be changed in RUN without having an effect on the other
channels.
Changing parameters in RUN
The "WRREC" instruction is used to transfer the parameters to the module using data
record 128. The parameters set in STEP 7 are not changed in the CPU, which means that
the parameters set in STEP 7 will be valid again after a restart.
Output parameter STATUS
If errors occur when transferring parameters with the "WRREC" instruction, the module
continues operation with the previous parameter assignment. The STATUS output
parameter contains a corresponding error code.
You will find a description of the "WRREC" instruction and the error codes in the STEP 7
online help.