Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Modbus TCP communication to a Schneider Lexium 32M

To whom may concern,

 

  I'm developing a device with a rotary table, which has to be precisely real-time positioned. Therefore, I tried to communicate with the Lexium 32M motor controller via modbus TCP method (the manual for which is here http://berger-positec.at/files/lxm32m_modbustcp_manual_v102_en.pdf)and my nightmare begins (before this I use modbus MTU, and it works well). 

  As I want to use the I/O scanning, I download the modbus API from the link http://forums.ni.com/t5/NI-Labs-Toolkits/LabVIEW-Modbus-API/ta-p/3524019, and configure it in the way it should be (the IP and port), and after configure the property node "modbus unit id" to 255, the function "read holding register" seems to work without any problem. However, everytime I try to write something to the driver, error 66 (see the screenshoot 1 for details). I tried different ways to solve it, such as change the length of the write buffer(from 1 to 13 words), or change the content of the write buffer (all zeros, or with meanful string see screenshoot 2 ) , but the peroblem still the same. 

  Does anybody have experience of this, or have any idea where I can continue? Any question or advice will be appreciated!

 

Regards,

Ben

Download All
0 Kudos
Message 1 of 1
(3,492 Views)