03-20-2012 03:54 PM
Hi
I am trying to send the following command using MODBUS protocol to IAI Robocylinders (ACON-C series)...I configure my COM port and send the correct HEX string correctly but the bytes at port always comes up with 0. Any explanation what could be causing this? The IAI software interface communicated perfectly well with the Robocylinders on the same COM port....so I know it is setup correctly....
But when I try to perform the same function through LabVIEW's MODBUS drivers, I get 0 bytes at port...
I am trying to send the following at 38400 baud rate, 8, None, 1, None using ASCII mode.... if I use RTU mode (and I format the Write string accordingly), the response is the same....
A sample query that turns the servo of a controller of axis No. 0 on is shown below.
Query: 01 05 04 03 FF 00 F4
Converted ASCII
3A 3031 3035 30343033 46463030 4634 0D0A
If the change is successful, the response message will be the same as the query.
This is where I do NOT get the same message back and the bytes at port is 0.
I am using LabVIEW 2011 on a Win 7 32 bit machine.
Care to explain?
Thanks.
Vishal
03-21-2012 04:43 PM
Hey Vishal,
Are you using your Modbus protocol through the LabVIEW DSC module or just the downloadable Modbus library from our website?
Thanks,
Doug B
03-22-2012 06:47 AM
Download portmon from here, to record the serial data stream that comes out of the port. Compare this to the vendor software and the labview code.
http://technet.microsoft.com/en-us/sysinternals/bb896644
Or try Nispy.
http://www.ni.com/support/vxi/spy/spy.htm
05-13-2013 09:50 AM
Hi
I have exactly the same problem. What was the failure? Have you got a working vi?
Thanks in advance!
05-14-2013 05:47 PM
Hi,
Could you please be more specific? Are you using your Modbus protocol through the LabVIEW DSC module?
Regards,
05-14-2013 11:32 PM
06-03-2014 08:30 AM
Hello,
I've got the same exact problem as you guys.
I tried communicating with my IAI ACON-SE with both the Labview DSC Module and the Modbus driver and i didnt revience any message back from the controller.
Do any of you guys have a working vi for communcating with the device?
Thanks.
06-05-2014 12:50 AM
Hello
I produced a fully working driver with all functions, but I can't upload the VI.
Best regards
06-05-2014 10:57 AM
Hello,
Why can't you upload the VI?
Is there any other way you could help me?
Thanks
06-11-2014 04:14 AM
Hello
Please send me your email address and I can send the VI's to you.
Best regards