Rddigob, Read Digital Output Bit; Wrdigo, Write Digital Outputs; Wrdigob, Write Digital Output Bit - Addi-Data APCI-8001 Option Manual

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

Advertisement

10
1.2.2.5

rddigob, read digital output bit

See wrdigob in section [1.2.2.7]
1.2.2.6

wrdigo, write digital outputs

D
:
ESCRIPTION
B
D
:
ORLAND
ELPHI
C:
V
B
:
ISUAL
ASIC
TSRP C
:
OMPONENTS
1.2.2.7

wrdigob, write digital output bit

D
:
ESCRIPTION
B
D
:
ORLAND
ELPHI
C:
V
B
:
ISUAL
ASIC
N
OTE
This register can be used to set the digital outputs of the OPMF. You must ensure
that the digital outputs are grouped axis-specifically on the OPMF. If you wish to
set an output, set the respective bit. The bit-coded structure of the digo status word
can be taken from the following table:
Table: Bit-coded structure of the digo word for
Bit No. Function
0
Output 9
1
Output 10
2
Output 11
3
Output 12
4
Output 13
5
Output 14
6
Output 15
7
Output 16
8..31
Not assigned --
Table: Bit-coded structure of the digo word for
Bit No. Function
0
Output 17
1
Output 18
2
Output 19
3
Output 20
4..31
Not assigned --
procedure wrdigo(var tsrp:TSRP);
void wrdigo(struct TSRP far *tsrp);
Sub wrdigo(DTSRP As TSRP)
TSRP[n].digo
This function is used to set or reset one OPMF digital output. The axis number
must be specified in the an parameter (3, ... MAXAXIS-1) The output is reset with
the value 0 or FALSE.
Note: Counting for the bit no. starts at 1.
procedure wrdigob(an:integer; bitnr:integer; value: boolean);
wrdigob(int an, int bitnr, int value);
Sub wrdigob(ByVal an As Long, ByVal bitnr As Long, ByVal value As Long)
PCAP command wrdigo()
Connector X1 / PIN
26
27
28
29
30
31
32
33
Connector X2 / PIN (SUB-D)
26
27
28
29
O
PTIONS MANUAL
axis channels 4, 5 and 6
axis channels 7 and 8

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?

This manual is also suitable for:

Apci-8008

Table of Contents