Re: [Emc-users] Lazarus cross platform tools for LinuxCNC

2019-09-23 Thread Eric H. Johnson
John, I have not touched Lazarus in couple years, but really liked it has a cross platform rapid development tool. How are you connecting to Linuxcnc remotely? Are you familiar with the linuxcncrsh and halrmt interfaces? Regards, Eric On September 23, 2019 1:56:41 AM EDT, John Dammeyer wro

Re: [Emc-users] User Interface Addition

2019-12-02 Thread Eric H. Johnson
Todd, I wrote something along those lines years ago, and still exists in the source code. It is called emcsched. I wrote it for a jewelry application that did lots of small parts. It basically lets you put a job in queue, pick a starting point, feed rate, etc. and runs the jobs in the order in

Re: [Emc-users] User Interface Addition

2019-12-02 Thread Eric H. Johnson
Todd, Oops, flawed memory. The application is called schedrmt, emcsched is the main module. The description for how it is supposed to work is in the comments of schedrmt.cc. Regards, Eric On December 2, 2019 6:50:17 PM EST, "Eric H. Johnson" wrote: >Todd, > >I wrote so

[Emc-users] Setting subroutine path

2012-02-28 Thread Eric H. Johnson
Hi all, I am trying to put o-word subroutines in a different folder from nc_files. In the ini file (I tried testing on sim/axis.ini and sim/tkemc.ini) I have: PROGRAM_PREFIX = /home/emcuser/emc2/nc_files So under [RS274NGC] I entered: SUBROUTINE_PATH = /home/emcuser/emc2/subroutines And call it

Re: [Emc-users] Setting subroutine path

2012-02-29 Thread Eric H. Johnson
Gene, et al, Is SUBROUTINE_PATH new to 2.5? I just noticed the reference I found was in the 2.5 version of the Integrator manual, but it does not appear in the 2.4 version. I am currently using 2.4.6 (or is it 2.4.7 reporting that it is 2.4.6). At any rate, I found it through a search, but see tha

Re: [Emc-users] PROGRAM_PREFIX

2012-02-29 Thread Eric H. Johnson
Erik, Thanks for the tip, but ultimately that has the same problem. For now I will just change the file attributes to require a sudo to edit or delete subroutines. The main purpose was to put them some place where they would not get accidentally deleted if someone was over zealous in cleaning up t

Re: [Emc-users] Making my own custom gui or controlling software to command emc

2012-03-02 Thread Eric H. Johnson
Bart, Emcrsh is particularly suited for instances where you want to interface with LinuxCNC from non-Linux platforms or at least where you do not want to install other parts of LinuxCNC. It is a good option if you are prepared to write an interface from scratch. If your interface is to run on Linu

[Emc-users] LAMP stack for robotics

2012-03-29 Thread Eric H. Johnson
Just an FYI, This article was recently posted via slashdot: http://www.xconomy.com/san-francisco/2012/03/29/can-willow-garages-linux-for -robots-spur-internet-scale-growth/?single_page=true That's one of the main arguments you'll hear from the engineers at Willow Garage, a unique startup in Menl

[Emc-users] Time delay on resume

2012-05-02 Thread Eric H. Johnson
Hi all, I have a tangential tool application with a pneumatically controlled 2 position Z axis. Thus I control the head up / head down, directly with digital I/O. I also have the head coming up and turning off automatically on a pause, stop or fault. That is all working fine. The one thing I have

Re: [Emc-users] linux 10.04 install from usb

2012-05-15 Thread Eric H. Johnson
Dave, How about this: https://help.ubuntu.com/community/Installation/FromUSBStick You should be able to use the Linuxcnc LiveCD as the ISO image. Failing that, install generic Ubuntu 10.04 to the USB, use it to install, then run the Linuxcnc install script as described here under "If you prefer

[Emc-users] Setting coordinate systems

2012-05-18 Thread Eric H. Johnson
Hi all, The setting of the coordinate system (G53-g59.3) is not working the way I expected, and I am trying to figure out what I am doing wrong. I am running linuxcnc 2.5, BTW. After initialization and homing, if I issue: G53 G0 X0 Y0 It will correctly move to absolute machine 0, 0. This happe

Re: [Emc-users] Setting coordinate systems

2012-05-18 Thread Eric H. Johnson
Hi all, Oops, I think I found it (haven't tested yet). I think I am off by one in P value. I don't understand why it worked the first time however. Regards, Eric Hi all, The setting of the coordinate system (G53-g59.3) is not working the way I expected, and I am trying to figure out what I am

Re: [Emc-users] Setting coordinate systems

2012-05-18 Thread Eric H. Johnson
Hi all, Oops again, just a typo on my part. I was using coordinate system 3, but erroneously referred to it is 2. So the P values are being used correctly and the problem remains. Regards, Eric Hi all, Oops, I think I found it (haven't tested yet). I think I am off by one in P value. I don't u

Re: [Emc-users] Setting coordinate systems

2012-05-18 Thread Eric H. Johnson
Jon, I am using the coordinate systems as a means of getting multiple tools offset in X and Y from each other so they can land on top of each other. IOW, do a pass with one tool, then apply the offsets of another tool but otherwise follow the same tool path. For example: G54 - Null Tool G55 - Bas

Re: [Emc-users] Setting coordinate systems

2012-05-18 Thread Eric H. Johnson
Andy, >> You _could_ do that with tool offsets in the tool table. (I think). All tools have spaces for offsets in XYZUVW. << Are you talking about tool.tbl in the config directory? It looks to me like you can only set tool length and diameter. Am I missing something? If I could do that this woul

Re: [Emc-users] Setting coordinate systems

2012-05-18 Thread Eric H. Johnson
Andy, >> No, that does seem wrong and strange. I wonder if it is a synch problem, one part of the code not updating because it thinks nothing has changed on the basis of an internal value but another part of the code getting the information from the not-updated section? << I have used this basic

Re: [Emc-users] Setting coordinate systems

2012-05-18 Thread Eric H. Johnson
Andy, I do need to pay more attention to the change log. I waited for 2.5 for this application specifically for the ability to put named subroutines in their own folder. I did not realize the tool table functionality had changed in the previous version. Thanks, Eric Yes. Which LinuxCNC version

[Emc-users] Tool Offsets

2012-05-21 Thread Eric H. Johnson
Hi all, Per the "Setting Coordinate Systems" thread, I converted from using coordinate systems (G54-G59.3) and setting the offsets with G10 L2, to using the offsets specified in the tool table. Mostly it worked without a problem. The exception is when re-running a program without reloading it. The

Re: [Emc-users] Tool Offsets

2012-05-22 Thread Eric H. Johnson
Terry, I am strongly suspecting that it has something to do with named external subroutines. I have used coordinate systems (G54-59, G10 L2, etc.) extensively in the past without any problems. This is the first time I have used the tool table for X, Y, etc. offsets, but the problems I am encounter

Re: [Emc-users] Tool Offsets

2012-05-23 Thread Eric H. Johnson
Andy, I am not writing to the tool table with gcode, and I can post some code, but I have a question first. I modified the Sim Axis-9 configuration to simulate what I am doing on the real machine. When I run a program using external named subroutines I get one of two errors if I stop the program

[Emc-users] Following error on angular axis

2016-04-14 Thread Eric H. Johnson
All, I am trying to lick a problem with following error on an angular axis (A). I am using a Mesa 7i43 with the 7i33 quad servo interface. If I set the axis max_velocity above about 2 RPS I start getting following errors on G0 moves with any reasonable value for FError (i.e. under 10 degrees).

Re: [Emc-users] Following error on angular axis

2016-04-14 Thread Eric H. Johnson
Todd, It is velocity mode. I am running headless so it is a bit of a pain to setup for running things like halmeter and halscope unless I setup something like VNC. I won't be able to work on it until tomorrow, but will look at this then. Thanks all, Eric Is the following error proportional to

Re: [Emc-users] Following error on angular axis

2016-04-14 Thread Eric H. Johnson
-Original Message- From: Peter C. Wallace [mailto:p...@mesanet.com] Sent: Thursday, April 14, 2016 10:40 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Following error on angular axis On Thu, 14 Apr 2016, Eric H. Johnson wrote: > Date: Thu, 14 Apr 2016 09:20

Re: [Emc-users] Following error on angular axis

2016-04-14 Thread Eric H. Johnson
Peter, It is geared down 4:1, so 40 degrees of shaft rotation for 10 degrees on the axis. Regards, Eric A plot would help, is ths 10 degrees of motor shaft position? -- Find and fix application performance issues fas

Re: [Emc-users] Any users of "xlinuxcnc" and "linuxcnclcd" out there?

2016-05-12 Thread Eric H. Johnson
I am the author of that module, I actually thought it had been dropped some time back. It uses LCDProc to drive any number of LCD type displays. I ran into a problem with keypress / keyrelease for jogging, in that it was not supported by the LCDProc library, although it was supported by the spe

Re: [Emc-users] Any users of "xlinuxcnc" and "linuxcnclcd" out there?

2016-05-13 Thread Eric H. Johnson
I return. Regards, Eric On 05/12/2016 03:21 PM, Eric H. Johnson wrote: > > I am the author of that module, I actually thought it had been dropped > some time back. It uses LCDProc to drive any number of LCD type > displays. I ran into a problem with keypress / keyrelease for jogging

[Emc-users] Tool offset

2016-06-29 Thread Eric H. Johnson
All, I am cutting a dense mat material with an ultrasonic knife. It appears that when the fibers are cut I get a small amount of expansion so the part to be inset ends up just a little too large, even though it is cutting exactly the same size as the base in which it is to be inset. I was looki

Re: [Emc-users] Tool offset

2016-06-29 Thread Eric H. Johnson
Andy, It does not have a controllable Z, it is a two position up/down. Regards, Eric > Does Z1 have any meaning in compensating only in X and Y? Does your machine have a Z-axis? -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanica

Re: [Emc-users] Tool offset

2016-06-30 Thread Eric H. Johnson
fore each head lift / drop. Thanks, Eric On June 29, 2016 1:06:08 PM EDT, Gene Heskett wrote: >On Wednesday 29 June 2016 11:18:39 Eric H. Johnson wrote: > >> All, >> >> >> >> I am cutting a dense mat material with an ultrasonic knife. It >appears >&g

Re: [Emc-users] Tool offset

2016-06-30 Thread Eric H. Johnson
eater than the tool radius". This is discovered in the look ahead, so it threw me for a moment. Any bright ideas on how to get around this? Thanks, Eric On June 30, 2016 9:14:13 AM EDT, andy pugh wrote: >On 30 June 2016 at 13:26, Eric H. Johnson >wrote: > >> Is there any w

Re: [Emc-users] Tool offset

2016-06-30 Thread Eric H. Johnson
e a chance you have an imperfection in your head >assembly or the kinimatics, that is causing your cut to be offset >slightly? In other words are the pieces the same size if you cut them >out in the opposite direction? > >- Original Message ----- >From: "Eric H

Re: [Emc-users] Tool offset

2016-07-01 Thread Eric H. Johnson
Thanks for all the help everyone, I think I have the problem resolved. For anyone that cares, here are the sordid details. We had been having a problem with the knife rotational axis losing a very small number of encoder counts (generally less than a couple of degrees over a full pattern). The pro

[Emc-users] Setting axis as homed

2016-08-08 Thread Eric H. Johnson
All, I am trying to use "force home" on a machine which has X, Y and A axes. The Z is a two position air cylinder, so not controllable as an axis, but does appear in the configuration with basically nothing attached to it. Is there a way to set the Z axis as "homed" (axis.N.homed) so that when

Re: [Emc-users] Setting axis as homed

2016-08-08 Thread Eric H. Johnson
output using a custom M1xx function and setup a 2 axis machine instead of a 3 axis machine. Can you explain better your application please ? Regards Alex On Mon, Aug 8, 2016 at 2:51 PM, Eric H. Johnson wrote: > All, > > > > I am trying to use "force home" on a mac

Re: [Emc-users] Setting axis as homed

2016-08-08 Thread Eric H. Johnson
COORDINATES = X Y A [AXIS_0] TYPE = LINEAR ... [AXIS_1] TYPE = LINEAR ... [AXIS_2] TYPE = ANGULAR ... -- Ralph From: Eric H. Johnson [ejohn...@camalytics.com] Sent: Monday, August 08, 2016 7:28 AM To: 'Enhanced Machine Controller (EMC)' Subject: Re:

[Emc-users] Mesa 7i43 TRAM error

2018-02-07 Thread Eric H. Johnson
All, Just this week I started getting TRAM errors on a machine that has been running for years. This system uses the Mesa 7i43 card. I had this happen once before, but on a new machine with a brand new 7i43 card. I replaced the card and the problem went away. On this machine I replaced the 7i43

[Emc-users] Recovery with pneumatic Z

2018-02-07 Thread Eric H. Johnson
All, I have three machines at the same facility, all basically X/Y tables with an ultrasonic knife as the tool. In all cases the Z axis is controlled by M64 / M65 digital outputs. One machine however, has an additional high high air cylinder. This is on the largest table which is 15' x 30'. The

Re: [Emc-users] Mesa 7i43 TRAM error

2018-02-08 Thread Eric H. Johnson
Peter, Voltage to the card is 4.97V. The cable length is 2'. I had a spare, but the same length. Swapped anyway and getting basically the same thing. A PITA because it usually takes 1-3 hours for the error to occur after a cold start. I am not seeing anything shorter than 3' on the Mesa Price list

Re: [Emc-users] Mesa 7i43 TRAM error

2018-02-13 Thread Eric H. Johnson
, "Peter C. Wallace" wrote: >On Thu, 8 Feb 2018, Eric H. Johnson wrote: > >> Date: Thu, 8 Feb 2018 11:51:24 -0500 >> From: Eric H. Johnson >> Reply-To: "Enhanced Machine Controller (EMC)" >> >> To: "'Enhanced Machine Con

Re: [Emc-users] Using LinuxCNC from the terminal

2014-06-20 Thread Eric H. Johnson
Jacob, If you just want to issue commands via a command line interface you can use linuxcncrsh. It is basically a telnet like interface. You could also shell in via ssh and then connect to local host to both go over a standard port and retain encryption. http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Em

[Emc-users] Using halui

2006-11-13 Thread Eric H. Johnson
Hi all, Are there any other dependencies for using halui in head? I added: HALUI=halui In the [HAL] section. When I do, I get a shared memory error starting: libnml/os_intf/_shm.c 238: shmget(1001(0x3E9), 8192, 0) failed: (errno=2): No such file or directory. I am configuring it based on the doc

Re: [Emc-users] Using halui - update

2006-11-13 Thread Eric H. Johnson
Hi all, I did not initially realize that the shared memory error was not a fatal error (i.e. did not terminate the application). It appears that halui is in fact loading properly, at least I can see the associated pins. However it generates the shared memory error I referenced previously when I

Re: [Emc-users] Using halui

2006-11-13 Thread Eric H. Johnson
Jeff, The halui_halvcp sample configuration works for me too. The version I am using was checked out about two weeks ago. Unfortunately there is no internet connection at the machine, however I just did a checkout yesterday which is sitting on a thumb drive, which I can move over. Just to elimina

[Emc-users] Timing out on MDI commands

2006-11-13 Thread Eric H. Johnson
Hi all, I am getting a timeout when sending spindle commands through MDI mode. Basically I issue an MDI command such as: S10 M3 The spindle does come on and at the appropriate speed, however about 10 seconds later it shuts down with the error: "emc/task/iotaskintf.cc 156: Command to IO level (EMC

[Emc-users] Changing spindle speed

2006-11-15 Thread Eric H. Johnson
Hi all, I have spindle speed control as a function of the S parameter working, just not the way I need it to work. If I have G-Code such as that listed at the bottom (3d_Chips with S substituted for Z). I get the spindle speed adjusting accordingly, except the motion stutters at each point, I pres

Re: [Emc-users] Changing spindle speed

2006-11-15 Thread Eric H. Johnson
Jeff, Thanks for the explanation. Follow up question on using an axis for this (A for example). What is the minimum setup I need to map the 'A' parameter from the g-code to a dac. It doesn't have an encoder, doesn't need a pid, and the dac output should just be the value of 'A' multiplied by some

Re: [Emc-users] Setting up Hal and ini files for the parport

2006-12-04 Thread Eric H. Johnson
Alex, So you are back to EMC2? :) As I said earlier, a good place to start is the hal tutorial in the user's manual. See: http://www.linuxcnc.org/docs/EMC2_User_Manual.pdf You really need to go through the tutorial to understand how hal works, and in the process how to configure your system. Wh

Re: [Emc-users] Help with Mesa 5i20 Card (Configuration Issues)

2006-12-15 Thread Eric H. Johnson
Ali, By default, do you mean you are using the configuration files in /config/m5i20, or something else? One of the things you have to do with the m5i20 board is to enable the PWM. That is found in the m5i20 configuration in the m5i20_io.hal file, here: # Connect amp enables to m5i20 dac enables l

Re: [Emc-users] What to do about PID Tuning

2006-12-21 Thread Eric H. Johnson
Ali, Just a heads up as one who went through the PID tuning not too long ago. Before even trying to adjust the PID values, make absolutely sure all of your ini file parameters are correct / reasonable. I was tuning my PIDs at the same time some of the units changed in the ini files, and ended up u

Re: [Emc-users] Command-line interface to EMC2

2006-12-29 Thread Eric H. Johnson
Glenn, See if this is of any value. I haven't checked the released version lately, so this may only be in head at this time. But do a CVS check out and compile of 'HEAD'. In there you will find a program called "emcrsh" (in bin). It basically supports the same functions as emcsh only over a telne

Re: [Emc-users] USB port control

2006-12-30 Thread Eric H. Johnson
Chris, While I have not looked into it myself, you might want to look at USB-DUX here: http://www.linux-usb-daq.co.uk/ Depending on the device, it supports sampling rates between 8Khz and 3Mhz over USB, and claims to be real-time. Granted this is their own device, but it could show you how to do

Re: [Emc-users] Command-line interface to EMC2

2007-02-07 Thread Eric H. Johnson
Glenn, Glad to hear someone else is able to make use of that. As for using open, the first thing I can think of is that the path is relative to the path set for nc_files. IOW, if you are running from building "head" in the default folder (emc2-head), then to open the example program 3D_Chips.ngc i

Re: [Emc-users] Command-line interface to EMC2

2007-02-07 Thread Eric H. Johnson
Jeff, It should be noted however that if AXIS, or any other user interface opens a program file, that issuing: get program To emcrsh will (ok should, I know it works with tkemc) return the current open program. Regards, Eric > It's possible that 'open' is working, but axis isn't doing > what

Re: [Emc-users] Command-line interface to EMC2

2007-02-09 Thread Eric H. Johnson
Glenn, There are a number of commands which will give you meaningful status information. They include: get estop Returns On | Off for whether the machine is in estop get machine Returns On | Off for whether the machine state is on or off. get program Returns the name of the currently loaded pro

Re: [Emc-users] Command-line interface to EMC2

2007-02-09 Thread Eric H. Johnson
Glenn, There are a number of commands which will give you meaningful status information. They include: get estop Returns On | Off for whether the machine is in estop get machine Returns On | Off for whether the machine state is on or off. get program Returns the name of the currently loaded pro

Re: [Emc-users] Hardware step generator for 5I20

2007-02-15 Thread Eric H. Johnson
Peter, Great news. Will you be able to intermix steppers and PWMs on a single board? If I understand correctly your statement on PWM, that should be adequate for my needs. For my immediate project, I need three axes of steppers and one unidirectional PWM (no encoder) with a frequency between 5Khz

Re: [Emc-users] Information Display Panel

2007-03-21 Thread Eric H. Johnson
Jack, Can you provide a link to the monitor you are referring to. I looked at the Sharp web site (http://www.sharpusa.com) and was not able to find an 8.4" monitor other than those using standard VGA, etc. inputs, for which no additional drivers are necessary. Alternately, I recently checked into

Re: [Emc-users] Information Display Panel

2007-03-21 Thread Eric H. Johnson
> The interface is dependent upon lcdproc, which provides > drivers for these and many other LCD displays. Oops, I forgot the link, http://www.lcdproc.org/ Regards, Eric - Take Surveys. Earn Cash. Influence the Future of

[Emc-users] Hexapod questions

2007-03-29 Thread Eric H. Johnson
Hi all, What is the maturity of the Hexapod configuration under EMC2? I have never done anything with hexapods, but I was asked about the feasibility of using EMC2 for implementing a control system for a hexapod. I have not seen the actual unit, but what I have been told is that it is from a unive

Re: [Emc-users] Hexapod questions

2007-03-29 Thread Eric H. Johnson
John, > I'm sure it would not be a turnkey install but clever > enough people could certainly get it working. Things like > homing will be the "fun" > parts. Basic hexapod kinematics are in there, and were used > back in the NIST days. They'd need some porting effort to > interface wi

[Emc-users] Effects of mode changes

2007-04-28 Thread Eric H. Johnson
Hi all, I have a couple of questions related to changing modes for various functions in my user interface. These use basically the calls within emcsh. 1> If in MDI mode I issue "G92 X0 Y0 Z0", then open a new Gcode file, which also calls "TaskPlanInit" and sets the mode to Auto, any GCode entered

[Emc-users] Probing

2007-04-28 Thread Eric H. Johnson
Hi all, In reading about the probe function it looks to do something close to what I would like to do with a touch plate. This touch plate is put on top of the material and Z is lowered until the tool touches the plate, which completes the circuit and turns on an input. When this occurs, I would

Re: [Emc-users] Probing

2007-04-28 Thread Eric H. Johnson
John, Yes, I already have a home, and I am trying to do exactly as you say, establish an offset coordinate system using the touch plate. Regards, Eric > It sounds like you are trying to home to the touch plate... > > In that case, what if you wired the touch plate up as a home > switch for th

Re: [Emc-users] Proper implementation of Estop - was Effects of mode changes

2007-04-29 Thread Eric H. Johnson
Chris (and John), Thanks for the replies, I have rather limited internet access at the moment, so I am a little slow in responding. > I don't quite understand what you're saying. When in "machine off" > state, the commanded position tracks the actual position so > you can (for instance) use ha

Re: [Emc-users] hexapod

2007-05-02 Thread Eric H. Johnson
Dirk, > As far as I know hexapod code is in EMC2, but does it (still) > work? Back in march there where some mails about it. > Unfontunately there was no succes story follow up. > Is there any way to test the hexapod code without building > the real thing? > How is the machinecode handled? I

[Emc-users] Soft Limits

2007-05-04 Thread Eric H. Johnson
Hi all, I have encountered several idiosyncrasies after setting the soft limits. Basically I have two questions for now. 1> Shouldn't the home sequence automatically disable the soft limits? I have encountered instances where the home sequence will abort due to encountering the soft limit for the

Re: [Emc-users] Soft Limits

2007-05-04 Thread Eric H. Johnson
John, > Prior to and during homing, the soft limits are set to > "current position > +/- total length of axis" (length of axis is the difference > between the > soft limits in the ini file. That means the home sequence > should run into the physical ends of the axis before it hits > the so

Re: [Emc-users] Installing emc2 on Compact Flash drive

2008-01-07 Thread Eric H. Johnson
Chris, I have EMC2 running under Kubuntu and in just under 2 GB, although I used a 4GB flash IDE drive. Very easy install actually. All I did was to temporarily install an IDE CD-ROM drive, do a standard CD install of Kubuntu, then install EMC2 from the network connection (Internet). The only diff

Re: [Emc-users] Installing emc2 on Compact Flash drive

2008-01-07 Thread Eric H. Johnson
Colin, Oops, sorry, I of course meant Colin not Chris. Regards, Eric Chris, - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.dou

Re: [Emc-users] Running EMC2 from another, local app

2008-03-11 Thread Eric H. Johnson
Glenn, Do you have the following in one of the hal files for the configuration you are running: loadusr emcrsh If you do not include that, then you will get the indicated error since the application to respond to your telnet session is not running. I don't recall whether the latest thing I have

Re: [Emc-users] EMC list troubles, and thanks, Gene Heskett!

2008-03-18 Thread Eric H. Johnson
Gary, Some band width providers will block socket 25 as a measure to cut down on spam. When you receive mail, that goes through another service (POP3 is the most common) which is on a different port (110 for POP). This can explain why you are able to receive, but not send. The way to test this is

Re: [Emc-users] EMC with Galil Ethernet motion controller

2008-03-22 Thread Eric H. Johnson
Eduardo, EMC will not work with hardware such as the Galil controller because EMC needs to directly handle the real-time control, including I/O, stepper pulse generation, closed loop servo control, etc. The Galil controller, OTOH wants to handle the real time control to offload it from non-real ti

[Emc-users] Differental Input to PWM

2008-03-31 Thread Eric H. Johnson
Hi all, Note: Reposted with smaller attachment. I am trying to read an RS422 differential input and convert it to an analog based on the duty cycle, using a Mesa m5i20 Anything I/O board. Provided this post is under the maximum size allowed, the schematic is attached. I really only have access to

[Emc-users] Mesa 7I33 Aux Power

2008-04-02 Thread Eric H. Johnson
Hi all, I am getting a large voltage drop when I connect the analog outputs from the 7I33 to the load. With no load they show the correct voltages. The Mesa manual states "Due to power supply limitations, The 7I33 has limited DC output drive capability and should not have loads of less than 5K Ohm

Re: [Emc-users] Mesa 7I33 Aux Power

2008-04-02 Thread Eric H. Johnson
John, I was going from the doc the first time and realized I missed a 10K, in measuring it, I see that it is in fact 20K. Everything off the P2 connector is identical since I connected to the other machine. I even went so far as to move the control panel so that I could use the same 6' cable used

Re: [Emc-users] Mesa 7I33 Aux Power

2008-04-02 Thread Eric H. Johnson
Peter, I think that agrees with what I am seeing. I measured the load and in fact it is 20K ohm. I also tried an AUX 5 V supply, and as John said, it made almost no difference (went up by about 1/2 mA). The 5V looks to be good, there is other general I/O which all are working fine. I also connect

[Emc-users] Another Mesa question

2008-04-04 Thread Eric H. Johnson
John, Peter, et al. I found the problem with the "current" (Mesa 7I33 AUX Power). It was really stupid. It is a 0 to 10V analog for laser power where the sign matters. The value was coming out negative. I changed the gain on the DAC to -1, and everything is working fine. The problem I have now i

Re: [Emc-users] Another Mesa question

2008-04-04 Thread Eric H. Johnson
Steve, How would an external pull up and pull down resisters work? What differentiates the startup state from a controlled assertion of the output? Thanks, Eric You can use external pull-up and pull-down resistors to set pin state. I'm pretty sure that is the only way to set outputs the way you

Re: [Emc-users] Vital System Error

2008-04-16 Thread Eric H. Johnson
Glenn, The VTI configuration is for the Vigilant Technologies Inc (Vigilant Products) board. I believe you will find the Vital systems configuration under "motenc". Regards, Eric I have loaded my box with Ubuntu and EMC2 following the instructions provided on the download page. I was able to

[Emc-users] Manually loading motmod

2008-05-08 Thread Eric H. Johnson
Hi all, I get the following error when trying to manually do a loadrt of motmod: Insmod: error inserting /usr/realtime-2.6.24.16-rtai/modules/emc2/motmod.ko:-1 unknown symbol in module. This is the error when using ubuntu 8.04, but I get essentially the same error under 6.06. It can be easily re

Re: [Emc-users] Manually loading motmod

2008-05-08 Thread Eric H. Johnson
Alex, John, Ok, it is obvious now. The missing symbols were kinematicsType, kinematicsInverse, and kinematicsForward, which all are defined on the subsequent line when exported with halcmd save. Specifically: loadrt trivkins Thus one can't do a halcmd save and then load the saved text with halcmd

Re: [Emc-users] Mini-itx Control

2008-05-30 Thread Eric H. Johnson
Kirk, >> I have had trouble getting Linux to run on my C3 ITX board, but that was quite a while ago. I would be interested in knowing if anyone has gotten EMC2 or Linux to run on one of these. It would make a nice low power router/gateway or EMC2 remote. << I have had good success using the Via C

Re: [Emc-users] Pendant with LCD display

2008-05-31 Thread Eric H. Johnson
Andrew, It does basically work, but there are some issues with the lcdproc software which it uses. What is checked in works with the curses driver. I have just recently worked out the bugs with the Matrix-Orbital driver, but it requires patching the MO driver in the lcdproc software. The main pro

Re: [Emc-users] SheetCam TNG V0.0.24 for Linux released

2008-06-20 Thread Eric H. Johnson
Les, Sorry to report, but loading sheetcam seems to have severely affected packaging functions (apt-get, synaptic, etc). Both the packages sheetcamlibs and sheetcam installed with errors, but sheetcam itself seems to be working. The problem is, synaptic, apt-get, etc. now do not. I am running a f

Re: [Emc-users] SheetCam TNG V0.0.24 for Linux released

2008-06-21 Thread Eric H. Johnson
Les, The new sheetcamlibs package did the trick. Both sheetcam and the packaging system seem to be working fine. Thanks, Eric I replied before but it didn't seem to get through. I think I have found a problem with the sheetcamlibs package. Try downloading and installing the sheetcamlibs package

Re: [Emc-users] SheetCam TNG V0.0.24 for Linux released

2008-06-21 Thread Eric H. Johnson
John, It is my development system which is used for more things than just EMC. In fact I don't run EMC from this machine other than testing, it is only used to compile from source. Regards, Eric >> Why did you install the workstation version vs the standard one that comes packaged with >> EMC2?

[Emc-users] Strange error message

2008-07-07 Thread Eric H. Johnson
Hi, I am trying to update a configuration which runs correctly under EMC 2.2.0 to the current stable 2.2.5, and am getting an error message I do not understand. The error message points to line 19 in vti_motion.hal and states: "error in setp, 2 parameters expected but 3 were found". Line 19 of v

Re: [Emc-users] Strange error message

2008-07-11 Thread Eric H. Johnson
Hi all, Thanks for the previous help. I have fixed all of the parsing type errors in upgrading the configuration, but I am getting a joint 2 (Z axis) following error which I never got before. I checked the changes from the link below, and don't see that any other parameters are interpreted differe

Re: [Emc-users] Bouncing email

2008-08-01 Thread Eric H. Johnson
Greg, Ok, if this post goes through then I should have it set up basically the same way. Thanks, Eric I simply setup a "Postmaster" account on my Go-Daddy hosted site - and the emails started showing on the listserv again. Definitely something has changed since I first set up my identity here

Re: [Emc-users] EMC Telnet Troubles

2008-08-08 Thread Eric H. Johnson
Andrew, The telnet interface protects against multiple clients having control at the same time. You must be the 'enabled' session in order to use the set command. Use: set enable EMCTOO To enable the current session, and: set enable off To release the current session. Setting enable will automat

[Emc-users] Stepper configuration

2008-08-08 Thread Eric H. Johnson
Hi all, I am trying my first stepper configuration, but also need a 5khz pwm, so I am using the m5i20 controller rather than the other more typical stepper configurations. I created a hybrid configuration which mostly works, except the stepper motors are running much to slowly and stop moving enti

Re: [Emc-users] Stepper configuration

2008-08-08 Thread Eric H. Johnson
John, >> Something does not compute here. If scale is 1280 (that means 1280 counts per inch), then at one step per millisecond, you should get 1000/1280 = about 0.8 inches per second, not 2.5. << Yes, I realized it as soon as I posted it, but the error wasn't big enough to matter so I did not p

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Eric H. Johnson
Sebastian, Thanks. A couple more questions. 1> I assume I will have to build from source to use hostmot2? 2> On an m5i20, how do you use the general purpose I/O? I don't see, for instance, the equivalents of: addf m5i20.0.misc-update servo-thread 1 addf m5i20.0.digital-in-read servo-thread 1 add

Re: [Emc-users] Stepper configuration

2008-08-12 Thread Eric H. Johnson
Sebastian, I updated to the latest release, and started playing with hostmot2. I ran the following commands under halcmd: loadrt hostmot2 loadrt hm2_5i20 config="firmware=hm_5i20 num_stepgens=2 num_pwmgens=1 num_encoders=0" I then did a "show pin", which returned no pins. Shouldn't I be seeing p

Re: [Emc-users] Stepper configuration

2008-08-13 Thread Eric H. Johnson
Sebastian, I am getting close. I generated a single hal file for a two stepper and one pwm configuration. Currently in the ini file I have it configured for only 2 axes and references only the single hal file. The error I am getting is a following error any time I try to move an axis. I have inclu

Re: [Emc-users] Stepper configuration

2008-08-13 Thread Eric H. Johnson
John, I commented them out because it generated an error. I do not see pins for maxaccel with hostmot2. > # set stepgen module accel limits - get values from ini file # setp > hm2_5i20.0.stepgen.00.maxaccel [AXIS_0]STEPGEN_MAXACCEL # setp > hm2_5i20.0.stepgen.01.maxaccel [AXIS_1]STEPGEN_MAXACCE

[Emc-users] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Hi all, I am getting following errors on my axes testing the hostmot2 driver in a 2 axis stepper configuration, and am trying to determine if it is a problem in the configuration, or a problem with the hostmot2 driver. The hostmot2 configuration is specified as: loadrt hostmot2 debug_idrom=1 de

Re: [Emc-users] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
John, Hmm, I am not showing them (Sebastian's post or Peter's reply). The last post I see from Sebastian was at 1:10 AM EST. I also don't see them in the deleted items tagged as spam, which happens occasionally too. Thanks for the information. Thanks, Eric Didn't you see Sebastian Kuzminsky's

Re: [Emc-users] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
John, It must have been filtered out upstream. All of my stuff is registered through GoDaddy so I guess I need to check my spam filter settings and make sure posts from this list are on the white list. Regards, Eric Hmm, I am not showing them (Sebastian's post or Peter's reply). The last post I

Re: [Emc-users] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Sebastian, That is interesting. I just checked my settings. The spam setting is set to allow everything through, but to tag what it thinks is spam. I already added sourceforge.net to the white list. I don't see how to get your email address from the posts, but I can try added yours to the white li

  1   2   3   4   >