Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Wago Modbus - Port name + Address > 65535

    Modbus RTU
    modbus rtu wago
    2
    4
    1131
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rluteijn last edited by jaroslav_sobota

      Hello,

      I'm working with a Wago PFC-200 and have two modbus questions:

      1. The modbus registers (Kohler generator, decisionmaker 3500) start at 400000. This is above the 'allowed' input of max 65535.
        If i configure the .rio file directly, i'm not sure if the register value is truncated or not. I have not been able to make the modbus work for this generator but have had it work with another device.

      2. I found out that the PFC200 has serial 3 ports in de /dev folder.
        ttyO0, ttyO1, ttyO2. The serial port on the PLC (750-8203) is ttyO0.
        I have a 750-652 Serial (232/485) module that does not appear in the supported modules for Rexygen and i have installed it as the last module (before the end module) to be sure it would not interfere with the module order/index.

      How can i find out what the port name is for the new module ?

      Thanks,
      Richard

      1 Reply Last reply Reply Quote 0
      • jaroslav_sobota
        jaroslav_sobota last edited by

        Hi Richard,
        numbering of Modbus registers can be confusing. There are four independent tables of data in each Modbus Slave device, see e.g. http://www.simplymodbus.ca/FAQ.htm#Command

        In REXYGEN, all four tables are accessed separately and are numbered from 0.

        Some vendors follow the simplified numbering model and use the offset as pointer to the corresponding table. In your case, you will be reading Holding register (offset 400000) number 0. If you have a link to Kohler Modbus register map, I can take a closer look.

        I'll create a separate topic for the other question.

        Best regards,
        Jaroslav

        1 Reply Last reply Reply Quote 0
        • R
          rluteijn last edited by

          Thanks again.

          I suspected this but working with the 750-652 i could not make anything work.
          Using the built-in serial port it works fine. 400001 is indeed 1.

          The 400000* threw me off since some modbus RO registers for other devices start with a 4 but then look like 4001 or 41001.

          1 Reply Last reply Reply Quote 0
          • jaroslav_sobota
            jaroslav_sobota last edited by

            Hi Richard,
            there are various "simplifications", using various offsets to distinguish between the four tables of data. For Holding registers, the most typical is offset of 40000, but as you already noticed, this is no standard.

            Best regards,
            Jaroslav

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

            There is also an outdated REXYGEN community forum.

            Powered by NodeBB.