EasyManua.ls Logo

Easy Electronics xLogic Micro PLC - Pulse Width Modulator (PWM)

Easy Electronics xLogic Micro PLC
293 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
Loading...
169
6.5.28PulseWidthModulator(PWM)
ShortDescription:
ThePulseWidthModulator(PWM)instructionmodulatestheanaloginputvalueAxtoapulseddigital
outputsignal.ThepulsewidthisproportionaltotheanalogvalueAx.
connection Description
EN Apositiveedge(0to1transition)at
inputEnenablesthePWMfunction
block.
Input Ax Analogsignaltobemodulatedtoa
pulseddigitaloutputsignal.
parameter
A: Gain
Rangeofvalues:+-10.00
B: Zerooffset
Rangeofvalues:+-10,000
PT: Periodictimeoverwhichthedigital
outputismodulated
p: Numberofdecimals
Rangeofvalues:0,1,2,3
Output Q Qissetorresetfortheproportionofeachtime
periodaccordingtotheproportionofthe
standardizedvalueAxtotheanalogvaluerange.
ParameterPT
TheperiodictimePTcanbeprovidedbytheactualvalueofanotheralready-programmedfunction:
Analogcomparator:Ax Ay
Analogtrigger:Ax
Analogamplifier:Ax
Analogmultiplexer:AQ

Table of Contents