got a doubt in programming

anbu

Member
Join Date
Jan 2005
Posts
6
hi all..
can anyone help me out in developing logic for flicker ckt..particularly using GE Fanuc plc..

the idea is ..
1.i have two NO type push bottons(START and STOP).
2.upon pressing START pb i need to make the lamp to flick with
some time interval.
3. upon pressing STOP pb the lamp should glow continuosly..

i got the logic using keyance plc..but i can't get it for GE Fanuc plc..i dono where i went wrong..please help me out in this regard.
 

Timer Timer
-----|\|-----------------( )



Timer Clock Clock
-----| |-------|\|---+---( )
|
Timer Clock |
-----|\|-------| |---+



Start Stop FlickerOn
-----| |----+--|\|-------( )
|
FlickerOn |
-----| |----+


Clock Output
-----| |----+------------( )
|
FlickerOn |
-----|/|----+



 
thanx panic mode

thank u panic mode for ur kindly help in this regard ...
thanx a lot
 
panic mode,

I hope anbu's teacher is a regular here. That way he can grade you rather than anbu.

I know what anbu's grade would be if he was one of my pupils. But that's unlikely because I don't give them this kind of assignments.

Regards,
 
anbu...

The easiest way to figure out these kinds of problems is to draw a timing diagram.

The description you gave produces the following timing diagram. Is this what you intended?

It sure looks weird to me.

"--" = non-timed condition
"tt" = timed condition


+---+ +---+
START PB | | | |
------------+ +----------------------------+ +-----------------
|
+---+ |
STOP PB | | |
--------------------------------+ +-----------
| |
+tt+ +tt+ +tt+ +t+------------+tt+ +tt+ +tt+ +tt>
LIGHT | | | | | | | | | | | | |
------------+ +tt+ +tt+ +tt+ +tt+ +tt+ +tt+

|-- Flash Light --|- Solid ON -|-- Flash Light -- >



Panic Mode...

You didn't follow your own advice... you didn't ask how his code was supposed to work. His description produces the timing diagram described above. Does that look reasonable to you? It looks goofy to me.

Once the Start Button is initially pressed, after power-up, the light continues flashing until the Stop Button is pressed at which point the light goes on solid until the Start Button is again pressed at which point the light begins flashing again... goofy.

Maybe there is method in this madness... but I don't see it.
 
I guess I just don't get it. I see what they are teaching, I see what is being turned loose into the job market. We do see a post once in awhile where one of these guys has a job or interview, and it is totally over his head.

I think all the classes should use an Entertron, TRI, or other circuit board type PLC, so that these newcomers can show up on the job, and ask "What' is this Black Box thing? Or "What is this thingie with the plug in cards"?

It just doesn't get any better? Or does it?

Pour me another MGD into the mnitor.....

regards.....casey
 
Last edited:
you didn't ask how his code was supposed to work

yeah... so what? i think you take it way too seriously, it's not
life or death situation...

first of all, i am not his teacher and what do i care...?
if i mess him up what is he going to do? tell everyone it was not
his solution and he got the answer from some anonimous guy from
internet named "panic mode"? :D

another thing is that many people here are absolutelly paranoid
when it comes to helping students. i don't mind, this place IS
about learning and i've learned thing or two too myself...

i do agree that everyone needs to work it out on it on his own
and i sure like to help (a little) and point people in the
right direction. he seam to be satisfied, maybe all he needed
was just a little push or example.

i gave him something to work with, not nececarily complete solution.
i am too lazy to study someone else's problems or analyze their
post or every word to death like i'm forensic guy... cheelax man...
i wouldn't give him complete (or best) solution anyway no matter
how good or detailed his elaboration of the problem is.
(except maybe by accident, unintentionally...)

you know, after all, i wouldn't like to loose my job to somone
who got there by cheating or reading my own posts. ;)

see, now you made me spend 30min writing this reply instead of
playing my favourite game. I didn't even open my beer yet...
 
Last edited:
TDMartin said:
GE PLC's have an internal bit S5 that toggles on/off at 1 sec. intervals. This will save you from having to program a flip flop.
The %S5 bit is on for 1/2 second and off for 1/2 second, this gives you 1 on transition and 1 off transition each second.
 
hi all..
u people doing a serious discussion on what i made..
any how its nice to be the part of this.
its good idea to go with the bit %s5..thanx russB
i've got the soln by drawing timing diagram what terry wood just pointed out..

this is the logic that i've developed in keyence plc..for which if a press stop pb the lamp stops flickering

0000 0001
Start stop coil
-----| |----+--|\|-------( )------|
| 500
coil |
-----| |----+
500

coil t2 timer 5sec
-----| |--------|\| -----|t-1|-------|
500 |
| t1 timer 5sec
|---| |-------|t-2 |-------|
| lamp
|---------( )------|
501

but i didn't get the logic work when i try that usin GE Fanuc..

any way thanx to all people for spending ur time for the small issue..
regards,,
 
Last edited:

Similar Topics

Hi All, Someone at work has put a PLC system on my desk, that's just been taken off an idle production line. He said "It's an S7 PLC. We don't...
Replies
10
Views
247
Hello everyone, its been 8 years since I frequented this forum. I had a lifetime membership with my old profile, but could not remember my...
Replies
17
Views
950
I'm trying to manually convert a Beijer E200 HMI project onto to a new Mitsubishi GOT gs2107-wtbd. The PLC is a very old A-series AS1CPU and is...
Replies
1
Views
382
Is there an output or something that is similar to a screen saver, but you can use in the plc to know when the user is actively using it...
Replies
1
Views
502
Back
Top Bottom