ScottRyan Posted March 25, 2019 Report Share Posted March 25, 2019 Hello, I am looking for help with ethernet/ip on a unistream 7". I am intermittently connecting to a Mettler Toledo scale. It will connect very quickly and immediately disconnect. I have attached pictures of the eip scanner node struct tags for both scenarios. I have also attached my program. I have looked at multiple scanner eip samples and followed the unitronics ethernet/ip video on youtube. I have still not had any luck keeping a connection. I am not getting any error on the scale controller either. Any help would be greatly appreciated. Thank you in advance. Scott Link to comment Share on other sites More sharing options...
Dave Posted March 25, 2019 Report Share Posted March 25, 2019 Hi Scott. I had similar results before(different hardware, same symptoms). In my case, the settings for the EIP were the problem. Check your Configuration Assembly instance #/size and also try with the "Use Run Idle for ....." and check-boxes checked. Link to comment Share on other sites More sharing options...
ScottRyan Posted March 25, 2019 Author Report Share Posted March 25, 2019 Thanks for the reply Dave. I just tried the Use run idle check boxes without a different result. As far as the Configuration Assembly instance #, I had in there 1 originally. I have tried some different numbers for the heck of it, but still no connection that stays. I got my instance values from a project I recently did, but in studio 5k (AB/Rockwell). Do you know why it would be different? I realize now how spoiled I am with being able to upload the EDS files.... -Scott Link to comment Share on other sites More sharing options...
Pista Posted March 26, 2019 Report Share Posted March 26, 2019 Hi Scott, I see that you are trying to implicyt communication. The Alan Bradly should have 128 bits on the input side and also on output. Size at AB. is 8 byts, x (16bits) = 128 bits Size at Unitronics is 8 bytes, x (8bits) = 64 bits. Therefore, you need to rebuild global tags Input_Scale and Output_Scale to had 128 bits. Do not forget to mark the Run Idle O2T. Link to comment Share on other sites More sharing options...
ScottRyan Posted March 26, 2019 Author Report Share Posted March 26, 2019 For the next guy... I was able to communicate to my components. It took a lot of playing. Things that helped me are,: Opening the EDS in a text editor (ie, Notepad++) and verifying the instances/size of Input/Output/Config. While trying to connect look at the hex code for the initialization status of your component's EIP Scanner Node Struct while online. If not connected and have a code check here for a solution: https://unitronicsplc.com/Download/SoftwareHelp/UniLogic_Knowledgebase/Communications/EthernetIP_Connection_Status_Messages.htm 'Use Run Idle For O2T' checked. Hope this helps someone else. -Scott Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now