12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

plc analog - 22.18<br />

N9:0<br />

0<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

8<br />

9<br />

10<br />

11<br />

12<br />

D1<br />

D2<br />

D3<br />

D4<br />

f s s s s s s s s p4 p3 p2 p1<br />

L1<br />

U1<br />

L2<br />

U2<br />

L3<br />

U3<br />

L4<br />

U4<br />

D - data value words for channels 1, 2, 3 or 4<br />

f - data format bit (1) binary, (0) BCD<br />

s - scaling factor bits<br />

p - data sign bits for the four output channels<br />

L - lower scaling limit words for output channels 1, 2, 3 or 4<br />

U - upper scaling limit words for output channels 1, 2, 3 or 4<br />

Figure 22.14<br />

Configuration Data for a 1771-OFE Output Card<br />

22.3.2 Pulse Width Modulation (PWM) Outputs<br />

An equivalent analog output voltage can be generated using pulse width modulation,<br />

as shown in Figure 22.15. In this method the output circuitry is only capable of outputing<br />

a fixed voltage (in the figure ’A’) or 0V. To obtain an analog voltage between the<br />

maximum <strong>and</strong> minimum the voltage is turned on <strong>and</strong> off quickly to reduce the effective<br />

voltage. The output is a square wave voltage at a high frequency, typically over 20Khz,<br />

above the hearing range. The duty cycle of the wave determines the effective voltage of<br />

the output. It is the percentage of time the output is on relative to the time it is off. If the<br />

duty cycle is 100% the output is always on. If the wave is on for the same time it is off the<br />

duty cycle is 50%. If the wave is always off, the duty cycle is 0%.<br />

www.PA<strong>Control</strong>.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!