I have a Mori seiki Nh4000 with a fanuc 31 series. I have several programs in folder1 that I call through M198 and in folder2 i have the same program numbers that do something else.
what i want to do is when workcount reaches 60 change folder and execute the programs in folder 2

folder 1
M198P1234
M198P1235
M198P1236

folder 1
M198P1234
M198P1235
M198P1236