"> "> ">
PLC Projects

Need Help! Modicon M340 w/Unity Pro XL v10 2

I am trying to convert an Allen Bradley RSL5k program and am stuck on an addressing issue. In AB I have a UDT with a DINT member. I step through the bits of the DINT programatically with the following code

UDT_NAME.MemberDINT.[StepVar] and then I simply cycle through the applicable bits of the DINT by incrementing StepVar.

I need to do the same thing in Unity Pro, but cannot figure out how. Is this possible, if so, how? Please, and thank you very much!
"To be or not to be, that is the question" - William Shakespeare via Hamlet


JLCPCB – Prototype 10 PCBs for $2 (For Any Color)

China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir