PLC/DCS Best Practices

dburnum

Member
Join Date
Oct 2008
Location
SW Kansas
Posts
163
I started programming A-B MLX1000 PLCs when I was about 18. In 1993-4. I never had any formal training, but my boss at the time gave me a A-B test kit, with a manual, and basically said "Figure it out." I've taken some classes at college over the years familiarizing myself with newer technologies, and a little over 20 years later, and worked on many PLC and DCS systems, programming logic. mostly ladder on PLCs with some FBD, and mostly FBD on DCS systems. Most everything I've learned, I've had to read in manuals, and has helped looking at others logic at times on engineered skids that come to my existing workplace.
I've been curious though if there is any book out there, or good reference for best practices when writing logic. One I've personally been doing is setting up program files for managing I/O. I typically have a program file for discrete inputs, one for discrete outputs, and two more for managing the analogs. The discrete program files look nothing more than a Boolean bit that writes to the I/O, but the analog may incorporate setting limits from an internal tag that writes to output, or vice-versa for inputs. This way all logic written is with internal tags, or bits. Whether this is a good practice, I have no idea.
As far as my DCS programming, I rely on my own companies "best practices"
Thoughts?

DBurnum
 
I started programming A-B MLX1000 PLCs when I was about 18. In 1993-4. I never had any formal training, but my boss at the time gave me a A-B test kit, with a manual, and basically said "Figure it out." I've taken some classes at college over the years familiarizing myself with newer technologies, and a little over 20 years later, and worked on many PLC and DCS systems, programming logic. mostly ladder on PLCs with some FBD, and mostly FBD on DCS systems. Most everything I've learned, I've had to read in manuals, and has helped looking at others logic at times on engineered skids that come to my existing workplace.
I've been curious though if there is any book out there, or good reference for best practices when writing logic. One I've personally been doing is setting up program files for managing I/O. I typically have a program file for discrete inputs, one for discrete outputs, and two more for managing the analogs. The discrete program files look nothing more than a Boolean bit that writes to the I/O, but the analog may incorporate setting limits from an internal tag that writes to output, or vice-versa for inputs. This way all logic written is with internal tags, or bits. Whether this is a good practice, I have no idea.
As far as my DCS programming, I rely on my own companies "best practices"
Thoughts?

DBurnum

PLC/DCS programming best practices often rely on the type of PLC and the customer requirements. Most people prefer easily diagnosed ladder logic with no jumps or loops, so that an untrained programmer can look at what is going on to fix it. I don't disagree with that, but I've also found that if someone has to jump straight to the code to troubleshoot every issue, it means that there isn't nearly enough information on the HMI. I'm also a fan of modular code, which means using lots of FBs or AOIs if the PLC system allows it. If you can prove out that chunk of code, theoretically no one should need to dig inside of it, if it passes good diagnostics to the HMI.

As far as HMI best practices, I've heard many recommendations for "High Performance HMI", instead of the traditional plant flow diagram. Some of the concepts include only using colors to indicate warnings and faults, instead of the traditional green/red for motors on/off. I haven't gotten to involved in this before, althoguh it's on my list to learn more about.
 

Similar Topics

Hi Everyone, I am currently trying to communicate ControlLogix PLCs via EtherNet/IP with Delta V DCS. There is a VIM2 card configured for...
Replies
1
Views
251
Hi everyone, I'm working with a company that is developing software that will be used to access and process sensor data from different process...
Replies
6
Views
1,889
Trying to set up a Logix 5000 L73 controller so the customer's Ovation DCS can read some analog and digital values at specific addresses. I think...
Replies
1
Views
1,163
Dear all, Can any one share the procedure how to configure Allenbradley PLC as modbus TCP server with DCS through Prosoft PLX31 EIP MBTCP
Replies
1
Views
2,157
Back
Top Bottom