AutomationTechBrian
Lifetime Supporting Member
I have such a simple question...
In Studio 5000, 13 Ints are coming in and going out thru Ethernet I/P, to and from an ABB drive. There is a UDT being used to assign tags to each of the bits in the first Int, within an Add-On instruction. .....But the problem is, I'd like to move values into that full Int and not mess around with single bits.
I don't know how to do it, and I'm feeling a little embarrassed... but it's late at night and its worth it to me to ask the question.
To start the drive, I could MOV a value like "1151" in that first int... but what is the best practice for making that happen? All I have are bit addresses defined.
In Studio 5000, 13 Ints are coming in and going out thru Ethernet I/P, to and from an ABB drive. There is a UDT being used to assign tags to each of the bits in the first Int, within an Add-On instruction. .....But the problem is, I'd like to move values into that full Int and not mess around with single bits.
I don't know how to do it, and I'm feeling a little embarrassed... but it's late at night and its worth it to me to ask the question.
To start the drive, I could MOV a value like "1151" in that first int... but what is the best practice for making that happen? All I have are bit addresses defined.