Figure 1。1  Simple Relay Layouts and Schematics

Relays are used to let one power source close a switch for another (often high current) power source, while keeping them isolated。 An example of a relay in a simple control application is shown in Figure 1。2。 In this system the first relay on the left is used as normally closed, and will allow current to flow until a voltage is applied to the input A。 The second relay is normally open and will not allow current to flow until a voltage is applied to the input B。 If current is flowing through the first two relays then current will flow through the coil in the third relay, and close the switch for output C。 This circuit would normally be drawn in the ladder logic form。 This can be read logically as C will be on if A is off and B is on。

Figure 1。2 A Simple Relay Controller

The example in Figure 1。2 does not show the entire control system, but only the logic。 When we consider a PLC there are inputs, outputs, and the logic。 Figure 1。3 shows a more complete representation of the PLC。 Here there are two inputs from push buttons。We can imagine the inputs as activating 24V DC relay coils in the PLC。 This in turn drives an output relay that switches 115V AC, that will turn on a light。 Note, in actual PLCs inputs are never relays, but outputs are often relays。 The ladder logic in the PLC is actually a computer program that the user can enter and change。 Notice that both of the input push buttons are normally open, but the ladder logic inside the PLC has one normally open contact, and one normally closed contact。 Do not think that the ladder logic in the PLC need so match the inputs or outputs。 Many beginners will get caught trying to make the ladder logic match the input types。

Figure 1。3 A PLC Illustrated With Relays

Many relays also have multiple outputs (throws) and this allows an output relay to also be an input simultaneously。 The circuit shown in Figure 1。4 is an example of this, it is called a seal in circuit。 In this circuit the current can flow through either branch of the circuit, through the contacts labelled A or B。 The input B will only be on when the output B is on。 If B is off, and A is energized, then B will turn on。 If B turns on then the input B will turn on, and keep output B on even if input A goes off。 After B is turned on the output B will not turn off。

Figure 1。4 A Seal-in Circuit

1。2  Programming

The first PLCs were programmed with a technique that was based on relay logic wiring schematics。 This eliminated the need to teach the electricians, technicians and engineers how to program a computer - but, this method has stuck and it is the most common a technique for programming PLCs today。 An example of ladder logic can be seen in Figure 1。5。 To interpret this diagram imagine that the power is on the vertical line on the left hand side, we call this the hot rail。 On the right hand side is the neutral rail。 In the figure there are two rungs, and on each rung there are combinations of inputs (two vertical lines) and outputs (circles)。 If the inputs are opened or closed in the right combination the power can flow from the hot rail, through the inputs, to power the outputs, and finally to the neutral rail。 An input can come from a sensor, switch, or any other type of sensor。 An output will be some device outside the PLC that is switched on or off, such as lights or motors。 In the top rung the contacts are normally open and normally closed。 Which means if input A is on and input B is off, then power will flow through the output and activate it。 Any other combination of input values will result in the output X being off。

Figure 1。5 A Simple Ladder Logic Diagram

The second rung of Figure 1。5 is more complex, there are actually multiple combinations of inputs that will result in the output Y turning on。 On the left most part of the rung, power could flow through the top if C is off and D is on。 Power could also (and simultaneously) flow through the bottom if both E and F are true。 This would get power half way across the rung, and then if G or H is true the power will be delivered to output Y。 In later chapters we will examine how to interpret and construct these diagrams。

上一篇:切削加工新概念英文文献和中文翻译
下一篇:撑开式闸阀设计英文文献和中文翻译

建筑自动化英文文献和中文翻译

数控机床制造过程的碳排...

机械设计制造及其自动化英文文献和中文翻译

PLC仿真的虚拟工厂英文文献和中文翻译

PLC可编程控制器的介绍英文文献和中文翻译

模糊PLC系统的伺服机构英文文献和中文翻译

船舶自动化系统英文文献和中文翻译

浅谈高校行政管理人员的...

浅论职工思想政治工作茬...

压疮高危人群的标准化中...

从政策角度谈黑龙江對俄...

上海居民的社会参与研究

酵母菌发酵生产天然香料...

基于Joomla平台的计算机学院网站设计与开发

提高教育质量,构建大學生...

STC89C52单片机NRF24L01的无线病房呼叫系统设计

AES算法GPU协处理下分组加...