Configuring/address space
4.2 Pulse width modulation PWM mode
Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1)
44 Manual, 05/2019, A5E35061186-AB
4.2.1.7 Current measurement/control
Current measurement
The technology module measures the load current at the digital output. The measured value
of the current is returned as an S7 analog value in the MEASURED_CURRENT value in the
feedback interface (Page 58).
A valid measured value is available when the STS_ENABLE feedback bit is set after the first
period duration of the output sequence. The returned measured value is an average of the
measured values that were acquired over a time period of at least one period duration. If a
valid measured value is not available, the value 32767
D
is returned.
When dithering is active, the average is for the time period of an entire dithering period
duration.
Note
In order to use the current measurement, the high
-speed output must be deactivated.
Measuring range and accuracy
The measuring range and accuracy are dependent on the channel configuration:
Maximum measured
value
32511
D
Two-channel opera-
2 A
1
2.37 A
2
±40 mA -40 mA ...
One-channel opera-
tion
4 A
1
4.74 A
2
±80 mA -80 mA ...
+200 mA
May only be exceeded for a short time.
When this current value is exceeded, the ERR_DQA feedback bit will be set.
3
With constant period duration in the respective measuring period.