added PLC include file
PLC comms bug fixes