write mode on PLC: still under develop.