ModbusTCPProtocolSetAllDigitalOutputLineStates Method |
Set all output lines on the device open (0) or closed (1)
The bit position represents the line number
Namespace:
Brainboxes.IO
Assembly:
Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntaxpublic void SetAllDigitalOutputLineStates(
int states,
int numberOfOutputs = 8
)
Public Sub SetAllDigitalOutputLineStates (
states As Integer,
Optional numberOfOutputs As Integer = 8
)
abstract SetAllDigitalOutputLineStates :
states : int *
?numberOfOutputs : int
(* Defaults:
let _numberOfOutputs = defaultArg numberOfOutputs 8
*)
-> unit
override SetAllDigitalOutputLineStates :
states : int *
?numberOfOutputs : int
(* Defaults:
let _numberOfOutputs = defaultArg numberOfOutputs 8
*)
-> unit
Parameters
- states
- Type: SystemInt32
The bit position represents the line number - numberOfOutputs (Optional)
- Type: SystemInt32
The number of outputs on the device
Implements
IIOProtocolSetAllDigitalOutputLineStates(Int32, Int32)
See Also