MIDI to PLC using Raspberry PI