CamContadorDocumentationModbus TCP

Modbus TCP

You can receive real-time product counting information in two ways:

  • using MQTT;
  • using Modbus TCP.

The Modbus TCP option is described here.

Just write in the config.yaml this parameters

modbus_server:
  host: 192.168.110.01
  port: 502
  registers:
    - address: 100
      camera_idx: 0

host: 192.168.110.01 – is  the ip-address of the machine on which the production counter is running.

port: 502 – the port

camera_idx: 0 – If the counter analyzes images from several cameras, you can specify the camera number here.