Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: zarzul on November 02, 2006, 10:48:42 AM

Title: modbus for encoder input?
Post by: zarzul on November 02, 2006, 10:48:42 AM
Can encoder inputs be use through a modbus input.  I am guessing this won't work because of the speed? 

I have a automation direct plc dl06 I think is the model number and would like to take advantage of all the io.  I am planning on using some outputs for flood coolant, spindle start, dust collector start and whatever else I can think of but would really like to add encoders.

Anyone with any experience on this?

Arn

Title: Re: modbus for encoder input?
Post by: Graham Waterworth on November 02, 2006, 12:24:12 PM
Not really,  Mach only looks at modbus about 20 times a second.

Graham.
Title: Re: modbus for encoder input?
Post by: Brian Barker on November 02, 2006, 09:07:04 PM
as long as you don't need to know the position real time it should be okay...
Title: Re: modbus for encoder input?
Post by: poppabear on November 21, 2006, 06:53:11 PM
Yes, it can, mod-bus scans at 10 times per second, (per what Art told me while doing some other things).
If your encouders are "slow" less than 7k, you can use the inputs on the native 06. If they are faster then you need the ctrio module ($195.00). The module will do ONE quad encouder, or 2 single channel encouders. You send your counts to a holding registar as a word. Have mach pick up that word in the 2cd input channel (64+). Use your Macro pump (also according to Art runs at 10 times/second), to VB in some GetInput(x), and drop the word into a user dro for display.

Scott
Title: Re: modbus for encoder input?
Post by: zarzul on November 27, 2006, 09:32:58 AM
Thanks for the detailed reply, looks like I have another project.