当前位置:首页阅读

PLC基本知识--3.4基本编程示例(顺便学英文)

PLC基本知识--3.4基本编程示例(顺便学英文)

基本

PLC基本知识--3.4基本编程示例(顺便学英文)

Now lets compare a simple ladder diagram with its real world external physically connected relay circuit and SEE the differences.

现在让我们将一个简单的梯形图与它的真实世界外部物理连接的继电器电路进行比较,看看有什么不同。

PLC基本知识--3.4基本编程示例(顺便学英文)_WWW.XUNWANGBA.COM

In the above circuit, the coil will be energized when there is a closed loop between the “+” and “-” terminals of the battery. We can simulate this same circuit with a ladder diagram. A ladder diagram consists of inp>

在上面的电路中,当电池的正极(+)和负极(-)之间有一个闭合回路时,线圈将被通电。我们可以用梯形图来模拟这个电路。梯形图由单独的梯级组成,就像真正的梯子一样,每个横档必须包含一个或多个输入和一个或多个输出。一个横档上的第一个指令必须始终是输入指令,而横档上的最后一条指令必须始终是输出指令(或其等效指令)。

PLC基本知识--3.4基本编程示例(顺便学英文)_WWW.XUNWANGBA.COM

Notice in this simple one rung ladder diagram we have recreated the external circuit above with a ladder diagram. Here we used the Load and Out instructions. Some manufacturers require that every ladder diagram include an END instruction on the last rung. Some PLCs also require an ENDH instruction on the rung after the END rung.

注意,在这个简单的单级梯形图中,我们用梯形图重新创建了上面的外部电路。这里我们使用了LOAD指令和OUT指令。一些制造商要求每一个梯形图最后一个梯级上包括一个END指令,一些PLC还需要在END指令之后的梯级上执行ENDH指令。

Next well trace the registers. Registers? Lets see...

接下来我们来追踪寄存器,寄存器?让我们看看…

PLC基本知识--3.4基本编程示例(顺便学英文)_WWW.XUNWANGBA.COM

以上就是(PLC基本知识--3.4基本编程示例(顺便学英文))全部内容,收藏起来下次访问不迷路!