...
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 measurements | ADAM device type | Read/Write |
---|
1 x analog input AI | 4011, 4011D, 4012, 4013, 4014D, 4016 | R |
8 x analog input AI | 4017, 4018, 4018M, 4019 | R |
1 x analog output AO | 4021 | R/W |
4 x analog output AO | 4024 | R/W |
4 x digital output DOUT | 4060 | R/W |
8 x digital output DOUT | 4068, 4069 | R/W |
12 x digital output DOUT | 4056S, 4056SO | R/W |
8 x digital input DI | 4052, 4068 | R |
16 x digital input DI | 4051, 4053 | R |
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 name | Meaning | Unit | Default value |
---|
|
Retry A retry count of the request in case of a communication failure. | - | 2 |
|
Delay The delay between request retry in case of a communication failure. | ms | 300 milliseconds |
|
Delay The delay after sending the request before reading the response. | ms | 200 milliseconds |
|
Delay The delay between response readings till its completing. | ms | 200 milliseconds |
| Retry count of response reading till its completing. | - | 8 |
| Using the checksum. Set according to the setting of module ADAM in the configuration. | YES/NO | YES |
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
Module | Tag type | Channel (channels) number |
---|
4011, 4011D, 4012, 4013, 4014D, 4016 | 1 x AI | 0 |
4017, 4018, 4018M, 4019 | 8 x AI | 0 up to 7 |
4021 | 1 x AO | 0 |
4024 | 4 x AO | 0 up to 3 |
4060 | 4 x DOUT | 0 up to 3 |
4068, 4069 | 8 x DOUT | 0 up to 7 |
4056S, 4056SO | 12 x DOUT | 0 up to 11 |
4052, 4068 | 8 x DI | 0 up to 7 |
4051, 4053 | 16 x DI | 0 up to 15 |
Reading and writing of analog inputs and outputs are supported for the “Engineering units” data format.
...