Advantech Data Acquisition Card communication protocol
Supported device types and versions
Communication line configuration
Communication station configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions
Supported device types and versions
...
The protocol provides data input/output from PC (PSL PCL series) cards of the Advantech company of the following types: digital input, digital output, analog input, analog output. There is required the The installation of the Advantech 32 bit driver (dll driver ) for a particular card type is required. The driver versions 1.3 a 1.4 beta 4 were tested. Data The data acquisition has been verified for the PCL812PG card PCL812PG.
Communication DLL name: PROTADVDLLIO.DLL
Kotva |
---|
| komunikacna_linka |
---|
| komunikacna_linka |
---|
|
Communication line configuration
...
- communication line category: API.
Kotva |
---|
| komunikacna_stanica |
---|
| komunikacna_stanica |
---|
|
Communication station configuration
...
- communication protocol: Advantech DA Card.
- Station The station address is a number allocated assigned by the "Advantech IO Device Installation" installation tool to the card. The tool allocates assigns the numbers from 000, starting with 000 and continuing with 001, 002, .... to the cards.
I/O tag configuration
...
Possible I/O tag types: Ai, Ao, Ci, Co, Di, Dout.
The Ci and Co types allows allow reading of DI inputs or writing to DO outputs byte-by-byte (8 bits at once).
According to the I/O tag type, it is required to definethe following parameters are required:
Di, Dout types:
- Port - serial number of octad octet (8 bits) of digital inputs or outputs within the frame of the card. It is indexed from 0.
- Bit - bit number within the port in the range of 0..7 within the frame of the port.
Ci, Co types:
- Port - serial number of octad the octet of digital inputs or outputs within the frame of the card. It is indexed from 0.
Ai type:
- Channel - the number of the AI input channel within the frame of the card. It is indexed from 0.
- Gain - input AI channel gain. It is an index within the range of gains offered according to (depending on the card type). It is indexed from 0. Count The number of gains and input voltage range of individual gains can be acquired by using the "Driver test" test software Driver test, that which is a part of the installation of the Advantech 32-bit dll driver.
Ao type :
- Channel - the number of the AO channel within the frame of the card. It is indexed from 0.
- Reference - a selection of a voltage reference type for AO output. It depends on the used card and its settings (jumpers). "Int" means internal and "Ext" external reference.
- Min. Value - min. minimal possible adjustable configurable voltage for AO output.
- Max. Value - max. possible adjustable configurable voltage for AO output. The parameters "Min. Value" and "Max. Value" may be any values within the physically adjustable configurable range of the AO output.
Literature
...
Document revisions
...
- Ver. 1.0 -February 7th, 2001 - document creation.
...