
19
Application 4: Double tariffs
Task:
With a digital input it shall be changedover between tariff 1 and tariff 2. This means, if the digital input is active,
energy is measured in energy meter 2. If the digital input is not active, energy is measured in energy meter 1.
Steps:
1. Configuration of the logical combinations
2. Fixing of the I/O configuration.
Step 1:
The digital input 1 is inverted within the logical combinations and given out on flag 82, which means if digital input 1 is
inactive, flag 82 is active
No.: Source 1
Operator
Source 2
Target flag
1
Permanently active
AND
Permanently inactive
=
82
2
Permanently active
/AND
Digital input 1
=
82
Step 2:
In the „I/O configuration“ the actions are assigned as follows.
Channel No. 1
Source
Digital input 1
Target or action
Activate tariff real energy 1
Channel No. 2
Source
Flag
No. 82
Target or action
Activate tariff real energy 2
Programming logic
Programming of I/O configuration