modbus

Is there a good library for dealing with the Modbus protocol in .NET?

Does anyone know of a good (preferably open source) library for dealing with the Modbus protocol? I have seen a few libraries, but I am looking for some people's personal experiences, not just the top ten Google hits. I figure there has to be at least one other person who deals with PLCs and automation hardware like I do out there. Open...

How to Reduce TCP delays caused by ARP flushes for MODBUS TCP

We have an application which is periodically sending TCP messages at a defined rate(Using MODBUS TCP). If a message is not received within a set period an alarm is raised. However every once in a while there appears to be a delay in messages being received. Investigation has shown that this is associated with the ARP cache being refreshe...

Is there a modbus implementation which uses Mina 2.x?

Is there a open source modbus implementation which uses Apache Mina 2.x? ...

Serial programming: measuring time between characters

I am sending/receiving data over a serial line in Linux and I would like to find the delay between characters. Modbus uses a 3.5 character delay to detect message frame boundaries. If there is more than a 1.5 character delay, the message frame is declared incomplete. I'm writing a quick program in C which is basically fd = open(MODEM...

Writing to modbus with Jamod

Hi I came across with a curious situation when using jamod to write to modbus. Following read code works perfectly: public static void main(String[] args) throws Exception { InetAddress address = InetAddress.getByName("host.somewhere"); TCPMasterConnection connection = new TCPMasterConnection(address); connection.setPort(502);...

Modbus stack for Microchip PIC

Can someone suggest an open source implementation of a Modbus RTU Slave for a Microchip PIC18 processor? I'm looking for an implementation of Modbus RTU for RS-232/RS-485, but a Modbus TCP/IP implementation would be welcome as well. ...

Modbus driver: C vs Java

Hi stackoverflow, I am soon going to start a project where I'm required to program a Modbus driver. My initial approach was to want to do it in Java, however my boss has had contact with a company that has experience in Modbus, and they said C is the better language to approach Modbus. So my boss pretty much demanded it to be in C. My C...

How do I send Hex data?

I am trying to communicate with a modbus slave via either modbusTCP or modbus serial. The manuf. (partlow) has an ASCII communications manual (http://www.partlow.com/uploadedFiles/Downloads/1160%20ASCII%20Comms%20Manual.pdf) which, looks like it differs from the standard communication methods (http://en.wikipedia.org/wiki/Modbus). A lot ...

I have to make an iPhone app that communicates with devices that support Modbus Protocol.

I have to be able to communicate wirelessly which means it would either be MODBUS TCP/IP over wifi or MODBUS RTU over bluetooth. I cannot find any modbus implementations with an objectiveC wrapper, but I can write the wrapper over a C library. How should I go forward? ...

What modbus library should I use for modbus protocol for GCC

Dear all, We are building a product, which requires modbus communication (both rs-485 and TCP/IP). The code has to run on an embedded device which has Linux running on it. We have following criteria for the selecting the library that we would be using. It has to be opensource, since we are opensource geeks. We would give this product ...

Modbus sniffer tool required.

Hello all, I am looking for a good professional modbus sniffer tool to scan the master slave communication. Please any one have idea ? Regards Dani ...

How do you communicate to a Modbus device within an iPhone application?

I would like to be able to develop an iPhone application that can communicate with Modbus devices, but I'm not sure how to proceed. Has anyone had experience with this or are there existing libraries out there for this purpose? ...

Modbus and C# -- problem in reading response

Hi there, I am a newbie to modbus and need some help. I am trying to connect using modbus and serial communication. so far i managed to send data but i am unable to get any. the following is my code. Building packet private byte[] BuildPacket(int meter_address,int function,int table_name,int table_offset,int high_byte, int...

change the system.io.port datareceived event output type

Hi there, I am building a class library for modbus and serial connections, I need to return an array of bytes back but when using the DataReceived event from System.IO.Ports I cannot return any since it's type is void. Also I am noticing that the DataReceived is not firing. The following is my code: public void ConnectSerialModB...