11-16-2018 03:24 AM - edited 11-16-2018 03:25 AM
Hi All,
I want to communicate directly with an SMC driver JXC928 to control multiple motors via LabVIEW via Ethernet/IP protocol.
I have found an NI-Industrial Communication for Ethernet/IP driver but it seems to only work as an adapter to PLC. I have also seen a similar post
but it did not confirm if the motor driver can be controlled directly.
I appreciate all the help.
Thank you very much.
Solved! Go to Solution.
11-19-2018 11:42 PM - edited 11-19-2018 11:43 PM
Hi
The approach presented in the link you added is completely possible. The Ethernet/IP driver you mentioned was built using the TCP/IP functions. In this way, if you have the IP address of your motor drive and you know the commands it understands, you should be able to establish communication with it. To answer your question, yes the motor can be controlled directly, but you need to know how the driver works under the hood. Also, consider this driver as a reference:
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=22853
11-25-2018 06:53 PM
Hi @Bcortes
Thank you very much for your response.
Upon some reading and researching, I have now been able to set-up a communication to the controller using the available Ethernet IP driver in LabVIEW.
I have managed to read the inputs well but having some problem on the output. The controller does not respond to the stream of bits that I am sending.
11-25-2018 07:07 PM
May I also add, I have just found out that I have an error on my write VI as follows:
I am not familiar with this error. Can someone help me explain this?
Thank you very much.
11-26-2018 10:04 AM
Hi
I am glad to know that you have made progress. Regarding the error I would like to know if you have already tried the following documentation:
CIP Error - CIP Extended Status: 0x311 with the EtherNet/IP driver
11-26-2018 07:01 PM
Hi @Bcortes
Thank you very much for your reply.
Upon further reading, I have now managed to get this thing working. Error Code 0x13 means that I am not sending enough bits to the controller.
Based on controller manual, every command must be 128 bits long. So for every commands that I sent, I just need to append enough number of zeros to make it 128 bits as a whole. Sounds like a silly error on my part.
11-27-2018 01:07 PM
Hi @ clnglenn
I am glad to know that the system is working. Also, I am sure that this is going to be useful for the community, thanks for posting.
01-16-2020 09:10 AM
Hello, we are trying to work with the JXC91 controller as well. Could you by chance share your code that allows you to communicate? We have no experience with Ethernet/IP devices.
Thank you
11-25-2020 10:47 AM
Hi Bcortes,
Can you please describe your solution of this problem, actuating an SMC motor directly from a computer using Ethernet?
Particularly, how did you establish the connection and what was the format of the command?
Thank you
06-08-2021 01:08 PM
Dear medendoc,
we are trying also to work with an JXC91 and we have no experience.
Is it possibile to see some example codes? Did you received example?
Thanks a lot,
cheers
Mirco