ModbusTCPProtocolGetDigitalLineState Method |
Get the state of a digital IO Line
Namespace:
Brainboxes.IO
Assembly:
Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntaxpublic int GetDigitalLineState(
int line,
bool isInput = true
)
Public Function GetDigitalLineState (
line As Integer,
Optional isInput As Boolean = true
) As Integer
abstract GetDigitalLineState :
line : int *
?isInput : bool
(* Defaults:
let _isInput = defaultArg isInput true
*)
-> int
override GetDigitalLineState :
line : int *
?isInput : bool
(* Defaults:
let _isInput = defaultArg isInput true
*)
-> int
Parameters
- line
- Type: SystemInt32
[Missing <param name="line"/> documentation for "M:Brainboxes.IO.ModbusTCPProtocol.GetDigitalLineState(System.Int32,System.Boolean)"]
- isInput (Optional)
- Type: SystemBoolean
[Missing <param name="isInput"/> documentation for "M:Brainboxes.IO.ModbusTCPProtocol.GetDigitalLineState(System.Int32,System.Boolean)"]
Return Value
Type:
Int321: Line closed/High/On, 0: Line Open/Low/Off
Implements
IIOProtocolGetDigitalLineState(Int32, Boolean)
See Also