Modbus TCP Header

0

Hi, I hope you can answer the following question.

Suppose I have a modbus PDU in the following way:

11 03 006B 0003 7687

if this PDU applied an output.write (); to send it by tcp / ip, this method automatically places the MBAP Headers?

and another question is this: this PDU 11 03 006B 0003 7687 can become 03 006B 0003 7687 saved in an int array [4]? in this way I can do output.write (array); and comply with the modbus TCP protocol?

    
asked by jose.gb89 16.02.2018 в 19:04
source

0 answers