473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Programmable Logic Circuits and C

HEY GUYS:

I have been a hobbist C programer for 1 year or so...
I am wondering about PLC's and if they can be programmed in C. If so; what
books are there on the subject? Any help is greatly appreciated..

TIA

Pat Cavanagh
pc*******@eastlink.ca

Nov 13 '05 #1
2 3479
On Wed, 1 Oct 2003 20:30:51 -0300, "Pat Cavanagh"
<pc*******@eastlink.ca> wrote in comp.lang.c:
HEY GUYS:

I have been a hobbist C programer for 1 year or so...
I am wondering about PLC's and if they can be programmed in C. If so; what
books are there on the subject? Any help is greatly appreciated..

TIA

Pat Cavanagh
pc*******@eastlink.ca


PLCs are Programmable Logic Controllers, although sometimes other,
similar acronyms are used. They are generally not programmed, having
their own proprietary programming languages provided by their
manufacturers.

They are really not topical here, perhaps you would have more luck in
comp.arch.embedded.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
Nov 13 '05 #2

"Jack Klein" <ja*******@spamcop.net> wrote in message
news:fn********************************@4ax.com...
On Wed, 1 Oct 2003 20:30:51 -0300, "Pat Cavanagh"
<pc*******@eastlink.ca> wrote in comp.lang.c:
I have been a hobbist C programer for 1 year or so...
I am wondering about PLC's and if they can be programmed in C. If so; what books are there on the subject? Any help is greatly appreciated..

PLCs are Programmable Logic Controllers, although sometimes other,
similar acronyms are used. They are generally not programmed, having
their own proprietary programming languages provided by their
manufacturers.


Oh, I thought he meant logic programming, as should be done in VHDL or
Verilog. There are people doing it in C, but I think it is a bad idea. C
tends to imply serial execution of statements, but the logic in a circuit is
all active at once. A language that can describe that is somewhat different
than C.

One reason for using C as a hardware description language would be to port
software algorithms to hardware. I believe that if you want a reasonable
implementation an algorithm designed to be implemented in hardware should be
used.

I don't believe that one conforming to the C standard would be very useful,
and a non conforming one would be off topic.

-- glen
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Eric Bergman-Terrell | last post by:
If you like the C# programming language and RPN (HP style) calculators, you'll love C# Programmable Calculator. Take a look at it at: http://www.personalmicrocosms.com/html/cspcalc.html ...
1
by: Eric Terrell | last post by:
Folks: I've posted the full source code to C# Programmable Calculator at my website: http://www.personalmicrocosms.com/html/cspcalc.html C# Programmable Calculator is a Reverse Polish...
6
by: John Dann | last post by:
I guess there's no such thing as programmable breakpoints? I'm trying to debug a program that has a problem deep inside a long loop, eg at iteration 2000 of around 4000, which makes it...
5
by: pcnerd | last post by:
I just recently got VB.NET 2005 Express Edition. How do I represent logic gates (AND, OR, NOT, etc.) in VB? I considered a function because functions return a value. For example, a 2-input AND...
7
by: johnb41 | last post by:
Does anyone have experience with LEGO Mindstorms? I just found out about it and it seems so cool! You can create intelligent robots with vision, feel, hearing, movement, etc, and it's all...
1
by: sherita04 | last post by:
Iam having one c program to design combinational logic circuits. There is no error and no warnings. But while executing it 'debug error fail' occuring, since there is no input file for that. the...
15
by: Bjoern Schliessmann | last post by:
Hello all, I'm trying to simulate simple electric logic (asynchronous) circuits. By "simple" I mean that I only want to know if I have "current" or "no current" (it's quite digital) and the only...
2
by: =?Utf-8?B?TWlrZSBLcmFsZXk=?= | last post by:
In my ASP.NET application, I'd like to set limits on the maximum size of an uploaded file. Normally I'd just set the maxRequestLength of the httpRuntime element in web.config. But in this case,...
0
by: James Mills | last post by:
Hi all, I'm pleased to announce the release of circuits-1.0a2 Overview ====== circuits is an event-driven framework with a focus on Component Software Architectures where System...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.