Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: LWgreys on June 12, 2017, 03:20:38 PM
-
I modified this circuit and it's doing something weird. the output is delaying to turn off when it should turn off immediately when the normally close contact turn on. I included a screen shot of the circuit and trend view.
-
How often is INFEED being executed?
-
Sorry...see that it is a program block. Working from iPad mini...
-
The infeed block is on all the time. This is the only rung acting like this. I cleared the plc memory and reload the program and still the same rung is doing this. There is no other DLY251 in the program, just here at this rung.
-
If you'll send the program to support@hosteng.com, we're happy to look at it.
-
Just want to let you know, it doesn't matter what you punt in the OUT statement a "C" "Y" it still does this.
The program is running on a H2-DM1. It setup as a simulator for debugging and testing before uploading to the operating PLC. No I/O sense all the I/O logic is through the ERM to Terminator I/O. Its setup that way because the first PLC was DL260.
I'll have to send it by email to you!
I don't know if you want just the Infeed program or the whole program.
-
Send the whole program.
-
It's on it's way!
-
It's on it's way!
I won't be back in the office until Thursday, but somebody should be able to look over it sooner.
-
No rush!
-
I think I found the cause. I was doing some searches and found the sim_infeed task is acting weird also. So I set that task to the top of the execution order and it stop doing the weird stuff. But it still does the weird stuff on rung 4 of sim_infeed task. something to do with the timer. Non of my programs or task do any yielding.
-
I have it figured out. It's a timing issue between two timers that SET and RST DLX136.
Also could you make a timer that has an On-Time and Off-Time in one timer. Like an interval timer is. So long power is supplied to the timer the contacts cycle ON for time set and OFF time set and so on, until the timer is turned off. Off resets the timer.
-
I fixed it! Took all the timers out and replaced them with a DRUM sequence. Now it doing what it's suppose to do, simulate the board movement.