Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Modbus Class...

$
0
0

Dear All,

I am using this Class to manage a ModBus RTU connection; the sketch is available in this link: https://code.google.com/archive/p/processing-modbus/downloads

I found in this forum someone that already has "discussed" about this but, unfortunately, was not helpful for me...the link of the discussion is: https://forum.processing.org/two/discussion/14233/modbusmasterprotocolv4-very-slow/p1

I understood that I have to create an ModBus object (my_port); also an array of Packet, each element of this array will be "filled" with a specific function of the ModBus RTU protocol; done this using the method my_port.update() I will, let me say, require and send information from/to slave...what is not clear, for me, is that if I create different pocket for different commands (read and write) but I need use only one of these at time what I have to do!?...create a local pocket and use my_port.update() immediately after? or what?

Someone can help me?

thanks


Viewing all articles
Browse latest Browse all 2896

Trending Articles