Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible in DSC to set up a modbus slave to use a port other than 502?

I am using the DSC module  in LabVIEW 8.6 to provide a modbus slave server in my application.  By default the server listens to port 502.  Is it possible to change the port that the Modbus slave is listening to?  I know that you could change it in the older "NI-Modbus" library, but in DSC, I don't see a similar option.

0 Kudos
Message 1 of 2
(6,147 Views)

Port 502 cannot be changed in DSC, but as you stated it, can be modified using the Modbus Library. The latest version of the library can be found here:

 

NI Modbus Library for LabVIEW

https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Modbus-API/ta-p/3524019

 

 

Regards,

Kareem W.
National Instruments
Web Product Manager
0 Kudos
Message 2 of 2
(6,138 Views)