Siemens SIMATIC ET 200SP Manual page 33

Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

Control and feedback signals for PWM mode
Control interface
Offset to the start address
Channel 0
Channel 1
1
Bytes 0 to 3
Bytes 12 to
15
Bytes 4 to 7
Bytes 16 to
19
Byte 8
Byte 20
Byte 8: Bit 4
Byte 20: Bit 4
Byte 9: Bit 0
Byte 21: Bit 0
Byte 9: Bit 1
Byte 21: Bit 1
Byte 9: Bit 3
Byte 21: Bit 3
Technology module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1)
Manual, 09/2015, A5E35061186-AA
Parameter
Meaning
OUTPUT_VALUE
The OUTPUT_VALUE determines the duty cycle (pulse duration/period duration
ratio) within a period (pulse width modulation). The period duration can be adjust-
(DWord)
ed. The new output value is applied at the next rising edge of the output.
When the current control option is enabled, the TM Pulse 2x24V module takes
control of the duty cycle and the OUTPUT_VALUE control interface field is used to
assign the target current as a ratio of target current/reference current. See the
Current control function for details.
UDInt data type: Only 2 least significant bytes are used
For channel 0: bytes 2 and 3
For channel 1: bytes 14 and 15
Output format
SLOT
Your program can change the parameters shown in the byte 8 LD_SLOT table
below, before the start of the output sequence using the SLOT and MODE_SLOT
(DWord)
parameters.
0 μs to 85,000,000 μs
LD_SLOT
Interpretation of the value SLOT: all other values not listed below are invalid and
produce the error ERR_LD (in single-update mode) or ERR_SLOT_VAL (in per-
manent-update mode).
Bit 3
0
0
0
0
0
0
MODE_SLOT
Bit 4
0
1
SW_ENABLE
Bit 0
0
0 →
1
1
TM_CTRL_DQ
Bit 1
0
1
SET_DQA
Bit 3
0
1
3.3 Pulse width modulation (PWM) mode
"Per 100": value range is 0 to 100
"Per 1000": value range is 0 to 1,000
"Per 10000": value range is 0 to 10,000
"S7 analog output": value range is 0 to 27,648
Bit 2
Bit 1
Bit 0
Parameter
0
0
0
Idle state; nothing is done with the value
0
0
1
Period in μs
0
1
0
On-delay in μs
1
0
1
Dither ramp in ms
1
1
0
Dither amplitude in per mill
1
1
1
Dither period in μs
Mode for use of the field SLOT.
Single-update mode
Permanent-update mode
Software enable: start and terminate the output sequence.
Output canceled
Starts output sequence on positive edge when "Function DI" = "Input".
Enable output sequence, when start is dependent on HW enable with
"Function DI" = "HW enable".
Set DQn.A output source: Selects either CPU program or module's output
sequence.
DQn.A and DQn.B are controlled by the CPU (in your program) using the
SET_DQA and SET_DQB control bits.
DQn.A is controlled by the module's pulse output sequence. DQn.B is
always 0 for TM_CTRL_DQ = 1.
Controls the value of the digital output DQn.A, if TM_CTRL_DQ = 0.
0 on DQn.A
1 on DQn.A
Modes and Functions
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents