I/O Modules

I/O Modules

Connecting Modbus-compliant executive devices
Connection to executive devices

The NumberOk system supports executive control modules with the Modbus protocol. 

To connect make the next steps :

1. select from the drop-down list of the manufacturer (model): ICP DAS, Barix AG, Adam 6050 SE, Custom;

2. enter the IP address;

3. enter the device port;

4. enter ModBus identifier "Network ID" assigned to the device at its native settings;

5. click the "Add" button.

For some executive devices, you need to enter a login and password.


Connecting to camera relay through ONVIF protocol 

 

Required fields:

  • IP address 

  • Port

  • Login 

  • Password

 The main characteristics:

  • Connection time   <30 s

  • Reconnection time about 3-4 min (if connection was lost ) 

  • Triggering time  <1 s


Tested on the  cameras 

  • Uniview IPC2324EBR-DP

  •  AXIS  - P1447,P1445,P1368

  • Hanwha XNO-6020


How it works:

NumberOk connect to the IP camera by ONVIF protocol  to the IP camera, Camera  return available output  numbers, and NumberOk add them to the list of relays


Troubleshooting:

Some tricks:

  • Uniview cameras can forget about the inputs/outputs configuration after a power loss.

  • Axis cameras have individual users for ONVIF:

To investigate any connectivity issues using ONVIF protocol. Please do the following steps:

  • Close NumberOk 

  • Open Ini file (C:\ProgramData\FF\NumberOk3)

  • Set  - log level - 0x400 

  • Save and close ini file 

  • Start NumberOk 

  • Open log file ((C:\ProgramData\FF\NumberOk3)


13.05.2019 10:10:35.825: ONVIF: 10.0.3.167:80, Type 1, UTCDateTime 2019.05:13 07:05:49

13.05.2019 10:10:35.825: ONVIF: 10.0.3.167:80, Type 1, LocalDateTime 2019.05:13 10:05:49

13.05.2019 10:11:05.063: ONVIF: 10.0.3.168:80, Type 1, UTCDateTime 2019.05:13 08:06:56

13.05.2019 10:11:05.063: ONVIF: 10.0.3.168:80, Type 1, LocalDateTime 2019.05:13 11:06:56

13.05.2019 10:12:12.180: ONVIF: 10.0.3.84:80, Type 0, UTCDateTime 2019.05:13 07:17:54

13.05.2019 10:12:12.180: ONVIF: 10.0.3.84:80, Type 0, LocalDateTime 2019.05:13 07:17:54

13.05.2019 10:13:26.110: CBarbos2: 10.0.3.83:80: Switch coil 0 to ON: Ok.

13.05.2019 10:13:26.680: CBarbos2: 10.0.3.83:80: Switch coil 0 to OFF: Ok.

13.05.2019 10:13:27.279: CBarbos2: 10.0.3.83:80: Switch coil 0 to ON: Ok.

13.05.2019 10:13:28.691: CBarbos2: 10.0.3.83:80: Switch coil 0 to OFF: Ok.

13.05.2019 10:13:40.600: CBarbos2: 10.0.3.83:80: Switch coil 0 to ON: Ok.

13.05.2019 10:13:41.687: CBarbos2: 10.0.3.83:80: Switch coil 0 to OFF: Ok.

13.05.2019 10:13:41.781: CBarbos2: 10.0.3.83:80: Switch coil 0 to ON: Ok.

13.05.2019 10:13:42.683: CBarbos2: 10.0.3.83:80: Switch coil 0 to OFF: Ok.

13.05.2019 10:13:47.863: ONVIF: 10.0.3.83 switched relay 1 >=  ON, result 28

13.05.2019 10:13:47.863: ModBus 10.0.3.83 : 0, LOST

13.05.2019 10:14:08.864: ONVIF: GetSystemDateAndTime SOAP error 28

13.05.2019 10:14:29.866: ONVIF: GetSystemDateAndTime SOAP error 28

13.05.2019 10:14:50.869: ONVIF: GetSystemDateAndTime SOAP error 28

13.05.2019 10:14:59.875: ONVIF: GetSystemDateAndTime SOAP error 28

13.05.2019 10:15:00.887: ONVIF: GetSystemDateAndTime SOAP error 28

13.05.2019 10:15:01.894: ONVIF: GetSystemDateAndTime SOAP error 28

13.05.2019 10:15:02.900: ONVIF: GetSystemDateAndTime SOAP error 28

13.05.2019 10:15:02.900: ModBus 10.0.3.83 : 0, LOST

13.05.2019 10:18:02.246: ONVIF: 10.0.3.83:80, Type 0, UTCDateTime 2019.05:13 09:26:45

13.05.2019 10:18:02.246: ONVIF: 10.0.3.83:80, Type 0, LocalDateTime 2019.05:13 09:26:45

13.05.2019 10:18:02.660: ModBus 10.0.3.83 : 0, relays: 0



Connecting custom I/O modules

Custom field is intended for connection with Modbus protocol executive devices not listed in a drop-down.



The required data should  be entered in accordance with the device documentation. You will need to complete the following:

• IP address (IP field);

• Device port (Port field);

• ModBus identifier (Network ID field);

• Decimal code of the register that reports the number (count) of inputs (count of DI channels);

• Decimal code of the register that reports the number (count) of outputs (count of DO channels).


The above information is available from your device ModBUS register table.


The example of the table for one of ICP DAS devices:

Outlined are registers that report counts of inputs and outputs respectively. You would use code 30100 as a DI count register and 30110 as a DO count register.


NumberOk distribution offers a utility DumpModBus.exe to dump Modbus device registers. Only registers with non-ZERO values are dumped. The utility is located along with NumberOk executable file.


The utility runs from the command line and requires the following parameters: DumpModBus.exe IP NetID, where:

  • IP - ModBUS device IP address;

  • NetID - device ID in the ModBUS bus.

Default ModBUS tcp port is 502.

Addendum

List of fully tested and supported I/O modules: https://goo.gl/mr6bLC





    • Related Articles

    • Software Update Guidelines

      This short NumberOk update manual is applicable to a single instance installation on a computer that hosts both NumberOk and the database. Should you have multiple instances of NumberOk (including Reporter), please, refer to the Update on Multiple ...
    • Access control: Checkpoint

      Checkpoint: General Information Switch on Checkpoint mode at the tab Settings > General. Checkpoint subtab is available only in Checkpoint and Parking modes. More details on Parking mode setup: The tab is designated to configure checkpoints and ...
    • Recognition Settings

      To obtain ANPR results you will need to: connect to the video sources adjust recognition zones adjust ANPR analytics It is also important to have the connected cameras mounted and set up properly. ANPR Setup Connect video source Navigate to Settings ...
    • German Special Characters Transfer via TCP/IP Integration

      Specific German characters (e.g., ü, ö) are transferred via TCP/IP in a particular format. To correctly process these characters, check two fields: RawPlateNumber and UnicodePlateNumber. License plates containing special German characters should be ...
    • NumberOk event package specification. Delivered over TCP

      In the TCP packet data pairs PARAM=VALUE are divided with ascii 0x05. Not every pair may appear in a package. Order of pairs may vary. Text is UTF-8 encoded. Pair "SystemId=N" ( N - integer value) is added to all events. Value - is primary key from ...