Interface ModbusTcpApi
-
- All Superinterfaces:
OpenemsComponent
- All Known Implementing Classes:
AbstractModbusTcpApi
,ModbusTcpApiReadOnlyImpl
,ModbusTcpApiReadWriteImpl
public interface ModbusTcpApi extends OpenemsComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ModbusTcpApi.ChannelId
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
_setComponentMissingFault(boolean value)
Internal method to set the 'nextValue' onModbusTcpApi.ChannelId.COMPONENT_MISSING_FAULT
Channel.default void
_setComponentNoModbusApiFault(boolean value)
Internal method to set the 'nextValue' onModbusTcpApi.ChannelId.COMPONENT_NO_MODBUS_API_FAULT
Channel.default void
_setProcessImageFault(boolean value)
Internal method to set the 'nextValue' onModbusTcpApi.ChannelId.PROCESS_IMAGE_FAULT
Channel.default void
_setUnableToStart(boolean value)
Internal method to set the 'nextValue' onModbusTcpApi.ChannelId.UNABLE_TO_START
Channel.default Value<java.lang.Boolean>
getComponentMissingFault()
Gets the Component Missing Fault State.default StateChannel
getComponentMissingFaultChannel()
Gets the Channel forModbusTcpApi.ChannelId.COMPONENT_MISSING_FAULT
.default Value<java.lang.Boolean>
getComponentNoModbusApiFault()
Gets the Component No Modbus-API Fault State.default StateChannel
getComponentNoModbusApiFaultChannel()
Gets the Channel forModbusTcpApi.ChannelId.COMPONENT_NO_MODBUS_API_FAULT
.default Value<java.lang.Boolean>
getProcessImageFault()
Gets the Unable to Start Fault State.default StateChannel
getProcessImageFaultChannel()
Gets the Channel forModbusTcpApi.ChannelId.PROCESS_IMAGE_FAULT
.default Value<java.lang.Boolean>
getUnableToStart()
Gets the Unable to Start Fault State.default StateChannel
getUnableToStartChannel()
Gets the Channel forModbusTcpApi.ChannelId.UNABLE_TO_START
.-
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
-
-
-
Method Detail
-
getUnableToStartChannel
default StateChannel getUnableToStartChannel()
Gets the Channel forModbusTcpApi.ChannelId.UNABLE_TO_START
.- Returns:
- the Channel
-
getUnableToStart
default Value<java.lang.Boolean> getUnableToStart()
Gets the Unable to Start Fault State. SeeModbusTcpApi.ChannelId.UNABLE_TO_START
.- Returns:
- the Channel
Value
-
_setUnableToStart
default void _setUnableToStart(boolean value)
Internal method to set the 'nextValue' onModbusTcpApi.ChannelId.UNABLE_TO_START
Channel.- Parameters:
value
- the next value
-
getProcessImageFaultChannel
default StateChannel getProcessImageFaultChannel()
Gets the Channel forModbusTcpApi.ChannelId.PROCESS_IMAGE_FAULT
.- Returns:
- the Channel
-
getProcessImageFault
default Value<java.lang.Boolean> getProcessImageFault()
Gets the Unable to Start Fault State. SeeModbusTcpApi.ChannelId.PROCESS_IMAGE_FAULT
.- Returns:
- the Channel
Value
-
_setProcessImageFault
default void _setProcessImageFault(boolean value)
Internal method to set the 'nextValue' onModbusTcpApi.ChannelId.PROCESS_IMAGE_FAULT
Channel.- Parameters:
value
- the next value
-
getComponentNoModbusApiFaultChannel
default StateChannel getComponentNoModbusApiFaultChannel()
Gets the Channel forModbusTcpApi.ChannelId.COMPONENT_NO_MODBUS_API_FAULT
.- Returns:
- the Channel
-
getComponentNoModbusApiFault
default Value<java.lang.Boolean> getComponentNoModbusApiFault()
Gets the Component No Modbus-API Fault State. SeeModbusTcpApi.ChannelId.COMPONENT_NO_MODBUS_API_FAULT
.- Returns:
- the Channel
Value
-
_setComponentNoModbusApiFault
default void _setComponentNoModbusApiFault(boolean value)
Internal method to set the 'nextValue' onModbusTcpApi.ChannelId.COMPONENT_NO_MODBUS_API_FAULT
Channel.- Parameters:
value
- the next value
-
getComponentMissingFaultChannel
default StateChannel getComponentMissingFaultChannel()
Gets the Channel forModbusTcpApi.ChannelId.COMPONENT_MISSING_FAULT
.- Returns:
- the Channel
-
getComponentMissingFault
default Value<java.lang.Boolean> getComponentMissingFault()
Gets the Component Missing Fault State. SeeModbusTcpApi.ChannelId.COMPONENT_MISSING_FAULT
.- Returns:
- the Channel
Value
-
_setComponentMissingFault
default void _setComponentMissingFault(boolean value)
Internal method to set the 'nextValue' onModbusTcpApi.ChannelId.COMPONENT_MISSING_FAULT
Channel.- Parameters:
value
- the next value
-
-