News:

  • April 16, 2026, 12:13:16 PM

Login with username, password and session length

Author Topic: Troubleshoot my code  (Read 11366 times)

ChrisB

  • Full Member
  • ***
  • Posts: 21
Troubleshoot my code
« on: May 29, 2010, 05:13:20 PM »
here it is

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Troubleshoot my code
« Reply #1 on: May 29, 2010, 05:48:05 PM »
What I get from the program:

On a non-special day you want screen 1 to be showing

On a special day you want that screen to be showing.

Do you do anything else with the screen?

Please call, it will be faster.
An output is a PLC's way of getting its inputs to change.

ChrisB

  • Full Member
  • ***
  • Posts: 21
Re: Troubleshoot my code
« Reply #2 on: May 29, 2010, 07:58:15 PM »
Still not quite right... Now it just says "Welcome to the .......'s" all the time. I am going to try and set up another 10 minute timer that starts when the door opens and latches. At the end of 10 minutes it will load screen 99 which i will go in and 'black' it out. So then when the door is opened/closed the timer will hopefully reset. See any problems with this logic Mr. Carlton? Thanks again                    Chris

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Troubleshoot my code
« Reply #3 on: May 29, 2010, 08:38:51 PM »
Sorry to not have much for others on this thread. Chris called me and we went through some possibilities. It's a PLC <-> HMI command/response problem. I'll try to give a more helpful summary when we get things worked out. But Chris is under the gun. Tomorrow is a birthday. The big test.
An output is a PLC's way of getting its inputs to change.

ChrisB

  • Full Member
  • ***
  • Posts: 21
Re: Troubleshoot my code
« Reply #4 on: May 29, 2010, 09:35:25 PM »
Yes I must say... Sorry it took so long.... Mr Carlton is one awesome person. This genleman was the most patient with me out of several different "problem solvers". AD,AVG, and even a personal friend SI could not make this as Bernie calls it relatively simple project work. The only mistake Mr. Carlton made was giving me his home number. (J/K i would never abuse without pm'ing first). Again Mr Carlton thank you for taking time out of your day to help someone you dont even know. BTW you have a PM!            Chris

ChrisB

  • Full Member
  • ***
  • Posts: 21
Re: Troubleshoot my code
« Reply #5 on: May 30, 2010, 08:43:05 AM »
Mr Carlton it did work in a sense. It did bring up the B-day screen- very nice. If manually operate the hmi to a different screen and then open door it comes back to the b-day screen. Now i have another 12 days to work more bugs out till the next b-day. It never goes to the welcome screen however. Now i am thinking.... open door start 10 minute timer and LD welcome screen. At the end of 10 minutes open up that path with a c bit and let any other possible message screen be loaded ie B-day screen, alarm screen, etc. etc.       Chris

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Troubleshoot my code
« Reply #6 on: May 30, 2010, 09:54:49 AM »
I'm glad I could help a little. Though I was using the phone call as an excuse to ignore my lawn. But, unfortunately, the call ended and I had to face my duty anyway. I hope you get your project to where you want it.
An output is a PLC's way of getting its inputs to change.