Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create a "standard project" and select "CODESYS Control Win V3" as the device.
  • Define the target system via Network search (see Modbus master).
  • Insert an Ethernet adapter and a Modbus_TCP_Slave_Device in the device tree.
    Image Removed
    Image Added

Setting on the Ethernet adapter (master and slave)

...

Note

If no target system is determined, an error message appears, "Gateway not configured"


Image RemovedImage Added

Setting on the Modbus_TCP_Slave (master)

...

  • Enter the IP address of the slave device (in this case the CODESYS Control Win V3)
  • Issue a unique ID for the Modbus configuration

...


  • Image Added

Tab 'Channel'

  • Create an input register (counter that is sent by the Modbus slave device) – cyclic update every 100 ms.
    Image Removed
    Image Added

  • Create an output register for writing your own counter.
    Image Removed
    Image Added

  => Image RemovedImage Added

I/O mapping

  • Assign input and output variables.

...