Specifically I'm referring to the ability to use math instructions with dissimilar data types.
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
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.
Sponsor and Advertise: Get your product or service in front of our 70K followers while also supporting independent automation journalism by sponsoring or advertising with us! Learn more in our Media Guide here, or contact us using this form or by calling our office at 413-749-4300.
- New SIEMENS Products From This Week's Virtual Tour - May 20, 2022
- Sharing Data Between A-B Programmable Controllers - May 19, 2022
- Stepless Multi-Variable Closed Loop PID Tuning from PiControl (P102) - May 18, 2022