• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Jkhar

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 14
    • Best 0
    • Controversial 0
    • Groups 0

    Jkhar

    @Jkhar

    0
    Reputation
    345
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Jkhar Unfollow Follow

    Latest posts made by Jkhar

    • RE: Direct connection to plc!!

      ok, but when i send the request i pass the Slave id parameter, what about it??

      posted in Modbus4J general discussion
      J
      Jkhar
    • RE: Direct connection to plc!!

      Hi! again. i have a question: how do i point the TCPMaster to the ip address of the PLC? because with the tcpslave class i asign a SlaveId and with this i was making the request. But now is directly to the PLC....

      posted in Modbus4J general discussion
      J
      Jkhar
    • RE: Direct connection to plc!!

      Thanks, just another cuestion: the Slave object that i create for test works like a simulator of a plc??

      posted in Modbus4J general discussion
      J
      Jkhar
    • Direct connection to plc!!

      Hi!
      I've alredy implement the TCP master and slave clases but now i want to conect to a PLC an get data from it. So this is not my area, i'm just a saftware developer, but i was wondering: Do I just need to implement a Master tcp object and point it to the plc's ip address and do the request??
      Any comments acepted. :?: :?: :?: :?: :?: :?:

      posted in Modbus4J general discussion
      J
      Jkhar
    • RE: Direct connection to plc!!

      Hi!
      I've alredy implement the TCP master and slave clases but now i want to conect to a PLC an get data from it. So this is not my area, i'm just a saftware developer, but i was wondering: Do I just need to implement a Master tcp object and point it to the plc's ip address and do the request??
      Any comments acepted. :?: :?: :?: :?: :?: :?:

      posted in Modbus4J general discussion
      J
      Jkhar
    • RE: A little help!!

      Thanks, i will download the new version and check if it works fine. thanks again. :-)

      posted in Modbus4J general discussion
      J
      Jkhar
    • RE: A little help!!

      Or where can i download another version or the last update of seroUtils library??

      posted in Modbus4J general discussion
      J
      Jkhar
    • RE: A little help!!

      I think that maybe in the TCPSlave class there is something like this
      transport = new TestableTransport(socket.getInputStream(), socket.getOutputStream());
      But in the TestableTransport class in the library seroUtils the class TestableTransport needs 3 parameters and the one that is missing is the thread Name or what do you think that it might be.

      Sorry if i bother you to much but i don't know waht to do

      posted in Modbus4J general discussion
      J
      Jkhar
    • RE: A little help!!

      Yes i have it in my class path

      posted in Modbus4J general discussion
      J
      Jkhar
    • RE: A little help!!

      Sorry it is not teh same in both in salve is:
      Exception in thread "main" java.lang.NoSuchMethodError: com.serotonin.io.messaging.TestableTransport.<init>(Ljava/io/InputStream;Ljava/io/OutputStream;)V
      at com.serotonin.modbus4j.ip.tcp.TcpSlave$TcpConnectionHandler.<init>(TcpSlave.java:82)
      at com.serotonin.modbus4j.ip.tcp.TcpSlave.start(TcpSlave.java:46)
      at servermodbus.Main.main(Main.java:34)
      Java Result: 1

      And in Master is:
      Exception in thread "main" java.lang.NoSuchMethodError: com.serotonin.io.messaging.StreamTransport.<init>(Ljava/io/InputStream;Ljava/io/OutputStream;)V
      at com.serotonin.modbus4j.ip.tcp.TcpMaster.openConnection(TcpMaster.java:113)
      at com.serotonin.modbus4j.ip.tcp.TcpMaster.init(TcpMaster.java:44)
      at otra.Main.main(Main.java:69)
      Java Result: 1

      Thanks for your help. :!: :!: :!: :)

      posted in Modbus4J general discussion
      J
      Jkhar