Hey guys I was just making a basic program for some game thing I was tryin out. I havent writ a plc program in probally a year so Im a little rusty. I was never that great to start haha. This is a basic program all it is is one master timer that counts to 2000seconds. It is triggered by a PB input. This pushbutton is held down which is why it doesnt latch in the program. Then i am using a greater then and less then function to compare times to the T4:acc and turn on an output accordingly, but my comparators arnt activating. Im using micrologix 1000
Here is a rough sketch:
----Input1--------------------------------------Timer4:0----
Greater Then T4:acc 1---- less then t4:acc 3--- output 1
I know this is rough which is why I have a picture attached. Its just the start, but the whole program is probably 10 compares then I have a reset at the end. Oh btw all the hardware is correct. None of the rungs light up green in the program.
http://yfrog.com/15gtdonep
Thanks Kevin
Edit: I forgot to mention everything seems to count properly. T4:acc will read 2, My greater then will read the 2 but still does not light up.
Here is a rough sketch:
----Input1--------------------------------------Timer4:0----
Greater Then T4:acc 1---- less then t4:acc 3--- output 1
I know this is rough which is why I have a picture attached. Its just the start, but the whole program is probably 10 compares then I have a reset at the end. Oh btw all the hardware is correct. None of the rungs light up green in the program.
http://yfrog.com/15gtdonep
Thanks Kevin
Edit: I forgot to mention everything seems to count properly. T4:acc will read 2, My greater then will read the 2 but still does not light up.
Last edited: