Hey guys, hopefully someone can help me out with real weasel of a problem.
I'm working on making a mobile PLC unit for a project and have run into waht I think is a software issue. Here's a quick rundown of the situation: the user inputs (touch screen) an arbitrary number of cycles for a loading/testing mechanism to complete, and upon pressing start the PLC runs that number of cycles and then stops. The mechanism in question has two cylinders, one is used for dispensing and BOTH are activated for unloading whatever is left in the hopper of the tester. The unloading is, ideally, controlled by a momentary button on the touch screen, separate from the cycling control system.
As of right now the cycling system is working flawlessly, correctly controlling teh one cylinder necessary for dispensing. The issue I'm seeing shows up when the unload sequence is run. The cylinder for unloading (remember, both need to activate) extends correctly, but the output used for the dispensing mentioned above does NOT activate, even though it works just fine for the cycling. I've tested with several different outputs, and it looks like the output used for dispensing just will not activate outside of teh cycling section of code. I've tried tying both outputs to the same input, and the unloading output will work but the dispensing output will not.
It's bizarre, almost like there's a lock on what can and cannot activate the output. Any ideas on what could be causing this behavior?
Software used: DirectSoft5
PLC: DirectLogic205
I'm working on making a mobile PLC unit for a project and have run into waht I think is a software issue. Here's a quick rundown of the situation: the user inputs (touch screen) an arbitrary number of cycles for a loading/testing mechanism to complete, and upon pressing start the PLC runs that number of cycles and then stops. The mechanism in question has two cylinders, one is used for dispensing and BOTH are activated for unloading whatever is left in the hopper of the tester. The unloading is, ideally, controlled by a momentary button on the touch screen, separate from the cycling control system.
As of right now the cycling system is working flawlessly, correctly controlling teh one cylinder necessary for dispensing. The issue I'm seeing shows up when the unload sequence is run. The cylinder for unloading (remember, both need to activate) extends correctly, but the output used for the dispensing mentioned above does NOT activate, even though it works just fine for the cycling. I've tested with several different outputs, and it looks like the output used for dispensing just will not activate outside of teh cycling section of code. I've tried tying both outputs to the same input, and the unloading output will work but the dispensing output will not.
It's bizarre, almost like there's a lock on what can and cannot activate the output. Any ideas on what could be causing this behavior?
Software used: DirectSoft5
PLC: DirectLogic205