How to connect external device to work with Parking system

From VIT company
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Connecting external device into the system

Recognition system can work with external devices via COM-port interface. The current version supports the following types of external devices:


  • AVMOD – proprietary product of VIT company;
  • trp-c28 from NUUO company;
  • number of devices, that uses MODBUS protocol.


In case other type of device is needed then the support service should be contacted.


In order to connect the external device the following steps are required:

  1. connect device to the computer. The utility avmod.exe can be used for this aim. It enables to test device work and to set parameters for AVMOD, trp-c28 device types. Detailed information about avmod.exe utility is in the manual , section “Avmod configuration utility”. If the utility was not included into the delivery package, please, contact company either managers or support team;


  1. identify number of COM-port that is used for connection of the external device. If avmod.exe program was used during connection then COM-port number was indicated as one of parameters during connection. In case the connection was performed in other way, the following actions should be done:
2.1. open the Device manager;
2.2. select connected device in the objects tree;
2.3. open Object properties – they contain the number of COM-port, used for device connection;


  1. open the configuration file bridge.plist,which is located at:
3.1. C:\ProgramData\VIT\<System Name>\resources\user – for OS Windows 7 and higher;
3.2. C:\Documents and Settings\All Users\Application Data\VIT\<Overseer>\resources2\user – for OS Windows ХР;


For example, parameter <System Name> can be Overseer or Autocode VMS or other.


  1. made the following changes to the configuration file bridge.plist, which ensure the correct operation with the external device:
4.1. in the record about ports, which is written in section TARGET_0 -> settings -> com -> COM7, change default COM-number to the external device port number, identified in the p.2.
4.2. in the just edited COM-port section, find the record type as following: devices -> aio1 ->addr and ensure, that addr parameter value corresponds to the appropriate device parameter value, given during the connection. Some configurations have several extermal devices, connected via the same COM-port, therefore in such configuration correct work of devices are provided by different values of the addr parameter.
4.3. in the just edited COM-port section, find the record type as following: devices -> aio1 ->type and ensure, that type parameter value defines the appropriate type of the connected device:
  • type = "trp-c28" - for trp-c28 device from NUUO company;
  • type = "avmod" or complete absence of this parameter - for AVMOD device from VIT-company.

Example of bridge.plist file when connecting AVMOD device from VIT company

TARGET_0 = [
   class = "Osbomodbus";
   settings = [
    com = [
     COM3 = [
      baudrate = "3";
      parity = "0";
      interface = 232;
      protocol  = "avmod";
      stopbit = "0";
      devices = [
       aio1 = [
        addr = 1;
        relay = [
         "gate_0" = 1;
         "gate_1" = 2;
         "gate_2" = 3;
         "gate_3" = 4;
        ];
        callback = [
         "in_0" = [
          andmask = 16;
          xormask = 16;
          timeout=10;
         ];
         "in_1" = [
          andmask = 32;
          xormask = 32;
          timeout=10;
         ];
         "in_2" = [
          andmask = 64;
          xormask = 64;
          timeout=10;
         ];
         "in_3" = [
          andmask = 128;
          xormask = 128;
          timeout=10;
         ];
        ];
       ];
      ];
     ];
    ];
   ];
   description = "AVMOD";
  ];


It is necessary to pay attention to parameter relay, which defines correspondence between logical and physical relays of avmod device. Thus, 1, 2, 3, 4 are physical numbers of relays, while gate_0, gate_1, gate_2, gate_3 – logical names of that relays. Record "gate_0" = 1; means, that in case event reaction is linked to gate_0 than it activates relay number 1. Numbers of relays are editable if it’s necessary.


Interrelations among relays, recognition channels, events and reactions to that events are set in the configuration file OSAPoliticsDefs.plist. The detailed instruction Detailed description of the available functionality is in the manual "Configuration files in the Parking system».

Example of bridge.plist file when connecting trp-c28 device from NUUO company

TARGET_0 = [
   class = "Osbomodbus";
   settings = [
    com = [
     COM7 = [
      baudrate = "1";
      parity = "N";
      interface = 232;
      protocol  = "avmod";
      stopbit = "0";
      devices = [
       aio1 = [
        addr = 1;
           type = "trp-c28";
        relay = [
         "gate_0" = 0;
         "gate_1" = 1;
         "gate_2" = 2;
         "gate_3" = 3;
        ];
        callback = [
         "in_0" = [
          andmask = 1;
          xormask = 0;
          timeout=10;
          filter_ticks=3;
         ];
         "in_1" = [
          andmask = 2;
          xormask = 0;
          timeout=10;
          filter_ticks=3;
         ];
         "in_2" = [
          andmask = 4;
          xormask = 0;
          timeout=10;
          filter_ticks=3;
         ];
         "in_3" = [
          andmask = 8;
          xormask = 0;
          timeout=10;
          filter_ticks=3;
         ];
        ];
       ];
      ];
     ];
    ];
   ];
   description = "AVMOD";
  ];

Подключение внешнего устройства для работы в системе Parking How to connect external device to work with Parking system