Hi to everyone,
I'm trying to use interrupt tasks on a CJ2M-CPU 11 with two connected modules, ID211 and OC211.
First of all, i have assigned in the settings table of the PLC, the IN00 to the interrupt task 0, so it is calling the INT 140 where i have placed my instructions.
Then i called in the Main, the MSKS instruction with the N value as 100 and control data as #0000, to unmask the IN00 channel assigned to Task 140.
In this case, i'm trying to reproduce a high speed counter imported from an older program, that uses a different kind of interrupt tasks management.
But the instructions called in the task, seems to be never called by them program, then the counter never grows.
(I know that is available a specific high speed counter function, but to use this old program i'm costricted to use the interrupt tasks to count.)
Thank you for any help.
Best regards.