counter


Structured Text Counter (CTUD)

Introduction to the Structured Text Counter (CTUD) We use the CTUD in Structured Text, or in Function block to count up or down. CTUD is the instruction for the Count Up/Down Counter. One instruction will work both ways. Each time the CUEnable bit goes true, the counter increments. On the Read More »

CTUD

4017 Decade Counter

Introduction to the 4017 Decade Counter We use the 4017 Decade Counter to count transitions. More specifically, we count false to true transitions. The 4017 Decade Counter has 10 outputs (0 to 9) in addition to the carry output. The 4017 outputs do not count in binary. It simply turns Read More »

Decade Counter

PLC-5 Day of Week Counter

Introduction to the PLC-5 Day of Week Counter A PLC-5 Day of week counter is an easy way to find the day of the week for certain events in automation. For example: You want to test an alarm every Monday at 10am. There are complex algorithms that will calculate the Read More »