public class SocomecMeterSinglephaseImpl extends AbstractSocomecMeter implements SocomecMeterSinglephase, SocomecMeter, SinglePhaseMeter, SymmetricMeter, AsymmetricMeter, OpenemsComponent, ModbusSlave
AbstractOpenemsModbusComponent.BitConverter, AbstractOpenemsModbusComponent.ChannelMapper<T extends AbstractModbusElement<?>>
SocomecMeterSinglephase.ChannelId
SocomecMeter.ChannelId
SinglePhaseMeter.ChannelId
modbusProtocol
POWER_DOC_TEXT
Constructor and Description |
---|
SocomecMeterSinglephaseImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
deactivate()
Handles @Deactivate of implementations.
|
java.lang.String |
debugLog()
Gets some output that is suitable for a continuous Debug log.
|
MeterType |
getMeterType()
Gets the type of this Meter.
|
ModbusSlaveTable |
getModbusSlaveTable(AccessMode accessMode)
Gets the Modbus-Slave-Table for this OpenEMS-Component.
|
SinglePhase |
getPhase()
Gets the Phase this ESS is connected to.
|
protected void |
identifiedCountisE14()
Applies the modbus protocol for Socomec Countis E14.
|
protected void |
identifiedCountisE23_E24_E27_E28()
Applies the modbus protocol for Socomec Countis E23, E24, E27 and E28.
|
protected void |
identifiedCountisE44()
Applies the modbus protocol for Socomec Countis E44.
|
protected void |
identifiedDirisA10()
Applies the modbus protocol for Socomec Diris A10.
|
protected void |
identifiedDirisA14()
Applies the modbus protocol for Socomec Diris A14.
|
protected void |
identifiedDirisB30()
Applies the modbus protocol for Socomec Diris B30.
|
protected void |
setModbus(BridgeModbus modbus)
Set the Modbus bridge.
|
defineModbusProtocol, identifySocomecMeter
activate, activate, activate, getBridgeModbus, getModbusProtocol, getUnitId, m, m, m, m, unsetModbus
_channel, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, removeChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModbusSlaveNatureTable, initializeCopyPhaseChannel
_setActivePowerL1, _setActivePowerL1, _setActivePowerL2, _setActivePowerL2, _setActivePowerL3, _setActivePowerL3, _setCurrentL1, _setCurrentL1, _setCurrentL2, _setCurrentL2, _setCurrentL3, _setCurrentL3, _setReactivePowerL1, _setReactivePowerL1, _setReactivePowerL2, _setReactivePowerL2, _setReactivePowerL3, _setReactivePowerL3, _setVoltageL1, _setVoltageL1, _setVoltageL2, _setVoltageL2, _setVoltageL3, _setVoltageL3, getActivePowerL1, getActivePowerL1Channel, getActivePowerL2, getActivePowerL2Channel, getActivePowerL3, getActivePowerL3Channel, getCurrentL1, getCurrentL1Channel, getCurrentL2, getCurrentL2Channel, getCurrentL3, getCurrentL3Channel, getReactivePowerL1, getReactivePowerL1Channel, getReactivePowerL2, getReactivePowerL2Channel, getReactivePowerL3, getReactivePowerL3Channel, getVoltageL1, getVoltageL1Channel, getVoltageL2, getVoltageL2Channel, getVoltageL3, getVoltageL3Channel, initializePowerSumChannels
_setActiveConsumptionEnergy, _setActiveConsumptionEnergy, _setActivePower, _setActivePower, _setActiveProductionEnergy, _setActiveProductionEnergy, _setCurrent, _setCurrent, _setFrequency, _setFrequency, _setMaxActivePower, _setMaxActivePower, _setMinActivePower, _setMinActivePower, _setReactivePower, _setReactivePower, _setVoltage, _setVoltage, getActiveConsumptionEnergy, getActiveConsumptionEnergyChannel, getActivePower, getActivePowerChannel, getActiveProductionEnergy, getActiveProductionEnergyChannel, getCurrent, getCurrentChannel, getFrequency, getFrequencyChannel, getMaxActivePower, getMaxActivePowerChannel, getMinActivePower, getMinActivePowerChannel, getReactivePower, getReactivePowerChannel, getVoltage, getVoltageChannel
public SocomecMeterSinglephaseImpl() throws OpenemsException
OpenemsException
protected void setModbus(BridgeModbus modbus)
AbstractOpenemsModbusComponent
setModbus
in class AbstractOpenemsModbusComponent
modbus
- the BridgeModbus Referenceprotected void deactivate()
AbstractOpenemsComponent
deactivate
in class AbstractOpenemsModbusComponent
public SinglePhase getPhase()
SinglePhaseMeter
getPhase
in interface SinglePhaseMeter
public MeterType getMeterType()
SymmetricMeter
getMeterType
in interface SymmetricMeter
protected void identifiedCountisE14() throws OpenemsException
AbstractSocomecMeter
identifiedCountisE14
in class AbstractSocomecMeter
OpenemsException
- on errorprotected void identifiedCountisE23_E24_E27_E28() throws OpenemsException
AbstractSocomecMeter
identifiedCountisE23_E24_E27_E28
in class AbstractSocomecMeter
OpenemsException
- on errorprotected void identifiedCountisE44() throws OpenemsException
AbstractSocomecMeter
identifiedCountisE44
in class AbstractSocomecMeter
OpenemsException
- on errorprotected void identifiedDirisA10() throws OpenemsException
AbstractSocomecMeter
identifiedDirisA10
in class AbstractSocomecMeter
OpenemsException
- on errorprotected void identifiedDirisA14() throws OpenemsException
AbstractSocomecMeter
identifiedDirisA14
in class AbstractSocomecMeter
OpenemsException
- on errorprotected void identifiedDirisB30() throws OpenemsException
AbstractSocomecMeter
identifiedDirisB30
in class AbstractSocomecMeter
OpenemsException
- on errorpublic java.lang.String debugLog()
OpenemsComponent
debugLog
in interface OpenemsComponent
public ModbusSlaveTable getModbusSlaveTable(AccessMode accessMode)
ModbusSlave
getModbusSlaveTable
in interface ModbusSlave
accessMode
- filters the Modbus-Records that should be shown