Labview Modbus Eng
Labview Modbus Eng
p_guid=F15 82737BACF5CA8E0340003BA7CCD71 or download the MGIModbus (for LabVIEW 6.1) http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=F15 82737BACF5CA8E0340003BA7CCD71 2. Install NIs Modbus library, or unzip MGIModbus and copy the two folders into LabVIEW. Modbus/TCP 1. Open MB Ethernet Example Master.vi from Functions Palette >> User Libraries>> NI Modbus>> MB Ethernet Example Master.vi
3. Create MBAP Header of MB Ethernet Master Query.vi and link the controller to MB Ethernet Master Query.vi in frame0 ~ frame 3
Modbus/RTU 1. Make sure the PC have VISA runtime installed. 2. Open MB Serial Example Master.vi from Functions Palette >> User Libraries>> NI Modbus>> MB Serail Example Master.vi
4. Set the baud rate of MB Serial Init.vi corresponding with baud rate of Modbus Slave.
5. Modify MB Serial Example Query.vi in frame0 ~ frame3: Set False to Use Modbus Data Unit? and NetID of Slave to Slave Address.