Re: microcontroller programming -- how to begin
- From: Ignoramus5457 <ignoramus5457@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 May 2006 20:49:50 GMT
On Thu, 25 May 2006 13:35:06 -0700, xray <notreally@xxxxxxxxxxxxxxx> wrote:
On Thu, 25 May 2006 18:38:53 GMT, Ignoramus5457
<ignoramus5457@xxxxxxxxxxxxxxxxxxx> wrote:
I am not too worried that I have to use BASIC. How do people write
these things in general? Do they have a main loop and a state machine?
What about timings, looks like this C280 does not have a built in
timer. And yet sometimes I need to do things for a certain time (such
as open gas valve before starting TIG welding), but they can be
interrupted, by, say, releasing foot pedal.
Am I stuck with having to use a counter sensor and external
oscillator?
Have you looked at the manual?
Yes, I am reading it.
It's an odd beastie. I never heard of ladder logic before, but seems to
be a combinational logic on inputs that happens in realtime. Equivalent
to stringing a bunch of switches in series/parallel strings.
Yes, seems to be similar to putting together a bunch of relays.
On its basic-language side it has OnTimer() which lets you set an
interrupt period down to 20 mS. I would think this should be enough for
your interval issues.
I think that you are right.
I would write a big event loop and make a case statement based on my
state (an enumeration).
You need to download their development environment to program the thing.
Did that already.
Doesn't seem like it has much memory, but hopefully enough for your
welder needs. Has built-in AD and DA and PWM so that's helpful.
Yes, I think that it is suitable for me.
i
.
- Follow-Ups:
- Re: microcontroller programming -- how to begin
- From: Rich Grise
- Re: microcontroller programming -- how to begin
- References:
- microcontroller programming -- how to begin
- From: Ignoramus5457
- Re: microcontroller programming -- how to begin
- From: Luhan
- Re: microcontroller programming -- how to begin
- From: Ignoramus5457
- Re: microcontroller programming -- how to begin
- From: martin griffith
- Re: microcontroller programming -- how to begin
- From: Nico Coesel
- Re: microcontroller programming -- how to begin
- From: Ignoramus5457
- Re: microcontroller programming -- how to begin
- From: xray
- microcontroller programming -- how to begin
- Prev by Date: Re: Looking for two-input comparator with hysteresis
- Next by Date: Re: No pain, no pair gain?
- Previous by thread: Re: microcontroller programming -- how to begin
- Next by thread: Re: microcontroller programming -- how to begin
- Index(es):
Relevant Pages
|