Help with Program

papagyo

Member
Join Date
Sep 2002
Posts
10
Being a total novice to PLC programs I would like to know how to implement this:

1 counter (input)
1 High voltage (input)

4 BCD inputs decoded that give 8 possible outputs.

what needs to happen is this..when high voltage line is active the counter becomes active and records pulses from the machine. At the same time a BCD input (energy select mode) is ANDed with these signals and one of eight possible is selected and the count is then sent there stored as an accumulating number (running total).

Any help with this would be greatly appreciated..thanks very much in advance.

Brian
 
Last edited:
Tyhe high voltage input must be buffered or interposed by a relay with a coil of the same voltage as the high voltage. The input voltage of the plc can then be fed through the contacts of this relay. If it is a very fast pulse, then a solid state relay can be used.

You dont say which plc you are using, but most have a decode function that works in binary. 4 inputs will give you a possibility of 16 selection (0 to 15)
 
post Topic

jdbrandt,

Thanks for the help but this is what I was trying already..without success (or perhaps you just need to explain your program a little more) I am assuming that you have put a counter on each BCD rung. This will not work because the freq of the pulses exceeds 1.7KHz which is too fast for a regular counter. What I need to do is have the pulses go into a high speed counter and each time it counts 100 pulses it will increment a regular counter on each BCD rung. Can you explain how to make the high speed counter and regular counter work like this?

papagyo
 

Similar Topics

I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
109
Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
26
Views
571
Hi all, I am having issues accessing my Cimplicity software - the site code changed after re-install and I am no longer able to attain a new key...
Replies
10
Views
197
I am completely stuck on building a ladder program that requires a start button to be pressed 3 times to turn on motor 1. Then motor 2 starts...
Replies
20
Views
637
Hi all, I’m new to programming and want to write a simple routine. Push start button, turns on sensor. 2 second delay before anymore logic read...
Replies
1
Views
346
Back
Top Bottom