Porovnávané verzie

Kľúč

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

...

The protocol allows reading and writing data into the Advantech ADAM series 4000 devices.

Types of useable usable I/O tags according to ADAM type are listed in the following table:

Table 1

Type and range of measurementsADAM device typeRead/Write
1 x analog input AI4011, 4011D, 4012, 4013, 4014D, 4016R
8 x analog input AI4017, 4018, 4018M, 4019R
1 x analog output AO4021R/W
4 x analog output AO4024R/W
4 x digital output DOUT4060R/W
8 x digital output DOUT4068, 4069R/W
12 x digital output DOUT4056S, 4056SOR/W
8 x digital input DI4052, 4068R
16 x digital input DI4051, 4053R

Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: Advantech ADAM Series 4000
  • Station address – Module Address - ADAM module address , decimal (according to the setting of modules in configuration), a number in the range of 0 up- to 255 (according to setting of modules in configurationspecified either as a decimal number or a hexadecimal number with a hash at the beginning (e.g. #1A).
  • Time parameters – polling parameters – for optimal and quick communication - Delay 0 seconds (all stations).

...

Configuration dialog box - tab „Parameters".
They influence some optional parameters of the protocol.

Table 2

Full nameMeaningUnitDefault value
Kotva
rc
rc
Retry Count
Retry
A retry count of the request in case of a communication failure.-2
Kotva
rt
rt
Retry Timeout
Delay
The delay between request retry in case of a communication failure.ms300 milliseconds
Kotva
wft
wft
Wait First Timeout
Delay
The delay after sending the request before reading the response.ms200 milliseconds
Kotva
wt
wt
Wait Timeout
Delay
The delay between response readings till its completing.ms200 milliseconds
Kotva
mwr
mwr
Max Wait Retry
Retry count of response reading till its completing.-8
Kotva
chk
chk
Checksum
Using the checksum. Set according to the setting of module ADAM in the configuration.YES/NOYES

For further information on the protocol parameters, see the topic Communication line - configuration dialog box.

...

  • Channel - number of ADAM module channel, decimal a number in the range of 0 - 15 (for ADAM module with one channel, use Channel = 0), specified either as a decimal number or a hexadecimal number with a hash at the beginning (e.g. #A).

The following table represents the configuration of channels for individual types of ADAM modules:

Table 3

ModuleTag typeChannel (channels) number
4011, 4011D, 4012, 4013, 4014D, 40161 x AI0
4017, 4018, 4018M, 40198 x AI0 up to 7
40211 x AO0
40244 x AO0 up to 3
40604 x DOUT0 up to 3
4068, 40698 x DOUT0 up to 7
4056S, 4056SO12 x DOUT0 up to 11
4052, 40688 x DI0 up to 7
4051, 405316 x DI0 up to 15

Reading and writing of analog inputs and outputs are supported for the “Engineering units” data format.

...