News:

  • June 26, 2026, 10:07:49 AM

Login with username, password and session length

Author Topic: Somthing weird going on here  (Read 14482 times)

LWgreys

  • Hero Member
  • *****
  • Posts: 117
Somthing weird going on here
« 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.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: Somthing weird going on here
« Reply #1 on: June 12, 2017, 03:28:25 PM »
How often is INFEED being executed?
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: Somthing weird going on here
« Reply #2 on: June 12, 2017, 03:29:39 PM »
Sorry...see that it is a program block. Working from iPad mini...
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

LWgreys

  • Hero Member
  • *****
  • Posts: 117
Re: Somthing weird going on here
« Reply #3 on: June 12, 2017, 03:35:33 PM »
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.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: Somthing weird going on here
« Reply #4 on: June 12, 2017, 03:38:44 PM »
If you'll send the program to support@hosteng.com, we're happy to look at it.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

LWgreys

  • Hero Member
  • *****
  • Posts: 117
Re: Somthing weird going on here
« Reply #5 on: June 12, 2017, 03:57:52 PM »
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.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: Somthing weird going on here
« Reply #6 on: June 12, 2017, 04:03:33 PM »
Send the whole program.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

LWgreys

  • Hero Member
  • *****
  • Posts: 117
Re: Somthing weird going on here
« Reply #7 on: June 12, 2017, 04:18:19 PM »
It's on it's way!

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: Somthing weird going on here
« Reply #8 on: June 12, 2017, 04:22:01 PM »
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.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

LWgreys

  • Hero Member
  • *****
  • Posts: 117
Re: Somthing weird going on here
« Reply #9 on: June 12, 2017, 04:25:03 PM »
No rush!

LWgreys

  • Hero Member
  • *****
  • Posts: 117
Re: Somthing weird going on here
« Reply #10 on: June 12, 2017, 11:40:51 PM »
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.

LWgreys

  • Hero Member
  • *****
  • Posts: 117
Re: Somthing weird going on here
« Reply #11 on: June 13, 2017, 02:19:50 PM »
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.

LWgreys

  • Hero Member
  • *****
  • Posts: 117
Re: Somthing weird going on here
« Reply #12 on: June 13, 2017, 11:32:08 PM »
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.