Cyclical NC/PLC interface