script to contact PLC. currently posts the same data the old script does.