08-16-2024 05:04 AM
Hi LabVIEW Community,
I'm working on setting up communication between LabVIEW (which I recently purchased) and a Trilogic Super PLC using Modbus TCP/IP. Although I managed to establish communication via plain TCP/IP, I’m encountering persistent errors when trying to use Modbus TCP/IP.
The examples provided with the LabVIEW package seem to contain errors, and I'm having difficulty getting them to work. Any guidance on how to correctly configure LabVIEW for Modbus communication with my PLC would be greatly appreciated.
Solved! Go to Solution.
08-16-2024 12:15 PM
I've used the NI Modbus library with no issues.
What have you tried ? Can you share your code ?
What errors did you get when trying to use it ?
08-17-2024 11:39 AM
yes tried with the ni modbus library examples but from the start itself I was not able to run because o the errors.
I have attached the files of modbus examples below please help me out.
08-19-2024 01:03 AM
08-19-2024 02:15 AM
I cannot open your VIs as they are saved in LV 2024. There are two Modbus libraries from NI that can not be used in the same project (the one from DSC/Real Time has yellow bars, the other blue). Modbus Communication Using LabVIEW or LabVIEW Real-Time Module
08-19-2024 02:38 AM
this is what it is displaying in palletes.
I installed the modbus library from the vi package manager and when i run the examples it directly showed the errors
08-19-2024 03:09 AM
What is "the modbus library" and what example are you trying to open ?
You seems to have installed multiple libraries for Modbus communication.
08-19-2024 03:36 AM
these are the examples i am trying to access...The picture of modbus library which i installed have also she it to you.Please let me know how do i fix the error
08-19-2024 04:04 AM
I can't open your vi's, and I have only installed the NI Modbus Library.
If you want to use that, it has its own examples:
I think the one you have problems with is the Plasmionique Modbus Master library.
You might need to contact Plasmionique to get help.
Also the DCAF Modbus Module requires DCAF as the framework. Might not work on its own.
08-19-2024 06:20 AM
So I have installed labview 2024 Q3, but when i searched the DSC module supports 2024 Q1 for me to run modbus.So how do I downgrade from 2024 Q3 to 2024 Q1.
The alternate option I found was NI modbus library supported by Labview 2024 Q3 but i dont have any example or anything with that library.
but the example i provided had yellow bar which is supported by Labview 2024 Q1.