6/8/2012 10:26 AM | |
Joined: 1/17/2007 Last visit: 10/21/2024 Posts: 1547 Rating: (537) |
I take it you mean using a scheme similar to a keyboard matrix circuit. There is a good example of how this works here. Obviously the buttons would be replaced by switches in you case. I hope this is what you are after. |
Programming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
This contribution was helpful to2 thankful Users |
6/8/2012 12:11 PM | |
Joined: 8/16/2010 Last visit: 11/5/2024 Posts: 638 Rating: (12) |
So I need to configure hardware like on attached .pdf. M tags is for contacts on motor circuit breaker. When starting PLC, on OB100 startup I need to set outputs (+24Vdc). Now I can check states of inputs and outputs and set bits to indicate motor cicrcuit open contact. But, what happens is M2 is off, how to check state of M6. What if whole first row is off (M1,M2,M3,M4). How to configure hardware to work good? Attachmentmatrix.pdf (461 Downloads) |
Last edited by: Milosh at: 6/8/2012 12:12 PM |
|
6/8/2012 12:53 PM | |
Joined: 8/16/2010 Last visit: 11/5/2024 Posts: 638 Rating: (12) |
Ok Thanks. So I can use scheme in my .pdf and multiplexing(programm) as you say? |
6/10/2012 11:06 AM | |
Joined: 8/16/2010 Last visit: 11/5/2024 Posts: 638 Rating: (12) |
Hi again. I made some changes in my scheme. Can some provide if my scheme is good? I think that now I can do checking in OB cyclic interrupt as smiffy said. Attachmentmatrix.pdf (474 Downloads) |
Follow us on