# Moxa ioLogik E1242

Zdroj: https://docs.evcc.io/cs/external-limit/moxa-iologik-e1242

Connect the relay contacts of the control box to the digital inputs of the module. The module must provide the inputs as discrete inputs (function code 02), a closed contact reads as active.

## Parametry

| Název | Popis | Výchozí / příklad | |
| --- | --- | --- | --- |
| modbus | Modbus Type (tcpip) |  |  |
| maxconsumptionpower | Guaranteed minimum power (Pmin) Power limit applied to the root circuit while the limit is active. |  W |  |
| w4input | W4 input Digital input number for the W4 signal (Dimmer for controllable loads), counting from 1 (first input = 1) | 1 |  |
| w3input | W3 input Digital input number for the W3 signal (Zero export, 0%), counting from 1 (first input = 1) | 2 |  |
| productionnominalmax | Installed generator power Rated generator/module power of the installation (reference value according to § 9 EEG). |  Wp |  |
| s1input | S1 input Digital input number for the S1 signal (60% export power limit), counting from 1 (first input = 1) | 3 |  |
| s2input | S2 input Digital input number for the S2 signal (30% export power limit), counting from 1 (first input = 1) | 4 |  |

## Příklad konfigurace pro evcc.yaml

```yaml
hems:
  type: template
  template: fnn-modbus
  
  # Modbus TCP
  modbus: tcpip
  id: 1
  host:  # Hostname
  port: 502 # Port
  maxconsumptionpower: # Guaranteed minimum power (Pmin) (W), Power limit applied to the root circuit while the limit is active.
  w4input: 1 # W4 input, Digital input number for the W4 signal (Dimmer for controllable loads), counting from 1 (first input = 1)
  w3input: 2 # W3 input, Digital input number for the W3 signal (Zero export, 0%), counting from 1 (first input = 1)
  productionnominalmax: # Installed generator power (Wp), Rated generator/module power of the installation (reference value according to § 9 EEG). (optional)
  s1input: 3 # S1 input, Digital input number for the S1 signal (60% export power limit), counting from 1 (first input = 1) (optional)
  s2input: 4 # S2 input, Digital input number for the S2 signal (30% export power limit), counting from 1 (first input = 1) (optional)
```
