LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create and send modbus command as string?

Good day,

 

is there a way to send the actual modbus command, say as string? Instead of using the modbus vis? Seems we got some dodgy prototype and I have to disassemble things into 8 bit instead 16 as per protocol.

 

Cheers,

 

Steffen

0 Kudos
Message 1 of 3
(1,976 Views)

Yes, of course. Modbus vis either use VISA (for serial) or standard TCP (for Ethernet) to communicate with devices.

You can do the same, following your documentation.

Hopefully you may use the old Modbus library which is open source. You can open vis and see how they work. You can also create new functions modifying existing ones.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 3
(1,952 Views)

Hi Paolo,

 

thanks. Yes there seem to be some Modbus vis that I can open and dissect. Will try that.

 

Cheers,

 

Steffen

0 Kudos
Message 3 of 3
(1,923 Views)