Hello Guest it is April 17, 2021, 11:41:22 AM

Author Topic: modbus for encoder input?  (Read 4028 times)

0 Members and 1 Guest are viewing this topic.

Offline zarzul

*
  •  239 239
  • Wyoming, USA
    • View Profile
modbus for encoder input?
« 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

Offline Graham Waterworth

*
  • *
  •  2,305 2,305
  • Yorkshire Dales, England
    • View Profile
Re: modbus for encoder input?
« Reply #1 on: November 02, 2006, 12:24:12 PM »
Not really,  Mach only looks at modbus about 20 times a second.

Graham.
Without engineers the world stops
Re: modbus for encoder input?
« Reply #2 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...
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: modbus for encoder input?
« Reply #3 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
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/

Offline zarzul

*
  •  239 239
  • Wyoming, USA
    • View Profile
Re: modbus for encoder input?
« Reply #4 on: November 27, 2006, 09:32:58 AM »
Thanks for the detailed reply, looks like I have another project.