Interface ModbusTcpApi
- All Superinterfaces:
OpenemsComponent
- All Known Implementing Classes:
AbstractModbusTcpApi
,ControllerApiModbusTcpReadOnlyImpl
,ControllerApiModbusTcpReadWriteImpl
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.Gets the Component Missing Fault State.default StateChannel
Gets the Channel forModbusTcpApi.ChannelId.COMPONENT_MISSING_FAULT
.Gets the Component No Modbus-API Fault State.default StateChannel
Gets the Channel forModbusTcpApi.ChannelId.COMPONENT_NO_MODBUS_API_FAULT
.Gets the Unable to Start Fault State.default StateChannel
Gets the Channel forModbusTcpApi.ChannelId.PROCESS_IMAGE_FAULT
.Gets the Unable to Start Fault State.default StateChannel
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 Details
-
getUnableToStartChannel
Gets the Channel forModbusTcpApi.ChannelId.UNABLE_TO_START
.- Returns:
- the Channel
-
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
Gets the Channel forModbusTcpApi.ChannelId.PROCESS_IMAGE_FAULT
.- Returns:
- the Channel
-
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
Gets the Channel forModbusTcpApi.ChannelId.COMPONENT_NO_MODBUS_API_FAULT
.- Returns:
- the Channel
-
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
Gets the Channel forModbusTcpApi.ChannelId.COMPONENT_MISSING_FAULT
.- Returns:
- the Channel
-
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
-