12/15/2016 10:10 PM | |
Posts: 5225 Rating: (1187)
|
What you are doing there is not an interrupt on the hardware input. Recently I helped a German gentleman. See [LINK] and look for the step by step PDF guide for configuring an HSC. You need to set a value for PV via the CTRL_HSC instruction if you want to use that functionality. I doubt that is what you need. Linking to the "zeroing" of the HSC will not help either - by the time you enter the interrupt, the HSC will already be zero. You need a regular interrupt connected to the input. See a clue attached. Greetings. What you can do is conf |
This contribution was helpful to1 thankful Users |