3x different analog outputs in gcode?

More
16 Feb 2024 16:04 #293515 by santy
Hello.
7i77d and other analog cards allow for multiple analog outputs, which can be used to interface with servomotors or simply to control a potentiometer type of device (VFD spindle speed, or others).

My intention is to control XYZ with Step/DIR from some typical board, and have 7i77D or other analog card output 3 different signals to regulate a few devices.

The GCode for regulating spindle speed would be "S1000". How could i regulate "multiple" spindle speeds if this is my intention, through gcode?

Are there any publicly available libraries for me to read to get more in-depth information on this?

Thank you!
 

Please Log in or Create an account to join the conversation.

More
16 Feb 2024 16:12 - 16 Feb 2024 16:16 #293516 by PCW
You could either use the analog out motion feature (and gcodes M67,M68):

man motion

or multiple spindles. Recent versions of LinuxCNC support multiple spindles:

www.linuxcnc.org/docs/html/gcode/m-code.html#mcode:m3-m4-m5

 
Last edit: 16 Feb 2024 16:16 by PCW.

Please Log in or Create an account to join the conversation.

More
16 Feb 2024 16:45 #293522 by santy
Thank you Peter, this is all I need.
See ya!
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum