Manual ME-1000
Rev. 1.4E
Meilhaus Electronic
Page 29
Function Reference
<
PortNo
>
Choose port for input or output:
<Port>
Port
PORTA (00Hex)
32 bit port A
PORTB (01Hex)
32 bit port B
PORTC (02Hex)
32 bit port C
PORTD (03Hex)
32 bit port D
<
Dir
>
Port-Richtung bestimmen:
<Dir>
Input/Output
MEINPUT (00Hex)
Port as input
MEOUTPUT (01Hex)
Port as output
Return value
If the function is successfully executed, a '1' is returned. If an error
occurs, a '0' is returned. The cause of the error can be determined
with the function
me1000GetDrvErrMess
✎
Description
Function is used for: ME-1000/64 and ME-1000/128. Port C and D
only for ME-1000/128.
Returns the state of the selected input line.
☞
Important Note!
To properly configure the port the function
me1000DIOSetPortDirection
must first be called for the selected
port.
●
Definitions
C:
int me1000DIGetBit (int iBoardNumber, int iPortNo, int
iBitNo, int *piBitValue);
Delphi:
Function me1000DIGetBit (iBoardNumber, iPortNo,
iBitNo: integer; Var piBitValue: integer): integer;
Basic:
Declare Function me1000DIGetBit Lib „me1000“ Alias
"_VBme1000DIGetBit@16" (ByVal lBoardNumber As
Long, ByVal lPortNo As Long, ByVal lBitNo As Long,
ByRef lBitValue As Long) As Long
me1000DIGetBit
Содержание ME-1000 Series
Страница 8: ...Rev 1 4E Manual ME 1000 Introduction Page 8 Meilhaus Electronic ...
Страница 10: ...Rev 1 4E Manual ME 1000 Installation Page 10 Meilhaus Electronic ...
Страница 16: ...Rev 1 4E Manual ME 1000 Hardware Page 16 Meilhaus Electronic ...
Страница 40: ...Rev 1 4E Manual ME 1000 Function Reference Page 40 Meilhaus Electronic ...
Страница 46: ...Rev 1 4E Manual ME 1000 Technical Questions Page 46 Meilhaus Electronic ...