copy one member of UDT to another UDT

robbm2k

Member
Join Date
Apr 2017
Location
Wisconsin
Posts
5
I have a separate program running for user security that i need to interface with existing security within my program. All of the external program user data (name, user level, etc) is stored in a UDT as their own members in a different structure than mine. How do I copy just one member of that tag to a new tag I can use that's not in the same format as that UDT? Both are DINT, so i could write 50 rungs copying the value of each individual dimension of User[X].LEVEL to Database.USERLEVELS[X] but i know there has to be a better way. Thanks.
 

Similar Topics

Hi All, As a precaution my company has been collecting copies all the HMI and PLC programs. I have recorded copies of most of our sites...
Replies
0
Views
91
I have 2 7cp476 plcs. How can I copy one of them and install it somewhere else?
Replies
0
Views
90
Hello Inside a FB, I´m trying to transfer a string from a DB to a IN_OUT var that was define as a UDT. The problem is that i can´t determine the...
Replies
4
Views
177
Hi everyone I'm in a bit of a conundrum, I've been trying to get this HMI on our machine and I am unable to retrieve it. Device Delta Model...
Replies
10
Views
983
Hi I have a Melsec FX1S-20MR, which has been programmed. I would like to copy the program to a new FX1S-20MR? What are the possible ways to do...
Replies
4
Views
657
Back
Top Bottom