Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Limitations: The protocol does not support database variables of "self station", i.e., on the computer with the ATOUCH32 driver running, but allows to readreading/write writing variables on process stations. The DB-Net driver can be used by just one application (in our case, the D2000 KOM process) at the same time.

When using the older versions of ATOUCH32 V2.x, just one communication line for DB-Net communication must be configured. ATOUCH32 V3.x versions enable so-called multithreading. It means , you may connect more lines, which will communicate in parallel, to ATOUCH32 and speed up the communication. The driver must be initialized only by one line (see "Init File" parameter, note 2). However, the rule that all lines must be configured within one KOM process on one computer still applies. This feature may be used in D2000 V9.00.021 rel.021 and higher.

Note: If it is necessary to create multiple lines (where communication with AMiT is via UDP and the IP address is configured in the UDP section in the initialization file), each line must be configured using a separate KOM process.
The UDP port used on the AmiT device side is defined by the Port parameter in the [UDP] section; port 59 is used by default.
The UDP port used on the Windows side is defined by the UDP.MyPort parameter in the [General] section, a dynamic port is used by default, which is configured with the value 0.

Example of a dbnet.ini file with a network-connected AMiT:

[General]
MyStation=0

[UDP]
Address=172.16.1.20
Station=1

Kotva
komunikacna_linka0
komunikacna_linka0
Communication line configuration

...

Full nameDescriptionUnits / sizeDefault value
Kotva
if
if
HW Init File
Full path to the file containing the DB-Net configuration.

Note 1:
If the line protocol parameter INIFILE is not specified (an empty string), then the station protocol parameters described below must be configured correctly for all stations. The parameters of DB-Net IP can be configured only by the "Init File".

Note 2: If you do not want so that the line initialized to initialize the ATOUCH32 driver in the multithread mode, use "---", i.e., 3x "minus" character. One Only one line within the D2000 KOM process must can contain the path to the existing init file. It, then, This line executes the initialization for all other lines.
-

...

  • Communication protocol: AMiT ATOUCH32 DB-Net.
  • The station address is the device address in the DB-Net network (value of the “Station” item in the initialization string/file - a 16-bit number). Neither the configuration nor the network can contain two stations with the same address including the address of "self station".

...