4.2.1
Changing over the user data variant during operation
Introduction
At the module version 32 I / 12 Q you switch over the user data variant in the output data in
Byte 0.
Requirement
● User program has been created.
● AI Energy Meter 400VAC ST is configured as the module version 32 I / 12 Q.
● The start address of the module is known in the process image output.
Procedure
1. Create one constant with the data type BYTE per user data variant.
2. Enter the user data ID as a value in each case.
3. Write the constant to the start address of the module in the process image output.
Result
The user data variant is switched with the next cycle.
Note
Information about user data changeover
The parameterized user data variant is set in the following cases:
• A "0" is written in byte 0 in the output data of a user data variant.
• Byte 0 in the output data of a user data variant contains an invalid value:
– Coding of the user data variant not available
Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0)
Manual, 10/2017, A5E36061895-AB
Configuration / address space
4.2 Selecting the module versions
25