EasyManuals Logo
Home>Siemens>Controller>CPU 1518-4 PN/DP ODK

Siemens CPU 1518-4 PN/DP ODK User Manual

Siemens CPU 1518-4 PN/DP ODK
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 CPU 1518-4 PN/DP ODK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CPU 1518-4 PN/DP ODK and is the answer not in the manual?

Siemens CPU 1518-4 PN/DP ODK Specifications

General IconGeneral
BrandSiemens
ModelCPU 1518-4 PN/DP ODK
CategoryController
LanguageEnglish

Related product manuals