10-03-2016 04:42 PM
Hi
I want to create communication between LabView and a SMC driver JXC91 to move two electric actuators, I don't have a PLC, but the driver has the Ethernet IP protocol. I don't have any idea about how to create communication or if it's possible to do it using this toolkit or maybe exist another way to create this communication, do you know if I can use this toolkit to stablish communication with the controller JXC91? or If i use TCP IP it could be a good way to create communication?
10-04-2016 01:22 AM
Hi, you don't need any special toolkit to stablish an Ethernet/IP communication.
In the example you can see a very basic structure, you send some strings to the device and then read its answer.
What really takes time to do is the messaging protocol between the program and the device, i.e what you send in the "Data in" control and the string processing of the "data out" indicator.
I hope this can help you a little.
11-20-2016 08:51 AM
Hi, I am working on the same problem. Do you have any progress? I have found Ethernet/IP drivers for Labview but I think they are adapters not scanners. I will let you know if I can make it. Thank you.
11-25-2016 02:06 AM
I have found how to make I/O messaging through explicit messaging. In the EDS file under assembly section, "20 04 24 64 30 03" is the command for I/O. 04h is for class, 64h for instance, 03h for attiribute. using molex tool for ethernet/ip cummunication, you can use explicit messaging with the given parameters and get/set service. Now I will create the same message in Labview. I will give the details when it is done.
04-07-2017 02:28 AM
I'm new to this topic, but I guess the Ethernet/IP module acts only as an adapter and not as a scanner. At the moment I'm using the Ethernet/IP module from LabView, but so far I was only able to use explicit messaging in order to get/set the acyclic data.
Have you found out how to use it as a scanner? In order to use implicite messaging?
04-10-2017 08:37 AM
I think I use it like you do. I use get/set attribute functions to send commands to the driver and get data back. You can find the code attached.
05-24-2017 09:44 PM
You are correct that it is possible to use TCP/IP to communicate with Ethernet/IP devices but unfortunately it is not as simple as you might think. Ethernet/IP is a complete messaging protocol that is built on top of TCP/IP and UDP. Thus when you mention "Send some strings" you are in fact glossing over the complete implementation of the Ethernet/IP protocol (thousands of pages of specifications governed by ODVA.org). As of yet National Instruments has only developed and released a LabVIEW toolkit that allows you to configure NI hardware as an adapter so that a 3rd party scanner (such as an AB PLC) can connect to it in order to receive Class 1 (Implicit Messages) from it. The toolkit also has very limited explicit messaging functions. Using the existing NI toolkit it would be difficult to get data from most instruments that would be considered Ethernet/IP adapters themselves. A true scanner implementation of Ethernet IP uses TCP to establish a connection and then UDP to transmit data back and forth between the Target (Adapter) and the Originator (Scanner).
To cut to the chase you would spend hundreds if not thousands hours learning, understanding, and implementing the Ethernet/IP specifications within LabVIEW in order to develop a set of code that would allow you to connect to an Ethernet/IP device as a scanner.
05-25-2017 01:10 AM
Limited messaging is enough for my application.
06-26-2019 06:21 AM
Hi ilker,
Would you mind sending me the complete vi? I'm trying the Ethernet communication with the JXC91 and I could get data from it but it has been impossible to write any data.
Thanks in advance!
10-15-2019 04:30 AM
Hi All,
Do we need to activate a license for Ethernet IP protocol to test it?
I just want to run and check how to communicate using Ethernet LabVIEW drivers.