Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. modbus
    Log in to post

    • S

      ModBus library on LoPy : no data received from slave
      LoPy • lopy modbus • • SameerChouksey  

      13
      0
      Votes
      13
      Posts
      3154
      Views

      J

      Hello, I'm working on a modbus project using the pycom controller to read a few input registers. But there I get the same error as you Sameer and I'm not able to make the code run correctly. What did you do that the code work? Regards, Jan current code: ######################### RTU SERIAL MODBUS ######################### uart_id = 0x01 modbus_obj = Serial(uart_id, pins=('P3', 'P4')) ###################### READ INPUT REGISTERS ################## slave_addr=0x01 starting_address=0x04 register_quantity=2 signed=True register_value = modbus_obj.read_input_registers(slave_addr, starting_address, register_quantity, signed) print('Input register value: ' + ' '.join('{:d}'.format(x) for x in register_value))
    • A

      [SOLVED] UART.read and UART.write not cooperating with modbus slave
      MicroPython • lopy uart uart1 modbus rtu • • alg  

      6
      0
      Votes
      6
      Posts
      2637
      Views

      D

      @alg cool, glad to hear that your problem is solved :-)
    • B

      MODBUS Libraries
      MicroPython • modbus • • bradnz  

      14
      0
      Votes
      14
      Posts
      4054
      Views

      Charly86

      thanks @daniel
    • D

      Modbus
      LoPy • lopy wipy modbus • • dchappel  

      6
      0
      Votes
      6
      Posts
      3403
      Views

      U

      @constantinos Fank you very much, i fink it will be very helpfull in my future researchers!
    • 1 / 1