Basics of counting in a plc.
High speed counter plc.
A common use for a highs speed counter is an encoder that one would use in application to measure or monitor speed usually of a motor and or for positioning.
The 21 point high speed counters c235 to c255 share the eight high speed counter input terminals x0 to x7 of the plc and one input terminal can only be used for one high speed counter at the same time.
These 21 counters are all 32 bit up down counters see table 3 7.
High speed counter hsc the high speed counter is a variation of the ctu counter.
There are seven 7 different modes of operation for the high speed counter available so adaption to your automation solution is easy.
The hsc command is used for counting where timed instances are very short and a regular ctu or ctd will not do.
Before you start counting in any plc program there are some basics you should know first.
That is 100 000 pulses per second.
Best way to learn about high speed counter is to download an application example from siemens site and have a look at it there are plenty of them.
Maximum speed on the high speed counter inputs are 100 khz.
Up counter ctu down counter ctd up down counter ctud basics of counting in a plc.
Different types of high speed counters can be used simultaneously but their high speed counter.
These are basic information about the counter instructions and the plc itself.