4

i am developing android application to control plc with help of tcp/ip modbus anyone has good tutorial on that?
Modbus protocol escapes the thread (Android,Jamod)

Community
  • 1
  • 1
madwhoo
  • 99
  • 1
  • 1
  • 10

2 Answers2

5

Modbus on Android can be seen here, ModbusDroid with source can be found here, and modbus4j can be found here.

avra
  • 3,690
  • 19
  • 19
  • hi i am new in this type of programming. i am trying to read holding registers using modbusj4 but its not working can you help me? i am using these line- `System.out.println(getValue(modbReadLocator)); ModbusResponse response = (ReadResponse)send(request); new ReadInputRegistersRequest(slaveId, readoffset,1 )` – madwhoo Oct 20 '12 at 09:40
1

I have done what you are trying to do. I posted a question and the answer for my problem in the following link. I hope this one helps a bit.

Community
  • 1
  • 1
Marialvy Martínez
  • 286
  • 2
  • 6
  • 19
  • i visited it. hi i am new in this type of programming. i am trying to read holding registers using modbusj4 but its not working can you help me? i am using these line- `System.out.println(getValue(modbReadLocator)); ModbusResponse response = (ReadResponse)send(request); new ReadInputRegistersRequest(slaveId, readoffset,1 )` – madwhoo Oct 20 '12 at 09:39