Delta DVP — 10.1 REF/REFF - DI/DO Refreshment and DI Filter Time Setting

10. High-speed Input/Output Design Examples 10.1 REF/REFF - DI/DO Refreshment and DI Filter Time Setting Control Purpose: Refreshing DI/DO status immediately and setting/displaying DI filter time. z When M0 = ON, refresh the status of input points X0~X17 and send the status to D0. When M1 = ON, transmit the value in D100 to the output points Y0~Y17 and send the output state to output terminals immediately before END instruction. z By controlling the value in D200 according to the interference degree, users can set the filter time of DI as 0 (actual min. value = 50µs), 10ms, 20ms and 30ms. Devices: Control Program:

M0 M1 M1002 DVP-PLC Application Examples 10-1 Device Function M0 Starting to refresh the status of input points X0~X17 M1 Starting to refresh the status of output points Y0~Y17 D200 Storing the filter time of the input points REF X0 X17 MOV K4X0 D0 MOV D100 K4Y0 REF Y0 Y17 MOV K10 D200 LD D200 K10 REFF K0 LD>= D200 K10 LD D200 K20 REFF K10 LD>= D200 K20 LD D200 K30 REFF K20 LD> D200 K30 REFF K30