Energy counters
7.4 Resetting energy counters and overflow counters
Analog input module AI Energy Meter 480VAC ST (6ES7134-6PA20-0BD0)
54 Manual, 12/2015, A5E36061895-AA
3. Write the data record to the AI Energy Meter 480VAC ST module using the "WRREC"
instruction.
The input parameters must be allocated as follows:
– REQ: A new write job is triggered if REQ = TRUE.
– ID: Hardware identifier or start address of the Energy Meter (depending on the CPU
used).
– INDEX: The data record number: 143
– LEN: The maximum length of the data record: 170
– RECORD: A pointer to the data area in the CPU which includes data record 143.
Note
If you want to write or read several AI
Energy Meter 480VAC ST at the same time, keep
the maximum number of active jobs in communication with SFB52/SFB53.
Structure for energy counters (DS 143) (Page 55)