603,896 active members*
5,248 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2008
    Posts
    3

    EMC2 Web based remote controling

    Hello. I am really new to this world of emc2, machining etc...
    i apologize in front for any stupid question.
    I am a student of engineering and i have an assignment to create a web page from which it would be possible to remotely control our robot on campus.
    The robot is a cnc milling machine( 3 axes) which is programed via emc2.
    can anyone give me some pointers, links.. any tipe of help would be great...
    my main problem is : is there a program, or code that enables emc2 to be remotely controlled and, if so how to implement it on my web page...
    thanks in front...

  2. #2
    Join Date
    Mar 2008
    Posts
    24
    Did you have a look at VNC (google..). It provides remote desktop operation on a multitude of different platforms and once installed will run/control anything that is running on your machine. (no point in re-inventing the wheel!) Control can be from anywhere with nothing more than a browser window.

  3. #3
    Join Date
    Nov 2008
    Posts
    3
    Thank you alexthehun... that was quick...

    i will look into it, and see the potential of this program, and i have to discus it with my mentor...
    hope u will be still around when i struck more problems...

  4. #4
    Join Date
    Feb 2005
    Posts
    20
    Quote Originally Posted by Jigss View Post
    Hello. I am really new to this world of emc2, machining etc...
    i apologize in front for any stupid question.
    I am a student of engineering and i have an assignment to create a web page from which it would be possible to remotely control our robot on campus.
    The robot is a cnc milling machine( 3 axes) which is programed via emc2.
    can anyone give me some pointers, links.. any tipe of help would be great...
    my main problem is : is there a program, or code that enables emc2 to be remotely controlled and, if so how to implement it on my web page...
    thanks in front...
    What functions do you want to remotely control?

    If you want to do things like select a file for machining, start and stop the machine, and look at a DRO, you can probably get away with using some cgi scripts to call existing command-line programs. One such program is axis-remote, which lets you do file and start/stop related things when the AXIS user interface is used. Another is halcmd, which lets you manipulate the low level hardware drivers and other things that run in the realtime system.

    Note that I'm assuming that you literally need to use a web page (presumably served from the EMC2 computer) to do the control.

    As Alexthehun pointed out there are remote desktop options. There are other remote options as well, but they're not going to work in a web browser. There is a telnet-like program that can control a lot of EMC2, and the interface used by the GUIs to talk to the motion controller (called NML) can be run over a network, so you can set it up to just run AXIS over TCP/IP.

    - Steve

  5. #5
    Join Date
    Jan 2007
    Posts
    210
    I hope you are aware of the safety laws and regulations regarding remote operation of machine tools. (cages , light curtains, pressure mats)

    You don't want someone starting the spindle while you're holding onto it.
    Bob
    You can always spot the pioneers -- They're the ones with the arrows in their backs.

  6. #6
    Join Date
    Nov 2008
    Posts
    3
    i have to connect the emc2 located on the server computer running linux, with the tkemc on any pc... all of the procedure is described on this link: http://www.linuxcnc.org/handbook/part3/remoteg.html
    i follow it to the letter, but when i start the tkemc, it tries to connect but it gives me a error message saying the server has not been started or could not be contacted...

    what could be the problem?
    i entered the ip address in the nml file. , my linux machine is connected, my windows machine is connected to network, i changed the local to remote...
    one thing - in the ini file there was no EMCSERVER section, so i manually entered the two lines of code EMCSERVER= emcsvr, and PLAT= nonrealtime

    i do not have any idea how to proceed... what could be the issue?

Similar Threads

  1. I can`t controling laser !
    By bibi in forum Laser Engraving / Cutting Machine General Topics
    Replies: 2
    Last Post: 03-26-2008, 02:03 PM
  2. Mach3 controling CNC over network
    By marting in forum Mach Software (ArtSoft software)
    Replies: 6
    Last Post: 01-26-2007, 01:36 PM
  3. software for robot controling
    By FredCNC in forum RC Robotics and Autonomous Robots
    Replies: 20
    Last Post: 07-25-2006, 08:52 PM
  4. 3 phase VFD controling 1ph motor?
    By DennisCNC in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 09-12-2005, 12:35 AM
  5. independently controling steppers
    By turmite in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 09-18-2003, 01:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •