Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: samzucker on June 12, 2017, 01:43:43 PM

Title: can anyone help me
Post by: samzucker on June 12, 2017, 01:43:43 PM
i have an auxiliary encoder for my x and y axis ,i need to write a macro to divide the count by 0.25 to get my correct ratio to display my position where and how do i do this
Title: Re: can anyone help me
Post by: Cbyrdtopper on June 14, 2017, 09:43:49 AM
I've never used encoder counts for anything, but I would try putting the information in the PLC Script.  EncoderCounts / .25
Not sure if this will work, but I've got stuff running in the PLC script and it updates VERY quickly.