Custom window between pic, plc and nc, programmable adapter