I have always avoided double-coiling when I program. I have always found it easier to commission and debug if there is only one place in a program that can control a bit. I kind of thought it self-evident that double-coiling was a bad idea.
I have a vendor (whom I consider a quality supplier) who has suggested that my bias is driven by having lived in the "AB world" in the States, and that in Siemens programming (for example) it is perfectly acceptable and appropriate to double-coil (especially if setting/resetting).
Now I've done my share of work in Siemens S5 processors too, but even here, I have always avoided double-coils like the plague. I just didn't see a real reason to use them.
This vendor has gotten me thinking though. What are the arguments for and against double coiling?
Obviously in the arguments against:
1. More difficult to debug / troubleshoot.
2. Rung/Sub-Routine order becomes hugely important.
3. Pre-scan must be considered (especially for sub-routines which are not normally called).
(Enough in my "biased" mind that I would never do it myself)
In the arguments for:
1. It allows outputs (internal or real world) to be placed at the positions in the program that make sense (even if that means two or more places).
I don't want to be thick headed and arbitrarily limit my supplier, but I just don't like double coils. Am I missing something? Anyone want to weigh in?
Thanks,
Marc
I have a vendor (whom I consider a quality supplier) who has suggested that my bias is driven by having lived in the "AB world" in the States, and that in Siemens programming (for example) it is perfectly acceptable and appropriate to double-coil (especially if setting/resetting).
Now I've done my share of work in Siemens S5 processors too, but even here, I have always avoided double-coils like the plague. I just didn't see a real reason to use them.
This vendor has gotten me thinking though. What are the arguments for and against double coiling?
Obviously in the arguments against:
1. More difficult to debug / troubleshoot.
2. Rung/Sub-Routine order becomes hugely important.
3. Pre-scan must be considered (especially for sub-routines which are not normally called).
(Enough in my "biased" mind that I would never do it myself)
In the arguments for:
1. It allows outputs (internal or real world) to be placed at the positions in the program that make sense (even if that means two or more places).
I don't want to be thick headed and arbitrarily limit my supplier, but I just don't like double coils. Am I missing something? Anyone want to weigh in?
Thanks,
Marc