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

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
158
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
569
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
326
Hi! I need help converting an old MicroLogix 1100 project to Micro 820. Project Details I have an old MicroLogix 1100 program that has been in...
Replies
0
Views
470
Hello friends. I need to write a program. This is exactly what is asked of me: When Sensor 1 and Sensor 2 give output, it will allow Robot to...
Replies
3
Views
950
Back
Top Bottom