Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started 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
-
Not really, Mach only looks at modbus about 20 times a second.
Graham.
-
as long as you don't need to know the position real time it should be okay...
-
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
-
Thanks for the detailed reply, looks like I have another project.