[Emc-users] O-words with n-words, patch attached

2009-06-29 Thread Maximilian H
Hello, i am still using n-words ( line numbers, old habbits die hard ). However when the line contains o-words, currently (2.3.1) no other words may be present. The attached small patch to Interp::read_items allows o-words with n-words without changing any other behaviour (methinks). Would

Re: [Emc-users] ClassicLadder

2009-06-29 Thread juanjo
Hello Chris, thanks i see, i suspect as the stock classic ladder need some tweek to be integrated in the emc chain. i try later to get the LATEST 2.3.1 and see the changes my dude now is i get the updated via Synaptic the last week so i need to se why no get V2.3.1- I want to play with Modbus..

Re: [Emc-users] ClassicLadder

2009-06-29 Thread Andy Pugh
2009/6/29 juanjo j...@arnet.com.ar: i try later to get the LATEST 2.3.1 and see the changes my dude now is i get the updated via Synaptic the last week so i need to se why no get V2.3.1- This page explains why, and how to upgrade: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingTo2.3 --

[Emc-users] Why I cannot open hal meter and hal scope in emc2.3.1?

2009-06-29 Thread Howard Chan
Dear all, Today, I download emc2_2.3.1 and successful update my emc2. Yet, why I cannot open hal meter and hal scope in sim and hm2-servo configuration? I click the button of meter and scope in machine menu but it has not any response. How to install the above function? Thank! Howard

[Emc-users] classicladder not functioning

2009-06-29 Thread Stuart Stevenson
Gentlemen, Ubuntu 6.06 EMC2-trunk (git pull this morning) Cinci 5axis machine the var %I7 shows on the section dislay %I7 is not on and the lube timer does not run screen shot is here http://imagebin.org/53991 config files are here www.mpm1.com:8080/cinci.* on shutdown I

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Chris Radek
On Mon, Jun 29, 2009 at 10:19:18AM -0500, Stuart Stevenson wrote: Gentlemen, Ubuntu 6.06 EMC2-trunk (git pull this morning) Cinci 5axis machine the var %I7 shows on the section dislay %I7 is not on and the lube timer does not run screen shot is here

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread stustev
Chris, Argh - reading and thinking Where is the automagic script? Thanks - I will work on it :) Stuart Sent via BlackBerry from T-Mobile -Original Message- From: Chris Radek ch...@timeguy.com Date: Mon, 29 Jun 2009 11:39:45 To: Enhanced Machine Controller

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Stuart Stevenson
I just got back and looked at the configs and wiki. I don't use %W's. The link did not help me. I On Mon, Jun 29, 2009 at 11:39 AM, Chris Radekch...@timeguy.com wrote: On Mon, Jun 29, 2009 at 10:19:18AM -0500, Stuart Stevenson wrote: Gentlemen,    Ubuntu 6.06    EMC2-trunk (git pull this

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Stuart Stevenson
Is there another place to look? On Mon, Jun 29, 2009 at 2:56 PM, Stuart Stevensonstus...@gmail.com wrote: I just got back and looked at the configs and wiki. I don't use %W's. The link did not help me. I On Mon, Jun 29, 2009 at 11:39 AM, Chris Radekch...@timeguy.com wrote: On Mon, Jun 29,

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Stephen Wille Padnos
Stuart Stevenson wrote: Is there another place to look? On Mon, Jun 29, 2009 at 2:56 PM, Stuart Stevensonstus...@gmail.com wrote: I just got back and looked at the configs and wiki. I don't use %W's. The link did not help me. I Did you notice the part where it says to connect the C pin

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Stuart Stevenson
yes I didn't think I was to that point yet. I don't see the state of the %I7 contact change to start the timer. How do I connect the C pin to the E pin? thanks Stuart On Mon, Jun 29, 2009 at 3:03 PM, Stephen Wille Padnosspad...@sover.net wrote: Stuart Stevenson wrote: Is there another place to

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Stephen Wille Padnos
Stuart Stevenson wrote: yes I didn't think I was to that point yet. I don't see the state of the %I7 contact change to start the timer. How do I connect the C pin to the E pin? What I did when going through this with a user was to open the CL editor, go to edit mode, select the vertical wire

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread John Thornton
Stuart, I missed some of the chat on this but in your image you need to connect C and E together or the timer will not work. http://www.linuxcnc.org/docview/html//ladder_classic_ladder.html#r1_7_3 John On 29 Jun 2009 at 14:56, Stuart Stevenson wrote: I just got back and looked at the

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Stuart Stevenson
I don't know CL well either. Let me modify the question about how to link C and E. I have two rungs. The add button seems to only want to edit the other rung. How do I get it to change rungs so I can add a link between C and E? On Mon, Jun 29, 2009 at 3:21 PM, Stephen Wille

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Stuart Stevenson
John, The problem (at this time) is not the knowledge of the needed change it is the how to do it. I do not know how to get the CL editor to edit the rung the timer is in. The CL editor picks the other rung to edit. thanks Stuart On Mon, Jun 29, 2009 at 5:10 PM, John Thorntonbjt...@gmail.com

[Emc-users] git

2009-06-29 Thread Stuart Stevenson
I just tried to download a git install. I got the message stus...@linuxcnc1:~$ git clone git://git.linuxcnc.org/git/emc2.git emc2-dev Initialized empty Git repository in /home/stustev/emc2-dev/.git/ fatal: The remote end hung up unexpectedly fetch-pack from 'git://git.linuxcnc.org/git/emc2.git'

[Emc-users] git

2009-06-29 Thread Stuart Stevenson
premature - wait a minute helped -- you can lead a person to knowledge but you cannot make him think -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net

[Emc-users] Trouble with Python

2009-06-29 Thread Leslie Newell
I am working on manual tool change code that allows you to use jogging/mdi during the tool change but I have hit a problem. Here is a code snippet from my version of the manual toolchange Python HAL module: import emc, hal import rs274.options emcStat = emc.stat(); emcCmd = emc.command() def

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread K.J. Kirwan
Stuart, Did you try coming away from the timer left one segment to draw in the vertical line instead of just jumping straight across? Sometimes CL will refuse one thing but accept it in a different way. (You'll have to add a short horizontal segment too.) Also, it seems to make a difference how

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread John Thornton
You need to pick the rung you want to edit and when you pick it the side rails turn red then select Modify in the little Editor window. Now it turns to bluish squares. Pick the vertical line tool (middle one on the third row of the Editor window and left click between the C and the E and a line

Re: [Emc-users] Help with probing on a surface with rotational symmetry around z axis

2009-06-29 Thread alan battersby
Mark wrote: Have you looked at nc_files/gridprobe.ngc? This does probing in an X-Y grid. Probing is documented at http://www.linuxcnc.org/docs/html/gcode_main.html#sub:G38.2:-Straight-Probe Thanks for the information Mark. I have not been as diligent as I should be in looking at the examples

[Emc-users] 3 axis gantry used to work, now motors are whining

2009-06-29 Thread Graham Cowan
I built a gantry-style plasma table. X, Y1, Y2 and Z axes, Y1 and Y2 linked together. Before I read that Stepconf doesn't work well with gantry systems, I actually got it to work. I needed to change a parallel port setting for coolant flood (torch on/off) and now the motors turn very very slowly,

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Chris Morley
Stuart: If I understand the problem you can't edit the rung because you have to 'make active' the rung first (each rung is 6 lines wide). scroll the page till you see the rung you want to edit. You should see a colour change around the left and right sides (black to red). Red is the 'active'

Re: [Emc-users] Trouble with Python

2009-06-29 Thread Jeff Epler
You need to set emc.nmlfile to the right path to emc.nml before creating the stat and command objects. This is how it's done in axis: emc.nmlfile = os.path.join(os.path.dirname(sys.argv[2]), inifile.find(EMC, NML_FILE)) hal_manualtoolchange doesn't need to do this because it doesn't use nml

Re: [Emc-users] classicladder not functioning

2009-06-29 Thread Stuart Stevenson
thanks guys - it is working now On Mon, Jun 29, 2009 at 7:32 PM, Chris Morleychrisinnana...@hotmail.com wrote: Stuart: If I understand the problem you can't edit the rung because you have to 'make active' the rung first (each rung is 6 lines wide). scroll the page till you see the rung you

[Emc-users] more Error with new program.

2009-06-29 Thread a
hi i have another problem with loading program. this is new fresh file from another drive. in middle of loading error! NEAR LINE 27726 of // File ending with no percent sign. OK Click on OK and it load ok. when i open this file and add % sign and load again error say

[Emc-users] Bad character'\37777777757' used

2009-06-29 Thread a
hi every time i load new program i am getting new error. now i have that one near line 2 of/.. Bad character'\357' used here is first lines #65279;% N2G90 G55X0Y0Z0 N4 G0 Z0.25001 N5 X17.41802 Y37.36987 N6 G1 Z-0.12328 F7.3 N7 Z-0.14828 F2.7 N8 X17.24044 Y36.61335

Re: [Emc-users] Error with new program.

2009-06-29 Thread Frank Tkalcevic
The problem is with the invisible characters in the text file that indicate the end of a line. In unix, there is only one character, a newline, or decimal value 11, or represented as \n In dos, the end of a line is usually represented by a carriage return character (decimal 13, or \r), and a new

Re: [Emc-users] Bad character'\37777777757' used

2009-06-29 Thread Frank Tkalcevic
Again, it looks like you are getting non standard characters in your programs. Use 'od' to check the contents. The program file can only consist of regular character (a-z, 0-9, and some punctuation characters). Also, make sure the editor you are using isn't generating a UNICODE text file.

[Emc-users] Show Hidden Files and Directories????

2009-06-29 Thread a
Hi when i try to click on Show Hidden Files and Directories to check box my computer freezes and i need cut power to restart. why it happened? Also what is the reason for Linux show files with this ~ that not exist? i delete file and it still show with mark ~ . Can i remove that files? after

Re: [Emc-users] Bad character'\37777777757' used

2009-06-29 Thread a
Hi i be more interesting in how to avoid problem than see what causing it. suppose something there and i have 80 000 line of code and than i need look at each line and there 80 000 of them. i think need some kind filter. unfortunately CAM program windows type and it just creates every time new

Re: [Emc-users] Bad character'\37777777757' used

2009-06-29 Thread Rob Jansen
to avoid a problem you need to know what is causing it. If the problem is on the first line, then use head as a filter to only show the first 20 lines of the output. Just type: od -a test.txt | head I am not sure what your linux/unix background knowledge is but in this line: 1. od -a