ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Modbus

Good Day!

Ihave Trouble using modbus.. I wanna configure a shared variable for a specific channel in my daq..

Im using NI 9426 in the slot 1 of NI CRIO 9075..

I cant understand how to pick an data item in Creating Bound Variables

Could somebody give me an example of data item, i wanna make an shared variable for DI0 of NI 9426..

Im using I/O server in ethernet..


Thank You! Smiley Happy

0 Kudos
Message 1 of 5
(4,252 Views)

Are you using the LabView DSC module? OPC server ? Modbus library? There are so many ways labview can communicate to a Modbus master or Modbus slave? We need more information. For a cRIO I would use the Modbus library to communicate to a Modbus master.  

0 Kudos
Message 2 of 5
(4,159 Views)

Hi! 
I'm using modbus library (i think).
I'm configuring modbus in the project explorer so that i can easily drag the shared variable to the VI..

0 Kudos
Message 3 of 5
(4,138 Views)
It sounds like you are using I/O servers, does the link below look correct?

http://zone.ni.com/reference/en-XX/help/370622M-01/lvmve/dsc_modbus_using/

There are a couple of different ways to do this, can you explain what software you have? Also are you trying to communicate with a particular modbus slave or are you using the cRIO as a modus slave?
Matt J | National Instruments | CLA
0 Kudos
Message 4 of 5
(4,106 Views)

Yeah the link u gave is correct..
But I cant understand the syntax of the data item...
I just want to create a bound variable that is connected to the DI0 of the NI 9426...
and create a VI where i can just drag the created variable then connect it to boolean led

so when the NI 9426 DI0 recieve a HIGH it will trigger the boolean led..

0 Kudos
Message 5 of 5
(4,090 Views)