LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus protocol implementation

Hello colleagues,

I need to use a PC with a LabVIEW application to serve as modbus master to talk to a single modbus slave that concentrates data from another modbus, where it is the master talking to around 30 instruments (slaves). I have no experience with implementing modbus protocol, and have downloaded the NI Modbus Toolkit. Does someone have experience with using this toolkit - there is no help/manual, and I'd appreciate an example diagram(s) showing me the typical implementation of the protocol (initiating modbus session, sending commands, reading data, ...).

Thanks in advance,

Message 1 of 14
(5,466 Views)
The LLB does include a couple of examples.

___________________
Try to take over the world!
Message 2 of 14
(5,452 Views)
Are you talking modbus over the serial port or the ethernet port?? There are examples of both in the forums already.
Message 3 of 14
(5,440 Views)
I have just finished an application that exchanges data through an ethernet modbus communication (PC=master and 1 slave). Please post again if you need further help.
Message 4 of 14
(5,426 Views)

Thank you guys. It is a serial communication. Do I send/receive to the COM port just like for an ordinary RS232, or do the VIs take care of the VISA session and I just write/read bytes? Can you explain the logical (command) protocol in short - cmd, operand(s)...? I have no idea for the concept itself.

Thanks in advance,

Message 5 of 14
(5,416 Views)
Message 6 of 14
(5,402 Views)

Unclebump @all,

Thank you for the prompt support. In a week or so I will have some slaves to play with, and will use this thread if needed again.

Message 7 of 14
(5,382 Views)
I cannot find the address where to download NI ModbusToolkit.
 
Could you tell me?          Thanks!
Message 8 of 14
(5,227 Views)
Message 9 of 14
(5,205 Views)
Thank you very much, unclebump!
I have downloaded it.
Message 10 of 14
(5,190 Views)