Plc with modbus interface running on AVR xplain