Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 203384

Re: MOXA, RS-485, ModBus RTU

$
0
0

You need to configure two things:

1. Communication parameters:

Modscan1.PNG

Where you need to configure BaudRate, Word Length, Parity, Stop Bits and COM port.

 

2. Modbus Settings

Modscan2.PNG

Where you need to configure Modbus Registers.

MODSCAN address is your regular address + 1. So if you want to read register 18 you need to type 19 to the Address field.

Be sure that Device ID matches your device's Unit ID.

Length should be set to 1 and 03: Holding Registers set.

 

Check if it works.

If not, check you cabling, device or anything in between...


Viewing all articles
Browse latest Browse all 203384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>