How to use the high-speed counter of Mitsubishi PLC

High speed counter (C235-C255)

The falling edge of the externally input high-speed pulse signal is counted by means of an interrupt. The high-speed counter sets the instruction HSCS, and the function number is FNC53.


When the current value S1 of the high-speed counter reaches the set value S2, the output point designated by D is immediately set by the interrupt mode.

M8000 S1 S2 D

-||-------[HSCS c235 k1000 Y10]

The set value of C235 is 1000, (S2=1000). If the current value changes from 999 to 1000 or from 1001 to 1000, Y10 is immediately set to 1.
The input point of each high-speed counter is fixed, the c235 input point is x0, c236 is x1, and so on.

Extended data:

High-speed calculator is a powerful numerical calculation tool that saves your calculation time, improves calculation efficiency, and has the function of automatically saving calculation results, suitable for users who frequently calculate data.

The Windows system comes with a calculator, but only two numbers can be calculated at a time, and the calculation results cannot be retained. It is less efficient and error-prone in slightly more complicated calculations, such as the calculation formula: (521 + 12) 30 + (128 + 1024) / 20, using the calculator that comes with Windows needs to calculate 5 times.

Popular posts from this blog

Mitsubishi FX series PLC high-speed counter (HSC)

The difference between Siemens PLC and Mitsubishi PLC