Vidíte historickú verziu tejto stránky. Pozrite si aktuálnu verziu.

Porovnať s aktuálnou verziou Zobraziť históriu stránky

Verzia 1 Ďalej »

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 series) cards of the Advantech company of the following types: digital input, digital output, analog input, analog output. There is required the installation of the Advantech 32 bit dll driver for particular card type. The driver versions 1.3 a 1.4 beta 4 were tested. Data acquisition has been verified for the card PCL812PG.

Communication DLL name: PROTADVDLLIO.DLL

Communication line configuration


  • communication line category: API.

Communication station configuration


  • communication protocol: Advantech DA Card.
  • Station address is a number allocated by the Advantech IO Device Installation installation tool to the card. The tool allocates the numbers from 000, 001, 002, .... to cards.

I/O tag configuration


Possible I/O tag types: Ai, Ao, Ci, Co, Di, Dout.

The Ci and Co types allows reading DI inputs or writing to DO outputs byte by byte (8 bits).

According to the I/O tag type, it is required to define:

Di, Dout types:

  • Port - serial number of octad (8 bits) of digital inputs or outputs within the frame of the card. It is indexed from 0.
  • Bit - bit number within the range of 0..7 within the frame of the port.

Ci, Co types:

  • Port - serial number of octad of digital inputs or outputs within the frame of the card. It is indexed from 0.

Ai type:

  • Channel - 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 the card type. It is indexed from 0. Count and input voltage range of individual gains can be acquired by using the test software Driver test, that is part of the installation of the Advantech 32 bit dll driver.

Ao type :

  • Channel - number of the AO channel within the frame of the card. It is indexed from 0.
  • Reference - selection of a voltage reference type for AO output. It depends on used card and its settings (jumpers). "Int" means internal and "Ext" external reference.
  • Min. Value - min. possible adjustable voltage for AO output.
  • Max. Value - max. possible adjustable voltage for AO output. The parameters Min. Value and Max. Value may be any values within the physically adjustable range of the AO output.

Literature


  • "Advantech DLL Drivers User's Manual and Programmer's Reference", 1st edition. (c) 1999 Advantech Co., Ltd.

Changes and modifications


-

Document revisions


  • Ver. 1.0 -February 7th 2001 - document creation.
  • Žiadne štítky