While Rockwell’s Micro800 line of programmable controllers does include support for instructions you won’t find in RSLogix, it’s lacking one big feature that many RSLogix users have come to rely on.
Specifically I’m referring to the ability to use math instructions with dissimilar data types.
Personally, I find this kind of odd. Going back as far as I remember, A-B PLC math instructions always supported mixed data types.
Whether it’s the PLC-5, SLC-500, MicroLogix or Logix (Control/Compact/Flex/Soft) line, they all had this feature.
In those PLCs, if you wanted to divide one Integer by another, and put the result into a Floating point register, you just did it.
Really, it’s as easy as: DIV N7:0 N7:1 F8:0 in RSLogix 5, 500, and Micro.
And in RSLogix/Studio 5000 it’s nearly identical: DIV N7.0 N7.1 F8.0
But when you start performing math with mixed data types in the Micro800, the cryptic error message, “expecting ‘x’ data type,” will lead you to the fact that the Micro800 does not support math with mixed data types directly.
Instead, you’ll need to use one of the many “ANY_TO” instructions to convert your incoming variables into the same data type as your outgoing (or resultant) variable.
And while this may be common with many (if not most) other PLCs on the market, it does happen to be one part of programming with CCW that isn’t as intuitive as RSLogix.
That said, I’m curious if you found this article interesting or helpful?
If you did, would you also like to help me remove all the ads from this site?
All it would take is for 10% of our readers to pledge $1 a month at Automation.Locals.com and we could no only go ad free, but also greatly expand our free article and video publishing schedule 🙂
To date only .032% of our readers have pledged.
Due to that fact we’ve had to continue to run ads as well as limit our publishing schedule.
But if you found our articles interesting and/or helpful, and you’d like to help us go completely ad free AND publish more free articles and videos, please consider making a $1 month pledge over at Automation.Locals.com
In the mean time, if you know anyone who would like to learn to setup and program the Micro800 line of programmable controllers, please share this link to my course with them: Nano Basics Course
I hope you found this free article and video interesting and/or helpful.
If you have any questions please feel free to post them at automation.locals.com, which I visit each weekday to freely answer reader’s questions.
Until next time, Peace ✌️
Shawn M Tierney
Technology Enthusiast & Content Creator
- Automation This Week for September 30, 2023 (W011) - September 30, 2023
- News for September 29, 2023 (N116) - September 29, 2023
- News for September 28, 2023 (N115) - September 28, 2023