Class T38i8o6do
Driver for Temco Controls T38i8o6do mixed I/O module. Provides 8 analog inputs, 8 analog outputs, and 6 digital outputs with comprehensive I/O capabilities. Implements multiple controller interfaces for creating various port types.
Assembly: Temco.T3xxx.dll
View Source
public class T38i8o6do : T3xxx, IT3Module, IDigitalOutputController, IPinController, ICurrentInputController, IVoltageInputController, IVoltageOutputController
Inheritance: System.Object -> Meadow.Foundation.IOExpanders.T3xxx
Implements:
Meadow.Foundation.IOExpanders.IT3Module, Meadow.Hardware.IDigitalOutputController, Meadow.Hardware.IPinController, Meadow.Hardware.ICurrentInputController, Meadow.Hardware.IVoltageInputController, Meadow.Hardware.IVoltageOutputController
Properties
Pins
Gets the pin definitions for this T38i8o6do module, providing access to all input and output pins.
View Source
public T38i8o6do.PinDefinitions Pins { get; }
Methods
CreateDigitalOutputPort(IPin, bool, OutputType)
Creates a digital output port on the specified pin with configurable initial state. Automatically configures the channel for digital output operation in manual mode.
View Source
public IDigitalOutputPort CreateDigitalOutputPort(IPin pin, bool initialState = false, OutputType initialOutputType = OutputType.PushPull)
Returns
Meadow.Hardware.IDigitalOutputPort: A new IDigitalOutputPort instance configured for digital output.
Parameters
| Type | Name | Description |
|---|---|---|
Meadow.Hardware.IPin | pin | The pin to configure as a digital output port. |
System.Boolean | initialState | The initial state to set on the digital output (default: false). |
Meadow.Hardware.OutputType | initialOutputType | The initial output type configuration (default: PushPull). |
CreateCurrentInputPort(IPin)
Creates a current input port configured for 4-20mA measurement on the specified pin. Automatically configures the channel for current input range and sets it to manual mode.
View Source
public Task<ICurrentInputPort> CreateCurrentInputPort(IPin pin)
Returns
System.Threading.Tasks.Task<Meadow.Hardware.ICurrentInputPort>: A new ICurrentInputPort instance configured for current measurement.
Parameters
| Type | Name | Description |
|---|---|---|
Meadow.Hardware.IPin | pin | The pin to configure as a current input port. |
CreateVoltageInputPort(IPin)
Creates a voltage input port configured for 0-10V measurement on the specified pin. Automatically configures the channel for voltage input range and appropriate mode settings.
View Source
public Task<IVoltageInputPort> CreateVoltageInputPort(IPin pin)
Returns
System.Threading.Tasks.Task<Meadow.Hardware.IVoltageInputPort>: A new IVoltageInputPort instance configured for voltage measurement.
Parameters
| Type | Name | Description |
|---|---|---|
Meadow.Hardware.IPin | pin | The pin to configure as a voltage input port. |
CreateVoltageOutputPort(IPin, Voltage)
Creates a voltage output port with a specified initial voltage value on the specified pin. Automatically configures the channel for voltage output operation in manual mode.
View Source
public IVoltageOutputPort CreateVoltageOutputPort(IPin pin, Voltage initialVoltage)
Returns
Meadow.Hardware.IVoltageOutputPort: A new IVoltageOutputPort instance configured for voltage output.
Parameters
| Type | Name | Description |
|---|---|---|
Meadow.Hardware.IPin | pin | The pin to configure as a voltage output port. |
Meadow.Units.Voltage | initialVoltage | The initial voltage value to set on the output. |
CreateVoltageOutputPort(IPin)
Creates a voltage output port with zero initial voltage on the specified pin. This is a convenience overload that sets the initial voltage to zero.
View Source
public IVoltageOutputPort CreateVoltageOutputPort(IPin pin)
Returns
Meadow.Hardware.IVoltageOutputPort: A new IVoltageOutputPort instance configured for voltage output with zero initial voltage.
Parameters
| Type | Name | Description |
|---|---|---|
Meadow.Hardware.IPin | pin | The pin to configure as a voltage output port. |
ReadBaudRate()
Gets the Modbus communication bitrate the sensor is configured to use
View Source
public override Task<int> ReadBaudRate()
Returns
System.Threading.Tasks.Task<System.Int32>: A task containing the bitrate in bits per second
WriteBaudRate(int)
Sets the Modbus communication bitrate the sensor is configured to use
View Source
public override Task WriteBaudRate(int bitrate)
Returns
System.Threading.Tasks.Task
Parameters
| Type | Name |
|---|---|
System.Int32 | bitrate |
WriteModbusAddress(byte)
Sets the Modbus node address of the sensor
View Source
public override Task WriteModbusAddress(byte newAddress)
Returns
System.Threading.Tasks.Task
Parameters
| Type | Name |
|---|---|
System.Byte | newAddress |
Implements
- Meadow.Foundation.IOExpanders.IT3Module
Meadow.Hardware.IDigitalOutputControllerMeadow.Hardware.IPinControllerMeadow.Hardware.ICurrentInputControllerMeadow.Hardware.IVoltageInputControllerMeadow.Hardware.IVoltageOutputController