Thank you for your response. I asked because I also noticed that the MPG_Tickcount value is completely unnecessary, yet my MPG still works correctly and efficiently. I’m wondering whether I calculated the MPG_Tickcount incorrectly or if it’s simply not needed. I calculated the MPG_Tickcount value as follows:
MPG_Tickcount = (Number of encoder pulses counted within 100ms) * 10,
because I understand that the unit sent to Modbus for Mach3 needs to be pulses per second.