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 Patreon.com/Automation 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 Patreon.com/Automation

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

The videos in Nano-Basics were filmed on the same set as the below free video was:


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 Forums.TheAutomationBlog.com, which I visit each weekday to freely answer reader's questions.

Sincerely,

Shawn Tierney
Automation Instructor and Blogger

Enjoy the benifits of membership! Insider news, rewards, & more: Patreon.com/automation
If you enjoyed my article, you may like my courses at TheAutomationSchool.com
Have a question on this topic? Click here to scroll down to the comment link
Have a news tip? Share it with us here

Shawn Tierney

Shawn began sharing automation news and know-how online in 1996 when he launched his first BBS. Then in 1999 he moved to the internet launching ShawnMichael.com, which he later renamed ShawnMTierney.com. In 2013 he moved his automation efforts to a new website, TheAutomationBlog.com, which has since become the most popular independent industrial automation blog on the web.
Avatar

Latest posts by Shawn Tierney (see all)



Click HERE to scroll down to view or leave comments