PLC 梯形图逻辑输出
在单个梯级上可以有多少个输出。如果你有不止一个。是“与”逻辑,还是“或”逻辑。串联或并联。我正在尝试使用带有关闭输入指令的延迟指令定时器使六个灯闪烁。我将使用 Allen Bradley SLC 500 系列 PLC。
On a single ladder rung how many outputs can you have. If you have more than one. Would it be AND Logic, or OR Logic. Series, or parallel. I'm trying to make six lights flash using timer on delay instructions with a closed input instruction. I will using an Allen Bradley SLC 500 series PLC.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 ControlLogix 或 CompactLogix PLC 中,梯形逻辑梯级可以具有任意数量的输出 (OTE),既可以在逻辑梯级的右侧,也可以在逻辑梯级的中间。
每个输出仅由导致其的逻辑控制。如果梯级中的同一点有多个输出,它们的输出都会反映从梯级启动到该点的逻辑条件。这是一种常用方法,用于同时用同一信号驱动多个输出。
如果梯级中的不同点有多个输出,则每个输出都将具有与导致该输出的逻辑相对应的输出。 OTE 下游的逻辑就像 OTE 不存在一样。
现在,您可能拥有由梯级内的逻辑控制的复杂设备(例如定时器)。
显然,依赖于复杂设备输出的进一步逻辑(例如,定时器完成)将不会独立于复杂设备的行为。但就像 OTE 一样,一个梯级中可能有许多复杂的设备。
In a ControlLogix or CompactLogix PLC a ladder logic rung may have as many outputs (OTE) as you like, both at the right hand end of logic rung and even in the middle of a logic rung.
Each output is controlled only by the logic leading up to it. If you have multiple outputs at the same point in the rung, they will all have the output reflecting the logic condition from the rung start up to that point. This is a common method used to drive several outputs with the same signal at once.
If you have multiple outputs at different points in the rung, each will have outputs that correspond to the logic leading to that output. Logic downstream from an OTE acts as if the OTE wasn't present.
Now, you may have complex devices (e.g., Timer) controlled by logic within a rung.
Obviouosly, further logic that depends on the output of the complex device (e.., Timer Done) will not be independent of the behaviour of complex device. But just like OTEs, you may have lots of complex devices in a rung.
如果您正在对 SLC500 进行编程,则不能在梯级中间放置 OTE。它必须位于梯级的最右侧。然而,您可以(这是一种常见的做法)围绕 OTE 创建一个分支,并在其自己的分支上(同样位于分支的最右侧)拥有另一个 OTE(或 OTU、OTL 或任何其他输出)。
因此,使用此方法,您可以在任何给定梯级上拥有尽可能多的 OTE。然而,最佳做法是限制数量(例如每个梯级 10 或 20 个)以提高可读性,并根据需要将其拆分为多个梯级。
If you are programming an SLC500 then you cannot have an OTE in the middle of a rung. It must be at the very right hand side of the rung. You may however (and is a common practice) create a branch around the OTE and have another OTE (or OTU, or OTL, or any other output) on its own branch (again at the very right of the branch).
So using this method you can have as many OTEs on any given rung. However a best practice is to limit the number (to say 10 or 20 per rung) for readability and split them onto several rungs as necessary.