EasyManua.ls Logo

Aim ARINC 429 - 4 MEMORY FUNCTIONS

Default Icon
228 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software Library Reference Manual for VME 429 57
Section 3 - System Functions
3.12 Api429CmdReadDiscretes
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiUInt8 Api429CmdReadDiscretes( AiUInt8 uc_Module, AiUInt32 *pul_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_READ_DISCRETES (0x45)
P
P
u
u
r
r
p
p
o
o
s
s
e
e
:
:
This command is used to read from the discrete inputs.
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 inputs with the function Api429CmdInitDiscretes()!
I
I
n
n
p
p
u
u
t
t
None
O
O
u
u
t
t
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
*
*
p
p
u
u
l
l
_
_
V
V
a
a
l
l
u
u
e
e
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
IN IN IN IN IN IN IN IN
IN
Discrete input value
Note: For APM429 cards the bits are only valid if the corresponding
discretes are configured as Input with the function
Api429CmdInitDiscretes!
R
R
e
e
t
t
u
u
r
r
n
n
V
V
a
a
l
l
u
u
e
e
Value Constant Description
0 API429_CMD_OK
Execution success
1 API429_CMD_ERR
Execution error

Table of Contents

Related product manuals