203
CHAPTER
7
The Analog
Input/Output System
Industrial Text & Video Company 1-800-752-8398
www.industrialtext.com
SECTION
2
Components
and Systems
Figure 7-19 illustrates the binary transfer of information to an analog
output module via a multibit instruction. Assume that the output
module converts a digital signal equaling the binary value 0000 0000
0000 (0 decimal) to an analog value that makes the control valve be
completely closed, while it converts a value of 1111 1111 1111 (4095
decimal) to an analog value that makes the valve be fully open. What
will the state of the valve be according to the contents of register 2000?
S
OLUTION
The value stored in register 2000 is 0000 0011 1111, equivalent to
decimal 63. The valve is open approximately 1/64th (or 1.56%) of its
fully open position. Note that the position of the valve is determined by
the decimal equivalent of the binary value, not the number of 1s—a
binary number with half 1s and half 0s does not mean that the valve is
half open. If the value in the register had been in BCD, the module
would have converted that number to determine the valve position.
7-8 ANALOG OUTPUT DATA REPRESENTATION
Like analog inputs, analog output interfaces are usually connected to
controlling devices through transducers (see Figure 7-20). These transducers
amplify, reduce, or change the discrete voltage signal into an analog signal,
which in turn, controls the output device. Since there are many types of
controlling devices, transducers are available in several standard voltage and
current ratings. Table 7-5 lists some of the standard ratings used in program-
mable controllers with analog output capabilities.
Figure 7-20. Analog output device connected to a transducer.
Transducer
Analog
Output
Module
Binary data
to module
from processor
Transforms
digital value to
voltage or current
Takes voltage or
current and affects or
controls the process
Example:
Voltage to pressure
Effect:
Increase or decrease
psi in process
Process
Figure 7-19. Block transfer of register contents to an analog output module.
SOLUTION
The value stored in register 2000 is 0000 0011 1111, which is
equivalent to decimal 63. Thus, the valve is open approximately
1/65th, or 1.53%, of its fully open position (63 ÷ 4095 = 1.53%). Note
that the position of the valve is determined by the decimal equivalent
of the binary value, not the number of 1s and 0s—a binary number with
half 1s and half 0s does not indicate that the valve is half open. If the
value in the register had been in BCD, the output module would have
converted the value to decimal to determine the valve position.
Analog Output Module
12
Word/
Register
2000
Block transfer
in instruction
Decimal
0
4095
Binary
0000 0000 0000 Valve Closed
1111 1111 1111 Full Open
Control
Valve
000000111111
0000000000111111
D/A
Storage Area
171615141312111076543210
1110 789 6543210