-
20
-
4.2.6. FT_GetBitMode
Function
Load photocoupler
Format
FT_Read (FT_HANDLE ftHandle, PUCHAR pucMode)
ftHandle
:
Set the handle number
pucMode
:
Set “1” when the photocoupler is ON, “0” is OFF, and execute
Byte output. Bit assignments are as follows.
D7 D6 D5 D4 D3 D2 D1 D0
Photocoupler input_1
Photocoupler input_2
Photocoupler input_3
Photocoupler input_4
Photocoupler input_5
Photocoupler input_6
Photocoupler input_7
Photocoupler input_8
Return value
FT_OK
:
In case of “0”, success
Other than “0”
:
Error