Programming an AND via inputs

khewes

Member
Join Date
May 2016
Location
New Hampshire
Posts
123
Hello everyone,
I want to program an AND operation by setting two inputs to true. I have these two inputs as one shots so they stay true after a momentary pressed. I then have another input ("enter") that activates the AND operation, after this "enter" input is completed, I want the two inputs used for the AND operation to toggle back off.

I have no idea what to do. Any Ideas?

do you guys need to see the code?
 
Code is always nice to have. Can I ask what you are trying to achieve with this, though? Unless I am misunderstanding something, I usually just program AND gates by putting the two inputs in series with the output...
 
Code is always nice to have. Can I ask what you are trying to achieve with this, though? Unless I am misunderstanding something, I usually just program AND gates by putting the two inputs in series with the output...

Im trying to program an ADD function that will be put into a timer preset value.
I want the time to be entered in via a user, so I have a tens column and singles column...the user enters in 2 in the tens column, 3 in the single column, and hits enter. then the timer will be programmed to run for 23 seconds. if need be i will add a hundreds column but that would take forever.

If i wanted to i could use a move function but it wouldn't be any different I dont think.

Im using the free software, im confident if i had the computation operation feature this would be a lot simpler and neater.
 

Similar Topics

This might test someones memory, Quantum 434 I have fitted an NOE 771 ehternet card into an existing quantum rack, I managed to get the IP...
Replies
0
Views
1,026
Hi Sir, I am using S7-300/400. I am usually using FC 03 and FC04 to transfer (R/W) bool values by moving them DBs. However i want to R/W bool...
Replies
1
Views
2,058
im trying to connect a fx-1n PLC with hyperterminal using USB-SC09 (rs-232<->rs-422 adaptor). im using computer link with a dedicated protocol...
Replies
2
Views
3,189
Hello everyone.. Is it possible to program an AB PLC via ethernet port, using cross cable? Im doing a costing for hardwares for training purposes...
Replies
12
Views
4,048
Hi All. Wonder if some1 can help me. Im using a FX3G mitsubishi PLC and want to communicate via the RS422 coms port instead of adding a 232-BD...
Replies
1
Views
4,076
Back
Top Bottom