I'm married, so by default, I take critisism EXTREMELY well. LOL.
Thanks you very much for your (and everyone's) time.
Okay, I'll follow your lettering here and try to defend/embarass myself.
1:
Okay, enough said, The B's have it.
2:
R6:3/EN is actually for the purpose of the final unfinished routine which is now finished. Since I am using an 1000 model with RS500, I can not use a one shot falling to detect switch going off. The last rung of my main was my way around this. In the finished shutdown subroutine, when all conditions are met, the last thing I do is Unlatch R6:3/EN from within the subroutine.
3:
I actually have stripped and changed all anotations for the purpose of posting. My copy is over documented.
4:
A:
The start up timer is set by two conditions. It will help to realize that something is actually happening with certain outputs are off. Like 3 way valves. In this case, "switch-1" (actually a sensor and not to be confused with the main ON switch) is already on going into this routine. Once it turns off, the timer is set to continue doing what it is doing for another 1.5 secs. Then start up is complete and the routine is ended. Now I thought that was all good. Now it is after midnight, I have rewired the unit and now I see exactly what you are saying. My startup mode only works once. Will have to fix that.
B:
Yes, this is a highly desirable effect. However, I do need to address fault issues such as this switch not being made in a reasonable amount of time. Several little safetys have to be added.
Subroutine 7, Ouch, I swear it really works!!! With the exception of failing to udate on the first scan, and Rung 1 haveing no value, it actually works ok. I think rung 1 is just the remnants of me trying to create a simple loop in the code. Just didn't realize I completely skirted it. I am still struggling with this scan then update thing. I just don't completely get it. Now with timers and loops, well, makes me want to open a beer. Will look closely at this.
Rung 2, again it helps to remember that outputs in the off state are doing things.
File 8, It was not complete. I have since made it complete. Well it works anyway. I had a problem with the one shot. You are not allowed to parrallel the one shots coil to someother condition. I ended up just using it to get things going. Really didn't like that approach.
Again, thank you very much for this help. As for taking time to master, doesn't everything. I strongly committed to demoing this thing sometime next week. Looks like its gonna be a long weekend.
RSDORAN:
Just saw your post. I guess the main reason I have tried to do this with routines is simply so I can follow it. Basically, you've got a start squence thats kinda like Half of a full loop. Then you have a run sequence that is the full loop. Then you have a shut down sequence that again is half cycling several times in a flip flop mode, until conditions are met. For me, trying to put all that into one ladder on lad2 would honestly be near impossible. I still get hung up on simple loops.
But in the spirit of trying to do this right, and learn how to handle larger programs, I'm gonna try to get it all on the main.
Thanks you very much for your (and everyone's) time.
Okay, I'll follow your lettering here and try to defend/embarass myself.
1:
Okay, enough said, The B's have it.
2:
R6:3/EN is actually for the purpose of the final unfinished routine which is now finished. Since I am using an 1000 model with RS500, I can not use a one shot falling to detect switch going off. The last rung of my main was my way around this. In the finished shutdown subroutine, when all conditions are met, the last thing I do is Unlatch R6:3/EN from within the subroutine.
3:
I actually have stripped and changed all anotations for the purpose of posting. My copy is over documented.
4:
A:
The start up timer is set by two conditions. It will help to realize that something is actually happening with certain outputs are off. Like 3 way valves. In this case, "switch-1" (actually a sensor and not to be confused with the main ON switch) is already on going into this routine. Once it turns off, the timer is set to continue doing what it is doing for another 1.5 secs. Then start up is complete and the routine is ended. Now I thought that was all good. Now it is after midnight, I have rewired the unit and now I see exactly what you are saying. My startup mode only works once. Will have to fix that.
B:
Yes, this is a highly desirable effect. However, I do need to address fault issues such as this switch not being made in a reasonable amount of time. Several little safetys have to be added.
Subroutine 7, Ouch, I swear it really works!!! With the exception of failing to udate on the first scan, and Rung 1 haveing no value, it actually works ok. I think rung 1 is just the remnants of me trying to create a simple loop in the code. Just didn't realize I completely skirted it. I am still struggling with this scan then update thing. I just don't completely get it. Now with timers and loops, well, makes me want to open a beer. Will look closely at this.
Rung 2, again it helps to remember that outputs in the off state are doing things.
File 8, It was not complete. I have since made it complete. Well it works anyway. I had a problem with the one shot. You are not allowed to parrallel the one shots coil to someother condition. I ended up just using it to get things going. Really didn't like that approach.
Again, thank you very much for this help. As for taking time to master, doesn't everything. I strongly committed to demoing this thing sometime next week. Looks like its gonna be a long weekend.
RSDORAN:
Just saw your post. I guess the main reason I have tried to do this with routines is simply so I can follow it. Basically, you've got a start squence thats kinda like Half of a full loop. Then you have a run sequence that is the full loop. Then you have a shut down sequence that again is half cycling several times in a flip flop mode, until conditions are met. For me, trying to put all that into one ladder on lad2 would honestly be near impossible. I still get hung up on simple loops.
But in the spirit of trying to do this right, and learn how to handle larger programs, I'm gonna try to get it all on the main.