10. High-speed Input/Output Design Examples Program Description: z Generally the input state (X) is refreshed at the beginning of program scan cycle, and the output state (Y) is refreshed at the end of END instruction. However, the immediate state refreshing during the program execution process can be performed by Ref instruction. z Due to severe operating environment, PLC DI signal is frequently interfered and error operations would thus occur. Usually, the interference will not last for a long time. We can apply a filter to DI signals so that the interference would be decreased in principle. z When D200 K10≤D200 K30 filter time of DI signal in this case is set as 10ms.
z Users can apply MOV instruction to transmit the filter time of DI signal to D1020 (corresponding to X0~X7) and D1021 (corresponding to X10~X17). z The filter time changed by REFF instruction during program executing process can be modified in next program scan cycle. DVP-PLC Application Examples 10-2