I’ve managed to do a bit of professional reading in the recent past, from process to PLC to mind-blowingly functional.
Business Process Books
I read one business book, Profit Beyond Measure by Johnson and Broms.Â They use the Toyota Production System and Scania’s modular design process to examine how to manage by means (MBM), instead of manage by results (MBR).
In MBR, management sets financial targets such as profit margins, sales level, or marketÂ share.Â In the MBM approach, management focuses on the process (how) the company achieves its result, for example, how work flows through from customer order to customer delivery (and payment!).
Three Fun, Mind Blowing MEAPs
I skimmed three MEAPs.Â A MEAP means you get to download and read the book while it is being written.Â Since I still like dead tree books, I paid a little bit extra so when the books are finished, I will get real books hot off the presses.Â I thought all three books were good, maybe excellent.Â My selections were:
- Grokking Functional Programming (Grokking FP) by Aslam Kahn is an introductory book on functional programming.Â The goal is to introduce the fundamentals of functional programming in an easy manner, without any scary mathematics, and then to get you to truly understand (“grok”) how to approach programming challenges in the functional way.Â The book is filled with examples and exercises, since you don’t really understand a method until you do it yourself.
- Functional Reactive Programming (FRP) by Blackheath and Jones.Â FRP uses cells (representing values over time) and streams (actions/events over time) to handle dependencies.Â Since you declare what depends on what, when something happens (such as a new event), the FRP system knows how to update everything that depends on that change in the proper order.Â Think of how a spreadsheet updates itself when you change a value.Â FRP is a good match for event-based systems such as GUIs, but not so good when you need actions to happen in a predictable sequence (especially hard real time systems).
I found FRP to be very interesting, but I don’t see an immediate need for it right now.
I do plan on going back through Grokking FP and doing all examples because although I am somewhat familiar with a lot of functional ideas, I do not yet think in functional way — I haven’t grokked it yet.
I am also planning on going through Rx In Action in depth, because I think it may be a good way to re-factor one of my programs at work that has significant event handling.Â I’m interested in Rx because I like its:
- Support for handling events as streams (like FRP)
- Support for event timeouts
- Support for propagating errors that occur in event handlers
- .NET support (I like to program in C#)
- Better support for sequences (which I need)
- Concurrency control with schedulers
- The ReactiveUI GUI library
Functional programming is hot right now because some of its features (such as immutable types) can make parallel programming significantly easier.Â I do think automation programmers should learn it (I can wholeheartedly recommend Grokking FP) because it will truly expand your mind, and FP is becoming more popular.
Programmable Logic Controller (PLC) News
On the PLC side, I have decided to skim through Programmable Logic Controllers: An Emphasis On Design And Application by Kelvin Erickson.Â I started trying to read it thoroughly, but haven’t made much progress so I am changing my approach to skimming.
Based on a reader recommendation, I just bought Progammable Logic Controllers: A Practical Approach to IEC 61131-3 Using CoDeSys by Dag Hanssen.Â I plan on skimming it next, and then will share my findings.
Both appear to be well written, both are a bit pricey, both were writtenÂ by professors, and both are introductory books.
The contrastÂ with mainstream programming books is fun:
- My three Manning books (print and ebook)Â cost the same as PLCs by Hanssen.Â I paidÂ $70Â to ManningÂ withÂ a 50% discount (you can get that by signing up with Manning and being patient).Â I paid $70 for PLCs by Hanssen (new, with $9 Alibris discount; list price is $120), and $50 for PLCs by Erickson (first edition, used; list price for current version (Third Edition) is $85).
- The MEAPs are well written,Â advanced books covering cutting edge topics.Â The PLC books are good, too, but they are introductory textbooks.
- The MEAPs were written by developers who use these tools in their day to day jobs.Â The PLC books were written by professors.
So I haven’t found an advanced PLC programming book yet, however, there is good news: Frank Lamb, proprietor of the Automation Primer blog and author of Industrial Automation: Hands On, has announced that he has started writing one.