585,578 active members*
4,079 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Bridgeport Machines > Bridgeport / Romi Lathes > ROMI BRIDGEPORT EZ-PATH LATHE SYNTAX ERROR
Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2012
    Posts
    59

    Angry ROMI BRIDGEPORT EZ-PATH LATHE SYNTAX ERROR

    Greetings,
    I use the Ez-paths "conversational" features to generate a program... It works fine runs good and so forth, .PGM file btw..

    I go to my computer and create the same program .PGM, exact same text...load it into the machine and when I go to run

    it the controller gives me a syntax error at line XXX of the program, I delete line XXX then I get the same syntax error

    but directed to the next block of text down the line and the program will not load into the run buffer.

    Please help!!!

  2. #2
    Join Date
    Jul 2007
    Posts
    45
    Modern word processing programs can add unseen format tags and styles or other coding schemes that the old DOS does not understand. You could try using Notepad and use the All Files drop down in Save As to add the .pgm extension.

  3. #3
    Join Date
    Oct 2012
    Posts
    59
    Wagon, I had a chance to try the save as all file types today and I still get the syntax error messages. thanks anyhow..

  4. #4
    Join Date
    Jul 2007
    Posts
    45
    I just tried a program and it worked fine. Both typed in with Windows 7 and XP using Notepad. For what it is worth, it is important that the program header be correct for the programs to work. Mine says 0000 EZPATH|SX 1 MODE|INCH MON JUL 08 20:39:26 2013. Note that this "|" is the pipe key, not the colon key. Then Save As - all files - ANSI encoding - test.pgm.
    You can PM me with your email and then send me a test program that is causing problems and I would be glad to take a look at it.

  5. #5
    Join Date
    Oct 2012
    Posts
    59
    I will send you those programs via PM on Wednesday. As far as the header I copied and pasted it from a program that I copied directly from the EzPath to floppy. The only thing wrong with it would be the date. Thanks again for the help.

  6. #6
    Join Date
    Jul 2007
    Posts
    45
    This is a hex dump of the last few lines of oshuab's program. As
    can be seen there is a series of OD OA's after the last M2 command. These are
    hex for CR (carriage return) and LF (linefeed) characters from the good old days
    of computing. There is supposed to be one of each at the end of a line.


    20 52 41 50 49 44 20 41 42 53 *******|******* RAPID ABS
    20 58 38 2E 32 30 30 20 5A 31 *******|******* X8.200 Z1
    2E 30 30 30 30 0D 0A 30 33 30 *******|******* .0000 . . 030
    30 20 41 55 58 46 55 4E 20 4D *******|******* 0 AUXFUN M
    32 0D 0A 0D 0A 0D 0A 0D 0A 0D ****|******* 2 . . . . . . . . .
    0A 0D 0A 0D 0A 0D 0A 0D 0A 0D ****|******* . . . . . . . . . .
    0A 0D 0A 0D 0A 0D 0A 0D 0A *******|******* . . . . . . . . .


    Like this.


    20 52 41 50 49 44 20 41 42 53 ******* | ******* RAPID ABS
    20 58 32 2E 33 30 20 5A 30 2E ******* | ******* X2.30 Z0.
    30 30 30 30 0D 0A 30 32 39 30 *******|******* 0000 . . 0290
    20 52 41 50 49 44 20 41 42 53 *******|******* RAPID ABS
    20 58 38 2E 32 30 30 20 5A 31 *******|******* X8.200 Z1
    2E 30 30 30 30 0D 0A 30 33 30 *******|******* .0000 . . 030
    30 20 41 55 58 46 55 4E 20 4D *******|******* 0 AUXFUN M
    32 0D 0A ************************| 2 . .


    The top original program gave a syntax error at line 0300. The second program works fine.
    It is unfortunate as I had mentioned that these characters are not seen on the screen.
    One way to fix this problem in Notepad is to place the cursor at the end of the line;
    the M2 in this example which was the last line of the program. Hit the delete key
    several times until the text is down to the bottom of the screen. Then hit the Enter
    or Return key once. In Notepad save the program using Save As - All files -
    whatever.pgm.

    As a side note this program if saved without any CR LF characters at the end,
    will run, but after the M2 (End of Program) it will just ask for a tool change which
    was in a line at the start of the program. With the CR LF after the last line it will ask for
    a Spindle Off after the program runs. It executes the M2 with the CR LF.

    Also of interest if the last line (0300) in the example is deleted in Notepad or at the machine
    console it leaves the OD OA from that line so in that respect makes the situation worse by leaving
    more of them.

    20 52 41 50 49 44 20 41 42 53 *******|******* RAPID ABS
    20 58 32 2E 33 30 20 5A 30 2E *******|******* X2.30 Z0.
    30 30 30 30 0D 0A 30 32 39 30 *******|******* 0000 . . 0290
    20 52 41 50 49 44 20 41 42 53 *******|******* RAPID ABS
    20 58 38 2E 32 30 30 20 5A 31 *******|******* X8.200 Z1
    2E 30 30 30 30 0D 0A 0D 0A 0D *****|******* .0000 . . . . .
    0A 0D 0A 0D 0A 0D 0A 0D 0A 0D ***|******* . . . . . . . . . .
    0A 0D 0A 0D 0A 0D 0A 0D 0A 0D ***|******* . . . . . . . . . .
    0A 0D 0A 0D 0A

    I found another roundabout way to fix the problem. In Notepad select all the text from (in this case) the 2 in M2 all the way to the top of the program. Copy Paste this in to a new document (File - New). Put the cursor at the end of the file and (just after the 2) and press the Enter key once. This puts one carriage return and line feed in so the program will now work.


    Hope this helps some with the syntax error problem.

  7. #7
    Join Date
    Oct 2012
    Posts
    59
    Great job Wagon! Thanks!

  8. #8
    Join Date
    Jul 2013
    Posts
    2
    Hello Wagon,

    First time on the forum and downloaded a hex editor to verify your comments regarding OD OA after AUXFUN M2. However, when I run the
    EZ Path Utility, the program streams by on the screen as it's being received and the last line with M2 is visible at the bottom, but that's where
    the utility tool seems to freeze. When I press ESC, a message shows up saying the batch process was terminated, and there's no downloaded
    program. It appears the utility is still waiting for characters. How do I tell it to store the program and exit back into the main menu? The transfer
    is over a serial line using TeraTerm (4800, 7 bits, even, stop =2), which works fine on the older Bridgeport Mill. Your help would be much appreciated.

  9. #9
    Join Date
    Jul 2007
    Posts
    45
    Welcome Moscow. Sorry, I don't do serial transfers. I hope someone else can help you with that.
    To clarify one OD OA should be at the end of every line, not just after an AUXFUN M2.

  10. #10
    Join Date
    Dec 2021
    Posts
    3

    Re: ROMI BRIDGEPORT EZ-PATH LATHE SYNTAX ERROR

    Thank you very much for the knowledge you provided spider solitaire 2 suit

Similar Threads

  1. Bridgeport/Romi EZ Path 2 SD
    By JRN in forum Bridgeport / Romi Lathes
    Replies: 9
    Last Post: 08-14-2020, 02:42 PM
  2. Bridgeport/ROMI EZ Path Lathe
    By mcsf in forum Uncategorised MetalWorking Machines
    Replies: 5
    Last Post: 11-28-2012, 12:39 AM
  3. Bridgeport Romi EZ Path
    By portacover in forum Bridgeport / Romi Lathes
    Replies: 2
    Last Post: 04-03-2011, 11:15 AM
  4. Bridgeport EZ path romi lathe
    By dipiazza in forum Uncategorised MetalWorking Machines
    Replies: 0
    Last Post: 12-05-2008, 04:48 AM
  5. Need HELP on Bridgeport EZ-Path ROMI Lathe
    By Michael Esch in forum DNC Problems and Solutions
    Replies: 6
    Last Post: 04-10-2007, 04:38 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
  •