write_port_register(address, value)

Writes one of the ports, which can also be accessed by Modbus clients

>>> write_port_register(3,100)

Parameters

address: Address of the port (See port map on Support site, page "Modbus Server" )

value: Value to be set in the port (0 : 65536) or (-32768 : 32767)

Example command: write_port_register(3,100)

  • Example Parameters:
    • Address = 3
    • Value = 100