Software Library Reference Manual for VME 429
65
Section 3 - System Functions
3.16 Api429CmdWriteDiscretes
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiUInt8 Api429CmdWriteDiscretes( AiUInt8 uc_Module, AiUInt32 ul_Mask,
AiUInt32 ul_Value);
D
D
r
r
i
i
v
v
e
e
r
r
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
API429_WRITE_DISCRETES (0x46)
P
P
u
u
r
r
p
p
o
o
s
s
e
e
:
:
This command is used to write to the discrete outputs.
Note:
This note is only valid for APM429 boards:
Since the discretes are programmable on an APM429 board, be sure to have
setup the discrete outputs with the function Api429CmdInitDiscretes()!
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
a
a
s
s
k
k
Bit 31
Bit 30
Bit 29
Bit 28
Bit 27
Bit 26
Bit 25
Bit 24
Reserved (0)
Bit 23
Bit 22
Bit 21
Bit 20
Bit 19
Bit 18
Bit 17
Bit 16
Reserved (0)
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
Reserved (0)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
MASK
The mask is used to define the discrete outputs that are actually written. A “1”
marks the discrete output to be written.
Содержание AMC429
Страница 2: ......
Страница 6: ...iv THIS PAGE IS INTENTIONALLY LEFT BLANK...
Страница 18: ...8 Software Library Reference Manual for VME 429 Section 1 Introduction THIS PAGE IS INTENTIONALLY LEFT BLANK...
Страница 130: ...120 Software Library Reference Manual for VME 429 Section 5 Transmitter Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...
Страница 150: ...140 Software Library Reference Manual for VME 429 Section 6 Receiver Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...
Страница 216: ...206 Software Library Reference Manual for VME 429 Section 11 Notes THIS PAGE IS INTENTIONALLY LEFT BLANK...