Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-10 04:22 AM
Hello all,
I'm a french student working on a project. I bought a M340 PLC with at least a NOC0401 on it.
The PLC is working, I've set a IP@ on it.
I also have a Cube20 BN-E/IP DI8 module, working with Ethernet/IP protocol.
Both have IP@ on the same network. From my laptop, I can ping both.
Now I'm trying to read inputs from my Cube20 on my PLC.
I added it in the "DTM Browser" as Generic EDS Device DTM and configured IP@. I'm able, from the DTM Browser on Control Expert to "Connect" to the Cube20 (right clic on it and CONNECT).
I don't know what to do from now. Any suggestion ?
In advance, thanks
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-10 12:32 PM
Do get the implicit data exchange going you have to configure IO instances and data sizes. Double click your generic DTM in DTM browser and you should see screen similar to the attached screenshot. You need to configure what I highlighted in yellow. You get that information from device manual. I am looking at file 56005_hdb_e_16.pdf downloaded from Murr Electronic website. On page 25 it gives you instance numbers and starting on page 22 it tells you how to obtain data size. Once you set it up you should be good to go and you see data in your device DDT.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-12 02:20 PM
Hi Ciupol. Thank you so much for your help, I managed to read the inputs with your help and the doc.
Now I'm wondering how to use this information, because I see that the same variable ("Cube20_IN.Free0[0]") changes depending on which input is activated as you can see on my screenshots.
If I activate input 1, value is 1. Input 2, value 2. Input 3, value 4. Input 4, value 8 and so one...
Do you know if this is the expected behavior?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-19 05:46 AM
Kik, yes it absolutely makes sense. Bit 0 of Cube20_IN.Free0[0] Byte is status of input 1, bit 1 of Cube20_IN.Free0[0] Byte is status of input 2 etc. In your animation table display numbers as binary (right click on variable number and select Display format -> Binary) and it will be obvious for you what is going on. Again you have to use manual for your module. Look specifically in sections 4.5 and 6.1 of manual mentioned in my previous post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-21 01:09 PM
Thank you very much once again
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of