Number Of Pulses; Duty Cycle - Siemens ET 200SP Manual

Technology module tm pulse 2x24v
Hide thumbs Also See for ET 200SP:
Table of Contents

Advertisement

4.3.1.2

Number of pulses

You set the number of pulses in the control interface (Page 73) using OUTPUT_VALUE as
integer (UDINT). The value range is 1 to 4294967295 (2
immediately.
If you reduce the number of pulses to 0 or to an already output number of pulses, the output
sequence is aborted. In this case, the STS_ENABLE feedback bit and the digital output
DQn.A are reset, and the ERR_PULSE feedback bit is set. To continue the pulse output, you
must restart the output sequence. At the next start of the output sequence, the technology
module resets the ERR_PULSE feedback bit again.
4.3.1.3

Duty cycle

The duty cycle corresponds to the ratio of pulse duration to period duration (also referred to
as mark-to-space ratio).
You set the period duration in the hardware configuration. The value range is dependent on
the configured output format. If you set the value 0, the DQn.A is not set during the entire
period duration. If you set the maximum value, the DQn.A is set during the entire period
duration. If you set a value above the value range, the maximum value is used.
Output format
1/100 (%)
1/1000 (‰)
1/10000
S7 analog output
In addition, you can change the duty cycle via the control interface (Page 73) by entering a
new value in SLOT as integer (UDINT). In so doing, you use the MODE_SLOT control bit to
choose whether you want to apply a change once or cyclically:
MODE_SLOT = 0
MODE_SLOT = 1
You can find additional information under Handling of the SLOT parameters (Page 139).
Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1)
Manual, 05/2019, A5E35061186-AB
Value range of
Pulse duration
OUTPUT_VALUE
0 ... 100
(OUTPUT_VALUE/100) × Period duration
0 ... 1000
(OUTPUT_VALUE/1000) × Period duration
0 ... 10000
(OUTPUT_VALUE/10000) × Period duration
0 ... 27648
(OUTPUT_VALUE/27648) × Period duration
One-time change:
As soon as you write the value 4
value from SLOT is applied once as the duty cycle and kept until the next
change.
A change via SLOT takes effect at the next output sequence. An active
output sequence is not affected by the change.
Cyclic change:
When you write the value 20
value from SLOT in each case is applied cyclically as the duty cycle.
A change via SLOT takes effect at the next output sequence. An active
output sequence is not affected by the change.
Configuring/address space
4.3 Pulse train mode
-1). A change takes effect
32
in the corresponding output byte, the
D
in the corresponding output byte, the current
D
65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents