202
Function Library
6.19 General-Purpose DIO
@ Name
_8154_set_gpio_output
– Set digital output
_8154_get_gpio_output
– Get digital output
_8154_get_gpio_input
– Get digital input
_8154_set_gpio_input_function
– Set the signal types for
any digital inputs
@ Description
_8154_set_gpio_output
:
The PCI-8154 has 4 digital output channels. By this function,
user could control the digital outputs.
_8154_get_gpio_output
:
This function is used to get the digital output status.
_8154_get_gpio_input
:
PCI-8154 has 4 digital input channels. By this function, user
can get the digital input status.
_8154_set_gpio_input_function
:
PCI-8154 has 4 digital input channels. By this function, user
can set one of several input signals to any specific DI channels.
Those signals include LTCn, SDn, PCSn, CLRn, EMG. (The
index word n mean axis index)
@ Syntax
C/C++(Windows 2000/XP)
I16 _8154_set_gpio_output(I16 card_id, I16
DoValue );
I16 _8154_get_gpio_output(I16 card_id, I16 *
DoValue );
I16 _8154_get_gpio_input(I16 card_id, I16 *
DiValue );
I16 _8154_set_gpio_input_function(I16 card_id,
I16 Channel, I16Select, I16 Logic);
Содержание PCI-8154
Страница 4: ......
Страница 28: ...18 Installation ...
Страница 47: ...Signal Connections 37 and stop signals to STA and STP pins on the K1 connector of the first PCI 8154 card ...
Страница 48: ...38 Signal Connections ...
Страница 98: ...88 Operation Theory ...
Страница 102: ...92 MotionCreatorPro 5 3 2 Select Menu The select menu appears after running MotionCreatorPro It is used to ...
Страница 103: ...MotionCreatorPro 93 5 3 3 Card Information Menu In this menu it shows some Information about this card ...
Страница 104: ...94 MotionCreatorPro 5 3 4 Configuration Menu In the IO_Config_1 menu users can configure ALM INP ERC EL ORG and EZ ...
Страница 106: ...96 MotionCreatorPro In the IO_Config_2 menu users can configure LTC SD PCS and Select_Input ...
Страница 108: ...98 MotionCreatorPro In the Pulse INT_Config menu users can configure pulse input output and move ratio and INT factor ...
Страница 129: ...MotionCreatorPro 119 5 3 8 Help Menu In this menu users can Click Mouse Right Key to show Help Infor mation ...
Страница 130: ...120 MotionCreatorPro ...
Страница 206: ...196 Function Library Pos Latch data Position ...
Страница 224: ...214 Function Library ...
Страница 226: ...214 Connection Example ...