Siemens S7 1200 contadores rápidos (HSC) (encoder) y alarmas de proceso

FW4.1 or lower only! If your PLC has FW4.2, you can check out this video:    • Contadores rápidos (HSC) en S7 1200 (FW4.2)   Configuration and application example for high-speed counters (HSC) on Simatic S7 1200 PLCs. Application of the CTRL_HSC function, with a software reset and modification of the process interrupt comparison value (OB40). Video project (TIA 13): https://www.dropbox.com/s/f0q1rfgosus... If your PLC has FW4.2 or higher, keep in mind that the instructions have changed, although they remain as 'Legacy'. In that case, check out this post: http://automatizacioncavanilles.blogs...