mpaisley91
Member
I have run into a wall.
I have one PLC where I have an array of data d_postdetectJobQueue Dint[50]
Under d_postdetectJobQueue[6] is the carrier number I want to move that data to another PLC and save it as the Carrier number.
To make things worse there are over 250 carriers, I need the data to do some inventory later but they are not moving the data down the paint booth. After its painted they fill to 0 and only care about where the carrier is after that not the other data.
I would like to take this data from paint booth like color and part number so that I can use it later. But I cannot seem to remember how to move the data and save it under another bit that will change.
So save carrier 1 to an array for carrier 1 and keep saving data for each carrier like that until I need it and then I fill to zero after I do the counting of it at the end of the system. Would I need 200 other arrays or can I make a DINT [1000] because I only need d_postdetectJobQueue[6], [7], [8], [9] to save elsewhere all other stuff I do not need. But how do I search that array and place in correct spot for that carrier ID?
Move d_postdetectJobQueue dint[50] to another array named after d_postdetectJobQueue[6] in another place holder somewhere.
I am using RSlogix5000 v.20
Thanks
Michael Paisley
I have one PLC where I have an array of data d_postdetectJobQueue Dint[50]
Under d_postdetectJobQueue[6] is the carrier number I want to move that data to another PLC and save it as the Carrier number.
To make things worse there are over 250 carriers, I need the data to do some inventory later but they are not moving the data down the paint booth. After its painted they fill to 0 and only care about where the carrier is after that not the other data.
I would like to take this data from paint booth like color and part number so that I can use it later. But I cannot seem to remember how to move the data and save it under another bit that will change.
So save carrier 1 to an array for carrier 1 and keep saving data for each carrier like that until I need it and then I fill to zero after I do the counting of it at the end of the system. Would I need 200 other arrays or can I make a DINT [1000] because I only need d_postdetectJobQueue[6], [7], [8], [9] to save elsewhere all other stuff I do not need. But how do I search that array and place in correct spot for that carrier ID?
Move d_postdetectJobQueue dint[50] to another array named after d_postdetectJobQueue[6] in another place holder somewhere.
I am using RSlogix5000 v.20
Thanks
Michael Paisley