Package io.openems.edge.wago
Class FieldbusModule
- java.lang.Object
-
- io.openems.edge.wago.FieldbusModule
-
- Direct Known Subclasses:
Fieldbus4xxDI
,Fieldbus523RO1Ch
,Fieldbus5xxDO
public abstract class FieldbusModule extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FieldbusModule()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract BooleanReadChannel[]
getChannels()
Gets the Channels of theFieldbusModule
.abstract ModbusCoilElement[]
getInputCoil0Elements()
Gets theModbusCoilElement
for the input coils starting at address 0.abstract ModbusCoilElement[]
getInputCoil512Elements()
Gets theModbusCoilElement
for the input coils starting at address 512.abstract java.lang.String
getName()
Gets the Name of theFieldbusModule
.abstract ModbusCoilElement[]
getOutputCoil512Elements()
Gets theModbusCoilElement
for the output coils starting at address 512.
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName()
Gets the Name of theFieldbusModule
.- Returns:
- the name
-
getInputCoil0Elements
public abstract ModbusCoilElement[] getInputCoil0Elements()
Gets theModbusCoilElement
for the input coils starting at address 0.- Returns:
- the array; empty for no input coils
-
getInputCoil512Elements
public abstract ModbusCoilElement[] getInputCoil512Elements()
Gets theModbusCoilElement
for the input coils starting at address 512.- Returns:
- the array; empty for no input coils
-
getOutputCoil512Elements
public abstract ModbusCoilElement[] getOutputCoil512Elements()
Gets theModbusCoilElement
for the output coils starting at address 512.- Returns:
- the array; empty for no output coils
-
getChannels
public abstract BooleanReadChannel[] getChannels()
Gets the Channels of theFieldbusModule
.- Returns:
- the
Channel
-
-