Click PLC Count Down Timer

1K views Oct 9, 2022

Click PLC Count Down Timer The CLICK and Click PLUS PLCs can have a count-down timer. This is helpful when displaying on an HMI (Human Machine Interface). Using the math instruction with the timer instruction in the Click PLC Programming Software, we can create a count-down timer. In our example, we use an On-Delay timer with a time base rate of milliseconds (ms). This is being controlled by internal memory bit C1. The set value comes from memory address DS1, which contains the value 10,000, meaning 10 seconds. The second rung of our example will take the Set value (DS1) and subtract the timer's current value (TD1). DS2 memory location Will contain the count-down value of the timer. Once the timer has reached the set value, you will notice that it continues timing. This causes a negative number that we detect in rung 3 and move a 0 deal into DS2 for our display. Programming and examples of the Click and Click PLUS PLC series can be found at this URL: https://accautomation.ca/series/click-plc/ https://accautomation.ca/click-plc-timers-and-counters/ We are using the Click and Click PLUS PLCs for several reasons. Here are just a few. - Investment is low for the hardware, and the software is free - Standalone PLC with built-in I/O - Communication ability - Ethernet Port, RS232, RS485 - support for protocols such as Modbus RTU, Modbus TCP, etc. - Ability to directly expand the system with various modules, including RTD and Thermocouple inputs.