【正文】
ithms and performance beyond the capability of even highperformance PLCs. Very highspeed or precision controls may also require customized solutions。 where processes required hundreds or thousands of loops, a distributed control system (DCS) would instead be used. However, as PLCs have bee more powerful, the boundary between DCS and PLC applications has bee less clearcut. Digital and analog signals Digital or discrete signals behave as binary switches, yielding simply an On or Off signal (1 or 0, True or False, respectively). Push buttons, limit switches, and photoelectric sensors are examples of devices providing a discrete signal. Discrete signals are sent using either voltage or current, where a specific range is designated as On and another as Off. For example, a PLC might use 24 V DC I/O, with values above 22 V DC representing On, values below 2VDC representing Off, and intermediate values undefined. Initially, PLCs had only discrete I/O. Analog signals are like volume controls, with a range of values between zero and fullscale. These are typically interpreted as integer values (counts) by the PLC, with various ranges of accuracy depending on the device and the number of bits available to store the data. As PLCs typically use 16bit signed binary processors, the integer values are limited between 32,768 and +32,767. Pressure, temperature, flow, and weight are often represented by analog signals. Analog signals can use voltage or current with a magnitude proportional to the value of the process signal. For example, an analog 420 mA or 0 10 V input would be converted into an integer value of 0 32767. Example As an example, say a facility needs to store water in a tank. The water is drawn from the tank by another system, as needed, and our example system must manage the water level in the tank. Using only digital signals, the PLC has two digital inputs from float switches (tank empty and tank full). The PLC uses a digital output to open and close the inlet valve into the tank. When the water level drops enough so that the tank empty float switch is off (down), the PLC will open the valve to let more water in. Once the water level raises enough so that the tank full switch is on (up), the PLC will shut the inlet to stop the water from overflowing. An analog system might use a water pressure sensor or a load cell, and an adjustable (throttling)dripping out of the tank, the valve adjusts to slowly drip water back into the tank. In this system, to avoid 39。 adjustments that can wear out the valve, many PLCs incorporate hysteresis which essentially creates a deadband of activity. A technician adjusts this deadband so the valve moves only for a significant change in rate. This will in turn minimize the motion of the valve, and reduce its wear. A real system might bine both approaches, using float switches and simple valves to prevent spills, and a rate sensor and rate valve to optimize refill rates and prevent water hammer. Backup and maintenance methods can make a real system very plicated. System scale A small PLC will have a fixed number of connections built in for inputs and outputs. Typically, expansions are available if the base model does not have enough I/O. PLCs used in larger I/O systems may have peertopeer (P2P) munication between processors. This allows separate parts of a plex proce