Difference between pages "How to connect external device to work with Parking system" and "File:MAEnterprise31.png"

From VIT company
(Difference between pages)
Jump to navigation Jump to search
m (1 revision)
 
(Importing file)
 
Line 1: Line 1:
==Connecting external device into the system==
+
Importing file
 
 
Recognition system can work with external devices via COM-port interface. The current version supports the following types of external devices:
 
 
 
<br>
 
:* AVMOD – proprietary product of VIT company;
 
:* trp-c28 from NUUO company;
 
:* number of devices, that uses MODBUS protocol.
 
 
 
<br>
 
In case other type of device is needed then the support service should be contacted.
 
 
 
<br>
 
In order to connect the external device the following steps are required:
 
 
 
# '''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 [[ AVMOD IO44D, IO44DU|''manual'']] , section  [[AVMOD IO44D, IO44DU#Avmod configuration utility|''“Avmod configuration utility”'']]. If the utility was not included into the delivery package, please, contact company either managers or support team;
 
 
 
<br>
 
<ol type="1" start="2"><li> '''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:</li></ol>
 
:: 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;
 
 
 
<br>
 
<ol type="1" start="3"><li> '''open the configuration file ''bridge.plist''''',which is located at:</li></ol>
 
:: 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 ХР;
 
 
 
<br>
 
:: For example, parameter <System Name> can be Overseer or Autocode VMS or other.
 
 
 
<br>
 
<ol type="1" start="4"><li>  '''made the following changes to the configuration file ''bridge.plist''''', which ensure the correct operation with the external device:    </li> </ol>
 
:: 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===
 
 
 
<pre>
 
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";
 
  ];
 
</pre>
 
 
 
<br>
 
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.
 
 
 
<br>
 
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===
 
 
 
<pre>
 
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";
 
  ];
 
</pre>
 
 
 
[[Category:Documentation for Administrator of Overseer Parking]]
 
[[Category:Documentation for Administrator of AutoCode for VMS Parking]]
 
[[Category:Documentation for Administrator of AutoCode XProtect 1.0 Parking]]
 
 
 
[[ru: Подключение внешнего устройства для работы в системе Parking|Подключение внешнего устройства для работы в системе Parking]]
 
[[en:How to connect external device to work with Parking system|How to connect external device to work with Parking system]]
 

Revision as of 13:48, 10 March 2015

Importing file