Pcap Programming; Rdain, Read Analog Inputs - Addi-Data APCI-8001 Option Manual

Positioning and contouring control system
Hide thumbs Also See for APCI-8001:
Table of Contents

Advertisement

O
PTIONS MANUAL
1.2.2

PCAP programming

The next sections describe the individual signals and their connection pins. The corresponding pin
assignments are listed in section 1.3.1.
1.2.2.1

rdAin, read analog inputs

D
:
ESCRIPTION
B
D
:
ORLAND
ELPHI
C:
V
B
:
ISUAL
ASIC
R
V
:
ETURN
ALUE
N
:
OTE
This function provides the current analog value of the channel channel of the an
axis. A maximum of 4 analog input channels are assigned to each axis.
As up to eight channels can be processed, the analog input channels 1 – 4 are
assigned to axis channel 1 and analog input channels 5-8 are assigned to axis
channel 2.
function rdAin(an: integer; channel: integer): integer;
int rdAin(int an, int channel);
Function rdAin(ByVal an As Long, ByVal channel As Long) As Long
Analog value as integer.
Up to 8 analog values can be processed. There are slight differences in handling
the analog inputs of the different control systems, which has to be considered by
the user where required, especially in case of a system changeover.
APCI-8001: One value (one channel) is refreshed per scan cycle, i.e. with eight
channels, each channel is refreshed every 8 ms, with a pre-defined cycle of 1 ms.
Each channel can be set individually to the following measurement ranges:
0 .. +5 V, 0 .. 10 V, -5 V .. +5 V und –10 V .. 10 V.
Valid indices for an are 0 and 1, and for channel the values 0..3 are valid. If due to
the equipment version, only 4 analog input channels are available, these are the
first 4 channels. The analog channels have a 12-bit resolution.
APCI-8008: In every scan cycle, all values are refreshed. All channels can be set
only together to the following measurement ranges: 0 .. +5 V, 0 .. 10 V, -5 V .. +5 V
und –10 V .. 10 V.
Valid indices for an are 0 and 1, and for channel the values 0..3 are valid. If due to
the equipment version, only 4 analog input channels are available, these are the
first 2 channels with the first axis and the first 2 channels with the second axis. The
analog channels have a 16-bit resolution.
7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APCI-8001 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Apci-8008

Table of Contents