Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Combinational Logic Design for PLC

Status
Not open for further replies.

david90

Advanced Member level 1
Joined
May 5, 2004
Messages
423
Helped
9
Reputation
18
Reaction score
4
Trophy points
1,298
Activity points
3,610
What are some ways to be organized when writing combinational logic? When I write combinational logic, I just do it as I go along and it often leads to confusion because combinational logic doesn't have any structure.

I'm a lot more organized when writing sequential logic because I have a flow chart.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,464
Helped
14,042
Reputation
28,337
Reaction score
12,693
Trophy points
1,393
Location
Bochum, Germany
Activity points
276,041
In my opinion, the structure of PLC programs should mainly consider readability criteria rather than minimizing logical terms. It's also quite unusual to have very complex combinational logic expressions in PLC programs I think. Which PLC programming language you're referring to?
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,181
Helped
1,140
Reputation
2,299
Reaction score
1,116
Trophy points
1,403
Location
Brazil
Activity points
53,323
david,


Combinational logic at PLC enviroment are commonly required to perform simple tasks, like interlocking.
However, according speed constraints of target in where it is applyed, you must take much care, due internally, those jobs are treated sequentially, depending up of internal PLC archicteture.
( You build combinational blocks wich are processed by PLC firmware, sequentially )

+++
 

SparkyBoy

Newbie level 5
Joined
Nov 23, 2010
Messages
9
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
UK
Activity points
1,358
If you can find some structure to the design of the machine or process you are controlling, then with various binary/integer flags you can create a psuedo-sequential program. Flags are set or reset according to the state of the machine. If a flag is not set then it prevents a sequence of lines/networks being evaluated.

A lot of car manufacturing production lines use PLC's with a very well defined sequential standard - using ladder logic with sub-routines.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top