03-08-2008 06:47 PM
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,
03-09-2008 05:15 AM
03-09-2008 03:24 PM
03-10-2008 02:30 AM
03-10-2008 04:13 AM
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,
03-10-2008 06:34 AM
See this thread for the protocol manual.
http://forums.ni.com/ni/board/message?board.id=170&message.id=197677&query.id=96682#M197677
Attached is a serial query.
03-10-2008 02:26 PM
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.
04-23-2008 04:24 AM
04-23-2008 07:29 AM
04-23-2008 08:05 PM