Function: Direct Control Of The Pulse Output (Dqa) - Siemens Simatic S7-1500 CPU 1512C-1 PN User Manual

Hide thumbs Also See for Simatic S7-1500 CPU 1512C-1 PN:
Table of Contents

Advertisement

Technology functions
3.2 Pulse generators
3.2.2.2

Function: Direct control of the pulse output (DQA)

Direct control of the pulse output (DQA)
In the modes "Pulse width modulation PWM" and "Frequency output", you can set the pulse
output (DQA) of a pulse generator directly via the control program. Select the function for the
DQ direct control by deleting the output control bit of the PWM channel (TM_CTRL_DQ = 0)
in the control interface.
The direct control of the pulse output (DQA) can be helpful when commissioning a control
system for automation.
When you select the direct control of the pulse output (DQA) during a pulse output
sequence, the sequence continues to run in the background so that the output sequence is
continued as soon as the channel takes control again (by setting TM_CTRL_DQ = 1).
You assign the status of the pulse output (DQA) using the control bits SET_DQA.
When you set TM_CTRL_DQ = 1, you deselect the direct control of the pulse output (DQA)
and the channel takes over the processing. If the output sequence is still running
(STS_ENABLE still active), the PWM channel takes over the control of the output again. If
TM_CTRL_DQ = 1 and STS_ENABLE is not active, the module's channel also takes over
processing, but then outputs "0".
Note
Output signal TM_CTRL_DQ of the PWM channel
• If TM_CTRL_DQ = 1, the technology function takes over the control and generates pulse
sequences at the output PWM DQA.
• If TM_CTRL_DQ = 0, the user program takes over the control and the user can set the
PWM DQA directly using the control bits SET_DQA.
68
CPU 1512C-1 PN (6ES7512-1CK01-0AB0)
Manual, 12/2017, A5E40898741-AA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents