Jump to content

V700 Modbus/TCP communication problem with Lexium Mdrive motors


Recommended Posts

Hello,

I'm trying to use V700 as master and two lexium mdrive motors as clients through MODBUS/TCP. I set up the function blocks per example "V700_Modbus_TCP_master.vlp".  I can get the motors to connect with V700 but once i write modbus commands to motors i get no motion.  one of the examaples for requesting commad is mentioned below as modbus tcp commad for the motor to move at slew speed of 600000 micrsteps/sec.

image.png.b3ea057e92a706247b9cd569172da20c.png

 Please take a look at the code and let me know what i'm doing wrong. Also please let me know if you need more information. Thank you in advance for the response.

Vertical Sandblaster.vlp

Link to comment
Share on other sites

In rung 9 try calling connect function over a transition contact. Also looks like you are connecting to 2 slaves simultaneously over the same socket, I think this won't work, you need to connect to first slave, run Modbus commands, disconnect, connect to second one, run Modbus for second one. Or use two sockets.

Tell us how it goes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...