How to connect and program encoder to Schneider PLC | HSC High Speed Counter

Whatsup everyone. In this video we will go through how to wiring an encoder / high speed counter to a Schneider M221 PLC. And then how to program it in EcoStruxure Machine Expert Basic. HSC function block. -- Link to my channel -- ►    / @1lovgren