EasyManuals Logo

Siemens Simatic S7-1500 User Manual

Siemens Simatic S7-1500
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #62 background imageLoading...
Page #62 background image
Technology functions
3.2 Pulse generators
CPU 1512C-1 PN (6ES7512-1CK00-0AB0)
62 Manual, 09/2016, A5E35306440-AB
3.2.3
Configuring the PWM and frequency output modes
3.2.3.1
Assignment of the control interface
The user program influences the behavior of the PWM channel through the control interface.
Control interface per channel
The following table shows the control interface assignment:
Table 3- 5 Assignment of the control interface
7
6
5
4
3
2
1
0
Byte 0
OUTPUT_VALUE
PWM: On-load factor * (Int)
In PWM mode, the on-load factor uses only the two least significant bytes (byte 2 and byte 3).
Frequency output: Frequency in Hz (Real)
Byte 1
Byte 2
Byte 3
Byte 4
SLOT
Byte 5
Byte 6
Byte 7
Byte 8 Reserved = 0 MODE_SL
OT
LD_SLOT
Specifies the meaning of the value under SLOT
0000: No action
0001: Period duration (PWM)
0010 to 1111: Reserved
Byte 9 Reserved = 0 Reserved
= 0
Reserved
= 0
SET_DQA Reserved
= 0
TM_CTRL_
DQ
SW_ENA
BLE
Byte 10 Reserved = 0 RES_ERR
OR
Byte 11
Reserved = 0
* The terms "On-load factor", "Pulse duty factor" and "Duty factor" can be used synonymously
Use case
1. Transfer the control for the output to the PWM channel.
2. Set SW_ENABLE, in order that the output can be started.
3. Set the required on-load factor using OUTPUT_VALUE.
4. If necessary, change the period duration (cyclic or once). If you do not change the value,
the period duration from the hardware configuration will be used.
5. With TM CTRL_DQ and SET_DQ set the output from the user program permanently to 1
or 0.
6. Acknowledge any errors that occur using RES_ERROR.
Additional parameters for the output sequence are defined before the start of an output
sequence.
The data record of the parameter assignment is changed in the device configuration in
STEP 7 (TIA Portal) or through WRREC execution.

Table of Contents

Other manuals for Siemens Simatic S7-1500

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7-1500 and is the answer not in the manual?

Siemens Simatic S7-1500 Specifications

General IconGeneral
Protection ClassIP20
Programming LanguageLAD, FBD, STL, SCL, GRAPH
Communication InterfacesPROFINET, PROFIBUS, Ethernet, OPC UA
MemoryWork memory and load memory (integrated or external memory card)
I/O ModulesDigital I/O, Analog I/O, Technology modules, Communication modules
Safety IntegratedYes (with fail-safe CPUs and modules)
RedundancyCPU redundancy possible with specific CPU types
Temperature Range0°C to 60°C (horizontal installation)
Digital InputsScalable through digital input modules
Digital OutputsScalable through digital output modules
Analog InputsScalable through analog input modules
Analog OutputsScalable through analog output modules
BackplaneIntegrated backplane for module connection
Real-time clockIntegrated real-time clock
CPU TypeVarious models available (e.g., CPU 1511-1 PN, CPU 1513-1 PN, CPU 1515-2 PN, CPU 1517-3 PN, CPU 1518-4 PN/DP)

Related product manuals