read_port_bit(address)

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

>>> boolval = read_port_bit(3)

Parameters

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

Return Value

The value held by the port (True, False)

Example command: read_port_bit(3)

  • Example Parameters:
    • Address = port bit 3