Re: [Emc-users] Conditional code- GOTO

2014-10-16 Thread alex chiosso
Hi to all.
Wondering why the GOTO feature is a bad thing to have I was reading a USA
brand CNC manufacturer (Delta Tau PMAC-NC Pro2
http://www.deltatau.com/manuals/pdfs/PMAC-NC%20Pro2.pdf) and they use
GOTO as a standard function for the NC program control into parametric
programming FANUC style .
And they declare :

 To maintain FANUC compatibility, this form of a conditional expression
 should be adhered to.
 GOTO expressions goto can be followed by an expression 


Regards

Alex :-)

On Tue, Oct 7, 2014 at 3:50 PM, Dave Cole linuxcncro...@gmail.com wrote:

 On 10/7/2014 9:05 AM, Mark Wendt wrote:
  On Tue, Oct 7, 2014 at 8:51 AM, Dave Cole linuxcncro...@gmail.com
 wrote:
 
  Ugh.  Did you have to get on the Pennsy Turnpike?  Gawd, I hate that
  road.
  Mark
  I share that hate.   The PA turnpike should be condemned... just give up
  on it and build another road.
 
  Dave
 
 
  Especially sections between Pittsburgh and Breezewood.  And don't get me
  started on the Breezewood exit, especially on a weekend.
 
  Who was the brilliant engineer that decided to make the exit for I-70 off
  I-76 go through a town with a bunch of red lights?  It's even more
  ridiculous on the weekends.

 That is utter insanity.

 I've been through there a couple of times. My immediate thought was
 that some money changed hands to make this happen ! !

 I can see that happening because things changed over the years, but this
 is 2014 and that needs to be fixed.

 The last few trips to DC I have been avoiding the PA turnpike by driving
 south and then across Maryland.
 The PA turnpike is not worth it.   Its unsafe and they charge you $$ to
 drive it.

 Dave



 ---
 This email is free from viruses and malware because avast! Antivirus
 protection is active.
 http://www.avast.com



 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-07 Thread Erik Christiansen
On 03.10.14 16:26, Stephen Dubovsky wrote:
  Somebody wrote:
  There are plenty of ways to use goto that are clean and structured.
  And every one of those ways is better done using if/else/endif or
  while/endwhile or do/while instead of goto.

 Thats an awful absolute statement!  There are some cases where gotos are
 appropriate and FAR more clean then if/else/etc.  I write code for a living
 and have one particular case that is a nightmare to solve w/o one.  The
 LWIP stack uses them in a handful of places.  Clean and non-offensive.
 
 I don't see why some are getting their panties in a wad over it.

Chuckle, ya need 4WD to go over or around densely wadded dogma.
Here is one of those cases you refer to, I think. The code is part of an
event-handling state machine, written in my own dialect resembling SDL,
and in this case is a snippet from a menu system which handles a 12-key
keyboard and a 2 x 16 character LCD, running on an ATmega328p. (A hacked
Arduino board)

The plot so far:
The event-drive OS delivers an incoming event to the current state, and
at state INDEX, we handle a keystroke of 1 or 2, which are used as
softkeys, aligning under the display's bottom line, currently showing
By_Size By_N/rev, following a prior selection of Index at the higher
menu level.

It is worth remembering that in an SDL state machine, execution for an
event is called a transition, and comprises one string of code,
without subroutines. (In this case, the code is a bunch of assembler
macros, so not particularly recognisable out of context.)

The join IN1 is effectively a Goto, which makes 6 lines of code common
to the two modes. That's how the SDL language handles transition
merging. Admittedly, commercial tools do it graphically, with automated
code generation, so the Goto is just a line on the page, which makes it
immune to dogmatic attack.

state INDEX
   if_event 1   ; By_Size (raw) mode.
  display indx_11 L1; indx_11 is Hops  Size #=Ent
IN1:  vst   mode event  ; Save mode, and use INDEX_HOPS for both.
  display prompt_1 L2   ; *=bs (backspace)
  write_lcd control 0x0F; Set cursor blinking.
  place_cursor 0 L2 ; at start of line 2.
  send self First   ; Make stuff happen there, before
   next_state INDEX_HOPS; any external events.

   if_event 2   ; By_N/rev mode.
  display indx_10 L1; Hops N/rev #=Ent
  delay 1000; LCD ignores next line if we're too quick.
   join IN1
   
state INDEX_HOPS; ACCU_DISP collects any keyed data entry, 
   if_event First   ; sends a Return event to the calling state.
  vst   tmp zero_reg; Instance variable tmp = 0
   call_state ACCU_DISP
   ...

OK, it would have been possible to cook up a prettier artificial
example, but this code is running on the little Arduino board on the
corner of my desk at the moment, and I've just added the join while
adding the new mode, so it'll have to do as an example. Dogmatists
please note that it is 100% legit SDL to whiz off to merge into a
transition tail at another state, and that is in fact its most common
use in industry.

Why use such a state-based code architecture? Each event is handled with
extreme efficiency, delivered to the current state by the event-OS,
handled in a few lines of code, i.e. in microseconds, often. (All those
macros are in-line code, so no call/return overhead.) Each instance gets
a couple of negligible-overhead timers, eliminating the need for spin
delays, which cannot exist in a multi-threaded real-time environment.

And if you've used this stuff to control a turret, toolchanger, or other
gizmo, then later add a second one to the machine, it is only necessary
to change

   define_sm turret TURRET_INIT 1 to

   define_sm turret TURRET_INIT 2

and a second instance comes into existence, sharing the code, but with
private instance (thread) variables and instance ID. (Whoops, sorry,
this was just supposed to be a code example.)

Erik

P.S. The macros for the action primitives are a moving feast,
 hopefully improving in elegance over time, but even now providing a
 useful level of abstraction over the raw assembler underneath.

-- 
The surest way to corrupt a youth is to instruct him to hold in higher
regard those who think alike than those who think differently.
- Nietzsche

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk

Re: [Emc-users] Conditional code- GOTO

2014-10-07 Thread Mark Wendt
On Mon, Oct 6, 2014 at 1:48 PM, Gene Heskett ghesk...@wdtv.com wrote:


  Jeez, I dunno Gene.  He's comparing you to a Linux editor...  ;-)
 
  Mark

 Yeah, I thought of that too Mark, but even at 80 yo, 2+2=4, so I figured
 he was talking more about the things I've gotten my hands dirty fooling
 with.  Most folks my age think a walk to the mailbox at the curb is half a
 days work.

 But today I am going to try  take an afternoon nap as I was up about 7:11
  drove the last of my boys who were here for my birthday the roughly
 135-140 miles to the airport west of Pittsburgh, on my morning vitamins,
 and 1 small cup of the motels coffee.  After dropped them off in front of
 the Delta counter at PIA, I detoured  found a McD's where I made 3
 breakfast burrito's disappear.  And just a few minutes ago pulled into the
 house after nearly 300 miles of bad traffic, grabbed a beer which is
 evaporating at a high rate, and will see about that nap when its dry.

 Cheers, Gene Heskett



Ugh.  Did you have to get on the Pennsy Turnpike?  Gawd, I hate that road.

Mark
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-07 Thread Gene Heskett
On Tuesday 07 October 2014 05:03:43 Mark Wendt did opine
And Gene did reply:
 On Mon, Oct 6, 2014 at 1:48 PM, Gene Heskett ghesk...@wdtv.com wrote:
   Jeez, I dunno Gene.  He's comparing you to a Linux editor...  ;-)
   
   Mark
  
  Yeah, I thought of that too Mark, but even at 80 yo, 2+2=4, so I
  figured he was talking more about the things I've gotten my hands
  dirty fooling with.  Most folks my age think a walk to the mailbox
  at the curb is half a days work.
  
  But today I am going to try  take an afternoon nap as I was up about
  7:11  drove the last of my boys who were here for my birthday the
  roughly 135-140 miles to the airport west of Pittsburgh, on my
  morning vitamins, and 1 small cup of the motels coffee.  After
  dropped them off in front of the Delta counter at PIA, I detoured 
  found a McD's where I made 3 breakfast burrito's disappear.  And
  just a few minutes ago pulled into the house after nearly 300 miles
  of bad traffic, grabbed a beer which is evaporating at a high rate,
  and will see about that nap when its dry.
  
  Cheers, Gene Heskett
 
 Ugh.  Did you have to get on the Pennsy Turnpike?  Gawd, I hate that
 road.
 
 Mark

Its a PIMA, but no.  About 10 miles of i-70 where i-79 uses it to make a 
job west, but the northbound side of that, which blew me away, that big 25 
mph 290 degree right turn to get on i-70, the one with the 15 foot tall 
crash barrier on the outside?  The corner that killed at least 10 people a 
year? Yeah, that one, not far from Washington PA.

That has finally been replaced with a huge, 75 degree sweeper to the left 
you could do at 100 mph, standing on pylons about 75 feet tall over 
everything else.  Sweet!

But generally, PA's good roads haven't gained any speed increases, stuck 
at 65 mph by PA.  Nobody pays much attention to it as traffic generally 
stays north of 70 mph, sometimes by another 15 mph. My Toy saw 80 trying 
to run with them 2 or 3 times.

However PA is still building 3 to 4 year roads, cheap as heck, gotta keep 
all the union road workers off welfare I guess.  I have seen potholes in 
i-79 develop before they get the gear packed up at the end of the job.  If 
I was a PA taxpayer, I'd sue. 20% more per mile will build a 30 year road.  
How they do it is criminally fraudulent waste of tax dollars IMO.

Seems I read someplace where if federal dollars are involved, its a 
package deal, and you cannot ask for a warranty.  In .de land, some of the 
autobahn is now 60 years old and still in good shape because even if your 
company is asked to go fill a pothole, one of the things you must do is 
warrant the fix for 5 years.  IOW if that spot fails again, you go back 
and do it again, gratis.  And we are told it costs Germany about 10% more 
per mile to build that quality of road.  Even at 20%, its still one hell 
of a deal IMO.

But, I'm not licensed to run that train... :(

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-07 Thread Dave Cole
On 10/7/2014 5:03 AM, Mark Wendt wrote:
 On Mon, Oct 6, 2014 at 1:48 PM, Gene Heskett ghesk...@wdtv.com wrote:

 Jeez, I dunno Gene.  He's comparing you to a Linux editor...  ;-)

 Mark
 Yeah, I thought of that too Mark, but even at 80 yo, 2+2=4, so I figured
 he was talking more about the things I've gotten my hands dirty fooling
 with.  Most folks my age think a walk to the mailbox at the curb is half a
 days work.

 But today I am going to try  take an afternoon nap as I was up about 7:11
  drove the last of my boys who were here for my birthday the roughly
 135-140 miles to the airport west of Pittsburgh, on my morning vitamins,
 and 1 small cup of the motels coffee.  After dropped them off in front of
 the Delta counter at PIA, I detoured  found a McD's where I made 3
 breakfast burrito's disappear.  And just a few minutes ago pulled into the
 house after nearly 300 miles of bad traffic, grabbed a beer which is
 evaporating at a high rate, and will see about that nap when its dry.

 Cheers, Gene Heskett


 Ugh.  Did you have to get on the Pennsy Turnpike?  Gawd, I hate that road.

 Mark
I share that hate.   The PA turnpike should be condemned... just give up 
on it and build another road.

Dave

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-07 Thread Erik Christiansen
On 07.10.14 08:41, Gene Heskett wrote:
 Seems I read someplace where if federal dollars are involved, its a 
 package deal, and you cannot ask for a warranty.  In .de land, some of the 
 autobahn is now 60 years old and still in good shape because even if your 
 company is asked to go fill a pothole, one of the things you must do is 
 warrant the fix for 5 years.  IOW if that spot fails again, you go back 
 and do it again, gratis.  And we are told it costs Germany about 10% more 
 per mile to build that quality of road.  Even at 20%, its still one hell 
 of a deal IMO.
 
 But, I'm not licensed to run that train... :(

I think you're officially exempt:

In our civilization, and under our republican form of government,
intelligence is so highly honored that it is rewarded by exemption from
the cares of office.
  - Ambrose Bierce, The Devil's Dictionary


Mind you, we seem to have the same implicit rule here.

Erik

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-07 Thread Mark Wendt
On Tue, Oct 7, 2014 at 8:51 AM, Dave Cole linuxcncro...@gmail.com wrote:


  Ugh.  Did you have to get on the Pennsy Turnpike?  Gawd, I hate that
 road.
 
  Mark
 I share that hate.   The PA turnpike should be condemned... just give up
 on it and build another road.

 Dave



Especially sections between Pittsburgh and Breezewood.  And don't get me
started on the Breezewood exit, especially on a weekend.

Who was the brilliant engineer that decided to make the exit for I-70 off
I-76 go through a town with a bunch of red lights?  It's even more
ridiculous on the weekends.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-07 Thread Gene Heskett
On Tuesday 07 October 2014 07:57:46 Erik Christiansen did opine
And Gene did reply:
 On 07.10.14 08:41, Gene Heskett wrote:
  Seems I read someplace where if federal dollars are involved, its a
  package deal, and you cannot ask for a warranty.  In .de land, some
  of the autobahn is now 60 years old and still in good shape because
  even if your company is asked to go fill a pothole, one of the
  things you must do is warrant the fix for 5 years.  IOW if that spot
  fails again, you go back and do it again, gratis.  And we are told
  it costs Germany about 10% more per mile to build that quality of
  road.  Even at 20%, its still one hell of a deal IMO.
  
  But, I'm not licensed to run that train... :(
 
 I think you're officially exempt:
 
 In our civilization, and under our republican form of government,
 intelligence is so highly honored that it is rewarded by exemption from
 the cares of office.
   - Ambrose Bierce, The Devil's
 Dictionary
 
 
 Mind you, we seem to have the same implicit rule here.
 
 Erik

In 80 years of observation I have only seen one exception to that rule, 
but he passed 2 decades back.

People do not want to trust somebody like John Sunnunu with too high a 
public office for fear they will not understand him.  The almost singular 
exception to that rule today might be Netenyahu, whose rated IQ is almost 
twice mine at 270 + change.  In a war of wits, either him or Putin can 
play Obama like an out of tune piano. But Putin got there without benefit 
of a legit election.

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-07 Thread Dave Cole
On 10/7/2014 9:05 AM, Mark Wendt wrote:
 On Tue, Oct 7, 2014 at 8:51 AM, Dave Cole linuxcncro...@gmail.com wrote:

 Ugh.  Did you have to get on the Pennsy Turnpike?  Gawd, I hate that
 road.
 Mark
 I share that hate.   The PA turnpike should be condemned... just give up
 on it and build another road.

 Dave


 Especially sections between Pittsburgh and Breezewood.  And don't get me
 started on the Breezewood exit, especially on a weekend.

 Who was the brilliant engineer that decided to make the exit for I-70 off
 I-76 go through a town with a bunch of red lights?  It's even more
 ridiculous on the weekends.

That is utter insanity.

I've been through there a couple of times. My immediate thought was 
that some money changed hands to make this happen ! !

I can see that happening because things changed over the years, but this 
is 2014 and that needs to be fixed.

The last few trips to DC I have been avoiding the PA turnpike by driving 
south and then across Maryland.
The PA turnpike is not worth it.   Its unsafe and they charge you $$ to 
drive it.

Dave



---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread Mark Wendt
On Sun, Oct 5, 2014 at 4:07 PM, Gene Heskett ghesk...@wdtv.com wrote:

 On Sunday 05 October 2014 11:51:58 W. Martinjak did opine
 And Gene did reply:
  Congratulation!!!
 
  Especially to your impressive juvenilely vim.
 
  Congratulation again!!!
 
  Matsche
 
 Does the phrase 'keeps me out of the bars' sound familiar?  I think it
 applies to me to a certain extent.  But don't let that color things too
 much, cause even if I do go to the bar, I'm thumping a cane along with me
 as I go most of the time. :)

 If I had known I was gonna live this long, I would have dumped the 10'
 high  bulletproof persona 60 years ago.  I've been hard on me in other
 words. :(

 Thanks for the flowers, this kind may be forgotten, but they don't wilt if
 I forget to water them. ;-)

 Cheers, Gene Heskett



Jeez, I dunno Gene.  He's comparing you to a Linux editor...  ;-)

Mark
--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread Gene Heskett
On Monday 06 October 2014 05:03:12 Mark Wendt did opine
And Gene did reply:
 On Sun, Oct 5, 2014 at 4:07 PM, Gene Heskett ghesk...@wdtv.com wrote:
  On Sunday 05 October 2014 11:51:58 W. Martinjak did opine
  
  And Gene did reply:
   Congratulation!!!
   
   Especially to your impressive juvenilely vim.
   
   Congratulation again!!!
   
   Matsche
  
  Does the phrase 'keeps me out of the bars' sound familiar?  I think
  it applies to me to a certain extent.  But don't let that color
  things too much, cause even if I do go to the bar, I'm thumping a
  cane along with me as I go most of the time. :)
  
  If I had known I was gonna live this long, I would have dumped the
  10' high  bulletproof persona 60 years ago.  I've been hard on me
  in other words. :(
  
  Thanks for the flowers, this kind may be forgotten, but they don't
  wilt if I forget to water them. ;-)
  
  Cheers, Gene Heskett
 
 Jeez, I dunno Gene.  He's comparing you to a Linux editor...  ;-)
 
 Mark

Yeah, I thought of that too Mark, but even at 80 yo, 2+2=4, so I figured 
he was talking more about the things I've gotten my hands dirty fooling 
with.  Most folks my age think a walk to the mailbox at the curb is half a 
days work.

But today I am going to try  take an afternoon nap as I was up about 7:11 
 drove the last of my boys who were here for my birthday the roughly 
135-140 miles to the airport west of Pittsburgh, on my morning vitamins, 
and 1 small cup of the motels coffee.  After dropped them off in front of 
the Delta counter at PIA, I detoured  found a McD's where I made 3 
breakfast burrito's disappear.  And just a few minutes ago pulled into the 
house after nearly 300 miles of bad traffic, grabbed a beer which is 
evaporating at a high rate, and will see about that nap when its dry.

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread W. Martinjak

 Yeah, I thought of that too Mark, but even at 80 yo, 2+2=4, so I figured 
 he was talking more about the things I've gotten my hands dirty fooling 
 with.  Most folks my age think a walk to the mailbox at the curb is half a 
 days work.

 But today I am going to try  take an afternoon nap as I was up about 7:11 
  drove the last of my boys who were here for my birthday the roughly 
 135-140 miles to the airport west of Pittsburgh, on my morning vitamins, 
 and 1 small cup of the motels coffee.  After dropped them off in front of 
 the Delta counter at PIA, I detoured  found a McD's where I made 3 
 breakfast burrito's disappear.  And just a few minutes ago pulled into the 
 house after nearly 300 miles of bad traffic, grabbed a beer which is 
 evaporating at a high rate, and will see about that nap when its dry.

 Cheers, Gene Heskett

It seems I have  missed the plot...

-- 
In der Wissenschaft siegt nie eine neue Theorie,
nur ihre Gegner sterben nach und nach

Max Planck


--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread Dave Cole
On 10/6/2014 1:48 PM, Gene Heskett wrote:
 On Monday 06 October 2014 05:03:12 Mark Wendt did opine
 And Gene did reply:
 On Sun, Oct 5, 2014 at 4:07 PM, Gene Heskett ghesk...@wdtv.com wrote:
 On Sunday 05 October 2014 11:51:58 W. Martinjak did opine

 And Gene did reply:
 Congratulation!!!

 Especially to your impressive juvenilely vim.

 Congratulation again!!!

 Matsche
 Does the phrase 'keeps me out of the bars' sound familiar?  I think
 it applies to me to a certain extent.  But don't let that color
 things too much, cause even if I do go to the bar, I'm thumping a
 cane along with me as I go most of the time. :)

 If I had known I was gonna live this long, I would have dumped the
 10' high  bulletproof persona 60 years ago.  I've been hard on me
 in other words. :(

 Thanks for the flowers, this kind may be forgotten, but they don't
 wilt if I forget to water them. ;-)

 Cheers, Gene Heskett
 Jeez, I dunno Gene.  He's comparing you to a Linux editor...  ;-)

 Mark
 Yeah, I thought of that too Mark, but even at 80 yo, 2+2=4, so I figured
 he was talking more about the things I've gotten my hands dirty fooling
 with.  Most folks my age think a walk to the mailbox at the curb is half a
 days work.

 But today I am going to try  take an afternoon nap as I was up about 7:11
  drove the last of my boys who were here for my birthday the roughly
 135-140 miles to the airport west of Pittsburgh, on my morning vitamins,
 and 1 small cup of the motels coffee.  After dropped them off in front of
 the Delta counter at PIA, I detoured  found a McD's where I made 3
 breakfast burrito's disappear.  And just a few minutes ago pulled into the
 house after nearly 300 miles of bad traffic, grabbed a beer which is
 evaporating at a high rate, and will see about that nap when its dry.

 Cheers, Gene Heskett

Most folks my age think a walk to the mailbox at the curb is half a
days work.

Very true.

Sounds like 80 is treating you pretty well so far Gene.

I sat down at the barbershop on Saturday and starting talking to the man 
next to me about the wait.

He paused and said, how old do you think I am.I had no idea, so I 
said, 72.
He laughed and said 94.   That is my son getting his hair cut and he is 
just getting ready to retire, so I'm starting to feel old.
He said he just had to give up driving after having a small stroke. 
(Which didn't seem to slow him down.)
But he didn't like that since now he was dependent on other people
for transportation.  He still lives on his own.

I hope I do that well!

Dave

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread Gene Heskett
On Monday 06 October 2014 15:13:16 W. Martinjak did opine
And Gene did reply:
  Yeah, I thought of that too Mark, but even at 80 yo, 2+2=4, so I
  figured he was talking more about the things I've gotten my hands
  dirty fooling with.  Most folks my age think a walk to the mailbox
  at the curb is half a days work.
  
  But today I am going to try  take an afternoon nap as I was up about
  7:11  drove the last of my boys who were here for my birthday the
  roughly 135-140 miles to the airport west of Pittsburgh, on my
  morning vitamins, and 1 small cup of the motels coffee.  After
  dropped them off in front of the Delta counter at PIA, I detoured 
  found a McD's where I made 3 breakfast burrito's disappear.  And
  just a few minutes ago pulled into the house after nearly 300 miles
  of bad traffic, grabbed a beer which is evaporating at a high rate,
  and will see about that nap when its dry.
  
  Cheers, Gene Heskett
 
 It seems I have  missed the plot...

What makes you say that? This plot revolved around having two of my 4, or 
5 if you count the 2nds only surviving child, boys here to help me 
celebrate my 80th,  one of them had a hard time rounding up enough 
sheckles for the airplane tickets.  He is the oldest, fresh out of rehab  
hitting every AA meeting he hears about yet.

His first wife caught quick pneumonia  passed 4 years back, hit him hard 
 he crawled into a bottle, but he now has a new woman he signed up with 
about 2 years back, who is determined to dry him out and keep him that 
way.  She seems nice except for a very quiet but non-stop mouth, which he 
needs I think to prop him up.  I'd eventually stick a hot tater in her 
face for a muffler, but thats just me. :)

My wife's COPD is progressing, and it takes air to talk, so we don't talk 
as much as I'd like.  This fall weather has got her down but the last day 
or so we've had a bit of rain to clean the air, which seems to be helping 
a bit.

So other than that, no real plot, just life, one day at a time. :)

FWIW, on that post about the Atten scopes, it seems the are several 
Chinese makers using that std platform, even some US pedlars are using it, 
name brand stuff even. So while Atten's support isn't, Siglent's is, so I 
now have an updated firmware here and have been trying to locate a usb 
storage medium, key or disk, which I have 2 of each in this midden heap, 
but so far no keys, and the one 40Gb usb drive I had has apparently frozen 
up, won't spin up. I expect the scope wants to see a vfat file system, so 
it probably won't do me any good because I think I've formatted every key 
I own to ext3.  But keys are cheap.

I just found a 2Gb sandisk key, and by golly its mounted as a vfat!  And 
it had plenty of room for those 2 files. Done.  But I'm going to play a 
bit before I open that menu. acc the status display its firmware is 
prehistoric. 1.08, hdwe version 1.00.

And it can't find the file on the key. I wonder if I have to rename it?  I 
bookmarked a bunch of help sites last night, to to go re-read them.  
Results posted later.

Might have to rename it, currently is named as an SDL# and its 
probably looking for an ADS#.

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread Gene Heskett
On Monday 06 October 2014 16:10:21 Dave Cole did opine
And Gene did reply:

 Most folks my age think a walk to the mailbox at the curb is half a
 
 days work.
 
 Very true.
 
 Sounds like 80 is treating you pretty well so far Gene.
 
 I sat down at the barbershop on Saturday and starting talking to the
 man next to me about the wait.
 
 He paused and said, how old do you think I am.I had no idea, so I
 said, 72.
 He laughed and said 94.   That is my son getting his hair cut and he is
 just getting ready to retire, so I'm starting to feel old.
 He said he just had to give up driving after having a small stroke.
 (Which didn't seem to slow him down.)
 But he didn't like that since now he was dependent on other people
 for transportation.  He still lives on his own.

Thats great!
 
 I hope I do that well!
 
 Dave

I hope you do too, Dave.  My arthritis is getting fairly serious, skin 
cancers are on sale cheap, but as long as I can keep the thinker working, 
I am all for waking up the next morning.  When the strokes take the 
thinker, then its pretty much done IMO.
 
Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread Dave Cole
On 10/6/2014 7:31 PM, Gene Heskett wrote:
 but as long as I can keep the thinker working,
 I am all for waking up the next morning.

I agree entirely.  :-)

Dave

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread dave
Darned!I guess I've been misinformed: always thought that two plus
two was close to five for very large values of two. ;-)

Dave

On Mon, 2014-10-06 at 13:48 -0400, Gene Heskett wrote:
 On Monday 06 October 2014 05:03:12 Mark Wendt did opine
 And Gene did reply:
  On Sun, Oct 5, 2014 at 4:07 PM, Gene Heskett ghesk...@wdtv.com wrote:
   On Sunday 05 October 2014 11:51:58 W. Martinjak did opine
   
   And Gene did reply:
Congratulation!!!

Especially to your impressive juvenilely vim.

Congratulation again!!!

Matsche
   
   Does the phrase 'keeps me out of the bars' sound familiar?  I think
   it applies to me to a certain extent.  But don't let that color
   things too much, cause even if I do go to the bar, I'm thumping a
   cane along with me as I go most of the time. :)
   
   If I had known I was gonna live this long, I would have dumped the
   10' high  bulletproof persona 60 years ago.  I've been hard on me
   in other words. :(
   
   Thanks for the flowers, this kind may be forgotten, but they don't
   wilt if I forget to water them. ;-)
   
   Cheers, Gene Heskett
  
  Jeez, I dunno Gene.  He's comparing you to a Linux editor...  ;-)
  
  Mark
 
 Yeah, I thought of that too Mark, but even at 80 yo, 2+2=4, so I figured 
 he was talking more about the things I've gotten my hands dirty fooling 
 with.  Most folks my age think a walk to the mailbox at the curb is half a 
 days work.
 
 But today I am going to try  take an afternoon nap as I was up about 7:11 
  drove the last of my boys who were here for my birthday the roughly 
 135-140 miles to the airport west of Pittsburgh, on my morning vitamins, 
 and 1 small cup of the motels coffee.  After dropped them off in front of 
 the Delta counter at PIA, I detoured  found a McD's where I made 3 
 breakfast burrito's disappear.  And just a few minutes ago pulled into the 
 house after nearly 300 miles of bad traffic, grabbed a beer which is 
 evaporating at a high rate, and will see about that nap when its dry.
 
 Cheers, Gene Heskett



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-06 Thread dave
I'm a few years behind Gene but I told my wife  and my PC ...when
things get bad enough Barb will take me off to the vet. Somehow she
( PC ) didn't think it was funny. 

Dave


On Mon, 2014-10-06 at 19:31 -0400, Gene Heskett wrote:
 On Monday 06 October 2014 16:10:21 Dave Cole did opine
 And Gene did reply:
 
  Most folks my age think a walk to the mailbox at the curb is half a
  
  days work.
  
  Very true.
  
  Sounds like 80 is treating you pretty well so far Gene.
  
  I sat down at the barbershop on Saturday and starting talking to the
  man next to me about the wait.
  
  He paused and said, how old do you think I am.I had no idea, so I
  said, 72.
  He laughed and said 94.   That is my son getting his hair cut and he is
  just getting ready to retire, so I'm starting to feel old.
  He said he just had to give up driving after having a small stroke.
  (Which didn't seem to slow him down.)
  But he didn't like that since now he was dependent on other people
  for transportation.  He still lives on his own.
 
 Thats great!
  
  I hope I do that well!
  
  Dave
 
 I hope you do too, Dave.  My arthritis is getting fairly serious, skin 
 cancers are on sale cheap, but as long as I can keep the thinker working, 
 I am all for waking up the next morning.  When the strokes take the 
 thinker, then its pretty much done IMO.
  
 Cheers, Gene Heskett



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-05 Thread Dave Cole
I consider Hal to be a programming language of sorts.Its a setup 
language, but still a language.

Mach3 required VB or Brains (an attempt at Ladder Logic) to do any 
modifications.

I don't see how a complex machine can be setup without some type of 
configuration code/hal/ini configuration.

Dave

On 10/4/2014 5:00 PM, sam sokolik wrote:
 You also forget to mention that to get the industrial version of mach4
 you are going to pay $1000 -$2000.  (which isn't that much but a whole
 lot more than zero...)

 If you go for the 'hobby' version of mach4 you don't get the fanuc style
 macroB language extensions.  So as I under stand it - you are stuck with
 the mach3 style language that has no conditionals and such (ie -
 linuxcnc before owords - which is what Art started with).  $200+ more if
 you want the printer port module - otherwise you need to buy external
 motion hardware.  (which is usually more than mesa, pico or other
 linuxcnc supported hardware with less flexibility)

 I still get a kick out of 'needing to be a programmer' to use
 linuxcnc..   Mach4 is supposedly a lot more flexible to modify. Guess
 what you have to use - lua - a microsoft programming language..  Before
 that you had to use 'brains' which was some sort of vb like language..
 I just don't understand..  I have setup many many machines without
 having to do any 'programming' with linuxcnc.

 Correct me if I am wrong..  (my rant must be on today)

 sam






 On 10/03/2014 01:21 PM, Ron Ginger wrote:
 Mach4 has GOTO in the industrial version. Here is a short snip of how it
 works.

 (IF INITIAL FEEDRATE IS OMITTED)
 IF [#8 NE #0] GOTO20
   #8 = #9
 N20

 seems pretty handy to me, and quite clear to read.

 ron ginger

 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-05 Thread W. Martinjak
Congratulation!!!

Especially to your impressive juvenilely vim.

Congratulation again!!!

Matsche

On 2014-10-04 18:47, Gene Heskett wrote:
 On Saturday 04 October 2014 12:09:57 Dave Cole did opine
 And Gene did reply:
 Hi Alex,

  I never asked to anybody on the board this issue. 

 I understand.   But several of the board members are now obviously
 aware of your desire to have a GOTO instruction in the LinuxCNC
 gcode language.

  I honestly don't know how to do it .

 Ok..  I didn't know.   I just wanted to try and help you.
 So you will need to convince someone else to alter the program and
 submit a patch for review.  Then it may or may not be included in the
 official releases of LinuxCNC in the future.  However, if you have a
 patch, you can apply that to LinuxCNC yourself and recompile the
 program and gain that functionality.  There are instructions on the
 LinuxCNC website on how to get and compile the LinuxCNC source code.

 Never in my mind to see a so strong reaction from a part of the
 people I
 read .

 Don't take it personally.

 Some programmers have strong negative feelings about the GOTO
 instruction. Some really horrendous code has been written with the
 help of the GOTO instruction. Extensive use of the GOTO instruction is
 generally associated with bad programming practices.
 And I guess I am one of them crusty old programmers as I'm celebrating 
 my 80th today.  I have carved code in several languages but except for 
 some early efforts in basic, haven't used a goto in any other language 
 that effectively did have it by whatever name.  I have, after that basic 
 disaster, which was scrapped in the long run  the function re-written in 
 assembler and C combined, pretty much looked at a goto as the equ of a 
 painter painting himself into a corner.  Its not only embarrassing, but 
 seems to show a lack of forethought in how to go about solving the problem 
 at hand.  That isn't intended to insult anyone who does use it by design, 
 just that I have learned to think about how to do it which automatically 
 assumes it does not exist, and usually have a pseudo code written out and 
 printed as an outline to follow before a real line of code is typed.

 Can you kindly explain me how to express an official request to the
 LCNC
 board of developers. 
 Making an official request to the board may very well result in no
 changes unless they personally are interested in making the changes.

 Here is the official How to contribute web page.
 http://www.linuxcnc.org/docs/html/code/Contributing-to-LinuxCNC.html

 First of all I'm not so comfortable with the english writing to
 express my
 self fully .

 You do very well.
 I'll have to agree.
 I tried during the thread to explain why the GOTO (or whatever
 function/instruction can do the same thing) can be useful to produce
 clear and well structured G code but maybe I failed .

 I don't think that was an argument that you or anyone else could win on
 this list.

 If a feature is transversal between different CNC manufacturers to be
 a
 sort of standard why LCNC shudn't have it ?

 Good question.

 Regards,

 Dave
 [...]

 Cheers, Gene Heskett

-- 
In der Wissenschaft siegt nie eine neue Theorie,
nur ihre Gegner sterben nach und nach

Max Planck


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-05 Thread Gene Heskett
On Sunday 05 October 2014 11:51:58 W. Martinjak did opine
And Gene did reply:
 Congratulation!!!
 
 Especially to your impressive juvenilely vim.
 
 Congratulation again!!!
 
 Matsche
 
Does the phrase 'keeps me out of the bars' sound familiar?  I think it 
applies to me to a certain extent.  But don't let that color things too 
much, cause even if I do go to the bar, I'm thumping a cane along with me 
as I go most of the time. :)

If I had known I was gonna live this long, I would have dumped the 10' 
high  bulletproof persona 60 years ago.  I've been hard on me in other 
words. :(

Thanks for the flowers, this kind may be forgotten, but they don't wilt if 
I forget to water them. ;-)

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread alex chiosso
Hi to all.
I'm the beginner of the original mail thread Unconditional , Conditional
Program Jumps  .
Honestly the discussion is diverted from the initial point .
I'm talking about G code programming nothing else.
So what is conventional, best practises , dogma of whatever else in all of
the other programing languages is less important.
For sure , as it was pointed out , the majority (if not all) of the branded
manufacturers of CNC controllers implement
the GOTO statements inside their G code instruction sets.
I do believe that if this is true (and it is) the meaning is because it is
needed and/or useful .
For my personal experience the absence of this kind of instructions is a
missed opportunity of empowering and give more flexibility to the
conditional/unconditional programming .
I don't know how much difficult is to implement it into the LCNC G code
interpreter, so I only can make a wish hoping that the LCNC board of
developers will implement this feature .
If it's not possible I can only be sorry about that.
When you have a toolbox as much tools available you have as much freedom
you get.
After that anyone can use whatever tool wants to do the job.
The GOTO statement it's not breaking any fisical law to be rejected.
In particular for some of the applications I would make , without GOTOs is
simply not possible/not convenient to use LCNC due to the exaggerated
complication
of the G code program writing.
As Chris Radek wrote :

If someone wants to, and it gets done in a sane way (I think the
 0xxx LABEL ... 0xxx GOTO would be most consistent with the way our O
 words work), let's, as they say, thoughtfully consider the patch.


can be a good starting point.

Regards

Alex

On Sat, Oct 4, 2014 at 5:32 AM, craig cr...@facework.com wrote:

 The 200 branch go to:

 Many years ago,/in the days of punch cards and mainframes,/ I wrote, /in
 FORTRAN/ a complex radar system modeling/simulation tool to evaluate
 radar system designs in a variety of environments. The program used a
 large variety of signal generation and signal processing modules to
 predict how designs and design changes would change performance..  The
 program generated  simulated radar returns from simple and complex
 targets (things we might want to see), clutter (the things in the
 environment we didn't want to see) and jamming (signals the enemy might
 generate to make things difficult) for radar configurations, and
 dynamics. (What comes out of radar antennas is dependent on  the
 relative dynamics of anything that might be reflecting radar energy as
 well as antenna design and pointing. )

 There were modules to generate the various radar returns for various
 conditions and designs.  There were also modules to model the various
 signal processing elements in radar receivers, etc.

 The program flow was controlled by an integer array telling it what to
 do next after if finished each step using a 200 branch go to statement.
 It required a good understanding of radar systems and signal processing
 to run this program.   It was used to aid the design of a number of
 radar and sonar systems.

 Thirty years after I left that company somebody told me they just found
 a bug in the program.   They were still using it.

 Craig



 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Dave Cole
Hi Alex,

If you really want this feature, then you need to either write the code 
and submit a patch or convince someone else to do the same.

Chris is on the board, and I don't see him waving a flag for the 
implementation of the GOTO.

I can see where an unconditional GOTO could be useful for quickly 
hacking Gcode, but the conditional code implementation looks 
questionable in value since there
are already conditional constructs in the existing Gcode that work fine.

Dave


On 10/4/2014 7:04 AM, alex chiosso wrote:
 Hi to all.
 I'm the beginner of the original mail thread Unconditional , Conditional
 Program Jumps  .
 Honestly the discussion is diverted from the initial point .
 I'm talking about G code programming nothing else.
 So what is conventional, best practises , dogma of whatever else in all of
 the other programing languages is less important.
 For sure , as it was pointed out , the majority (if not all) of the branded
 manufacturers of CNC controllers implement
 the GOTO statements inside their G code instruction sets.
 I do believe that if this is true (and it is) the meaning is because it is
 needed and/or useful .
 For my personal experience the absence of this kind of instructions is a
 missed opportunity of empowering and give more flexibility to the
 conditional/unconditional programming .
 I don't know how much difficult is to implement it into the LCNC G code
 interpreter, so I only can make a wish hoping that the LCNC board of
 developers will implement this feature .
 If it's not possible I can only be sorry about that.
 When you have a toolbox as much tools available you have as much freedom
 you get.
 After that anyone can use whatever tool wants to do the job.
 The GOTO statement it's not breaking any fisical law to be rejected.
 In particular for some of the applications I would make , without GOTOs is
 simply not possible/not convenient to use LCNC due to the exaggerated
 complication
 of the G code program writing.
 As Chris Radek wrote :

 If someone wants to, and it gets done in a sane way (I think the
 0xxx LABEL ... 0xxx GOTO would be most consistent with the way our O
 words work), let's, as they say, thoughtfully consider the patch.

 can be a good starting point.

 Regards

 Alex

 On Sat, Oct 4, 2014 at 5:32 AM, craig cr...@facework.com wrote:

 The 200 branch go to:

 Many years ago,/in the days of punch cards and mainframes,/ I wrote, /in
 FORTRAN/ a complex radar system modeling/simulation tool to evaluate
 radar system designs in a variety of environments. The program used a
 large variety of signal generation and signal processing modules to
 predict how designs and design changes would change performance..  The
 program generated  simulated radar returns from simple and complex
 targets (things we might want to see), clutter (the things in the
 environment we didn't want to see) and jamming (signals the enemy might
 generate to make things difficult) for radar configurations, and
 dynamics. (What comes out of radar antennas is dependent on  the
 relative dynamics of anything that might be reflecting radar energy as
 well as antenna design and pointing. )

 There were modules to generate the various radar returns for various
 conditions and designs.  There were also modules to model the various
 signal processing elements in radar receivers, etc.

 The program flow was controlled by an integer array telling it what to
 do next after if finished each step using a 200 branch go to statement.
 It required a good understanding of radar systems and signal processing
 to run this program.   It was used to aid the design of a number of
 radar and sonar systems.

 Thirty years after I left that company somebody told me they just found
 a bug in the program.   They were still using it.

 Craig



 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread alex chiosso
Hi Dave .
I never asked to anybody on the board this issue.
I honestly don't know how to do it .
I opened the thread on this specific argument to discuss, understand , feel
the opinion of the user on it.
Never in my mind to see a so strong reaction from a part of the people I
read .
I'm not a software guru or LCNC expert so I'm not able to do the patch by
myself.
Can you kindly explain me how to express an official request to the LCNC
board of developers.
To convince them to examine my request is not easy for me.
First of all I'm not so confortable with the english writing to express my
self fully .
I tried during the thread to explain why the GOTO (or whatever
function/instruction can do the same thing) can be useful to produce clear
and well structured G code but maybe I failed .
If I will have the opportunity to perorate this request in any way possible
I will do it.
If a feature is transversal between different CNC manufacturers to be a
sort of standard why LCNC shudn't have it ?

Regards

Alex






On Sat, Oct 4, 2014 at 2:01 PM, Dave Cole linuxcncro...@gmail.com wrote:

 Hi Alex,

 If you really want this feature, then you need to either write the code
 and submit a patch or convince someone else to do the same.

 Chris is on the board, and I don't see him waving a flag for the
 implementation of the GOTO.

 I can see where an unconditional GOTO could be useful for quickly
 hacking Gcode, but the conditional code implementation looks
 questionable in value since there
 are already conditional constructs in the existing Gcode that work fine.

 Dave


 On 10/4/2014 7:04 AM, alex chiosso wrote:
  Hi to all.
  I'm the beginner of the original mail thread Unconditional , Conditional
  Program Jumps  .
  Honestly the discussion is diverted from the initial point .
  I'm talking about G code programming nothing else.
  So what is conventional, best practises , dogma of whatever else in all
 of
  the other programing languages is less important.
  For sure , as it was pointed out , the majority (if not all) of the
 branded
  manufacturers of CNC controllers implement
  the GOTO statements inside their G code instruction sets.
  I do believe that if this is true (and it is) the meaning is because it
 is
  needed and/or useful .
  For my personal experience the absence of this kind of instructions is a
  missed opportunity of empowering and give more flexibility to the
  conditional/unconditional programming .
  I don't know how much difficult is to implement it into the LCNC G code
  interpreter, so I only can make a wish hoping that the LCNC board of
  developers will implement this feature .
  If it's not possible I can only be sorry about that.
  When you have a toolbox as much tools available you have as much freedom
  you get.
  After that anyone can use whatever tool wants to do the job.
  The GOTO statement it's not breaking any fisical law to be rejected.
  In particular for some of the applications I would make , without GOTOs
 is
  simply not possible/not convenient to use LCNC due to the exaggerated
  complication
  of the G code program writing.
  As Chris Radek wrote :
 
  If someone wants to, and it gets done in a sane way (I think the
  0xxx LABEL ... 0xxx GOTO would be most consistent with the way our O
  words work), let's, as they say, thoughtfully consider the patch.
 
  can be a good starting point.
 
  Regards
 
  Alex
 
  On Sat, Oct 4, 2014 at 5:32 AM, craig cr...@facework.com wrote:
 
  The 200 branch go to:
 
  Many years ago,/in the days of punch cards and mainframes,/ I wrote, /in
  FORTRAN/ a complex radar system modeling/simulation tool to evaluate
  radar system designs in a variety of environments. The program used a
  large variety of signal generation and signal processing modules to
  predict how designs and design changes would change performance..  The
  program generated  simulated radar returns from simple and complex
  targets (things we might want to see), clutter (the things in the
  environment we didn't want to see) and jamming (signals the enemy might
  generate to make things difficult) for radar configurations, and
  dynamics. (What comes out of radar antennas is dependent on  the
  relative dynamics of anything that might be reflecting radar energy as
  well as antenna design and pointing. )
 
  There were modules to generate the various radar returns for various
  conditions and designs.  There were also modules to model the various
  signal processing elements in radar receivers, etc.
 
  The program flow was controlled by an integer array telling it what to
  do next after if finished each step using a 200 branch go to statement.
  It required a good understanding of radar systems and signal processing
  to run this program.   It was used to aid the design of a number of
  radar and sonar systems.
 
  Thirty years after I left that company somebody told me they just found
  a bug in the program.   They were still using it.
 
  Craig
 
 
 
 
 

Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Dave Cole
Hi Alex,

 I never asked to anybody on the board this issue. 

I understand.   But several of the board members are now obviously aware 
of your desire to have a GOTO instruction in the LinuxCNC
gcode language.

 I honestly don't know how to do it .

Ok..  I didn't know.   I just wanted to try and help you.
So you will need to convince someone else to alter the program and submit a 
patch for review.  Then it may or may not be
included in the official releases of LinuxCNC in the future.  However, if you 
have a patch, you can apply that to LinuxCNC yourself
and recompile the program and gain that functionality.  There are instructions 
on the LinuxCNC website on how to get and compile
the LinuxCNC source code.

Never in my mind to see a so strong reaction from a part of the people I
read .

Don't take it personally.

Some programmers have strong negative feelings about the GOTO instruction.
Some really horrendous code has been written with the help of the GOTO 
instruction.
Extensive use of the GOTO instruction is generally associated with bad 
programming practices.

Can you kindly explain me how to express an official request to the LCNC
board of developers. 
Making an official request to the board may very well result in no changes 
unless they personally are interested in making
the changes.

Here is the official How to contribute web page.
http://www.linuxcnc.org/docs/html/code/Contributing-to-LinuxCNC.html

First of all I'm not so comfortable with the english writing to express my
self fully .

You do very well.

I tried during the thread to explain why the GOTO (or whatever
function/instruction can do the same thing) can be useful to produce clear
and well structured G code but maybe I failed .

I don't think that was an argument that you or anyone else could win on this 
list.

If a feature is transversal between different CNC manufacturers to be a
sort of standard why LCNC shudn't have it ?

Good question.

Regards,

Dave


  



On 10/4/2014 10:01 AM, alex chiosso wrote:
 Hi Dave .
 I never asked to anybody on the board this issue.
 I honestly don't know how to do it .
 I opened the thread on this specific argument to discuss, understand , feel
 the opinion of the user on it.
 Never in my mind to see a so strong reaction from a part of the people I
 read .
 I'm not a software guru or LCNC expert so I'm not able to do the patch by
 myself.
 Can you kindly explain me how to express an official request to the LCNC
 board of developers.
 To convince them to examine my request is not easy for me.
 First of all I'm not so confortable with the english writing to express my
 self fully .
 I tried during the thread to explain why the GOTO (or whatever
 function/instruction can do the same thing) can be useful to produce clear
 and well structured G code but maybe I failed .
 If I will have the opportunity to perorate this request in any way possible
 I will do it.
 If a feature is transversal between different CNC manufacturers to be a
 sort of standard why LCNC shudn't have it ?

 Regards

 Alex





---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Gene Heskett
On Saturday 04 October 2014 12:09:57 Dave Cole did opine
And Gene did reply:
 Hi Alex,
 
  I never asked to anybody on the board this issue. 
 
 I understand.   But several of the board members are now obviously
 aware of your desire to have a GOTO instruction in the LinuxCNC
 gcode language.
 
  I honestly don't know how to do it .
 
 Ok..  I didn't know.   I just wanted to try and help you.
 So you will need to convince someone else to alter the program and
 submit a patch for review.  Then it may or may not be included in the
 official releases of LinuxCNC in the future.  However, if you have a
 patch, you can apply that to LinuxCNC yourself and recompile the
 program and gain that functionality.  There are instructions on the
 LinuxCNC website on how to get and compile the LinuxCNC source code.
 
 Never in my mind to see a so strong reaction from a part of the
 people I
 
 read .
 
 Don't take it personally.
 
 Some programmers have strong negative feelings about the GOTO
 instruction. Some really horrendous code has been written with the
 help of the GOTO instruction. Extensive use of the GOTO instruction is
 generally associated with bad programming practices.

And I guess I am one of them crusty old programmers as I'm celebrating 
my 80th today.  I have carved code in several languages but except for 
some early efforts in basic, haven't used a goto in any other language 
that effectively did have it by whatever name.  I have, after that basic 
disaster, which was scrapped in the long run  the function re-written in 
assembler and C combined, pretty much looked at a goto as the equ of a 
painter painting himself into a corner.  Its not only embarrassing, but 
seems to show a lack of forethought in how to go about solving the problem 
at hand.  That isn't intended to insult anyone who does use it by design, 
just that I have learned to think about how to do it which automatically 
assumes it does not exist, and usually have a pseudo code written out and 
printed as an outline to follow before a real line of code is typed.

 Can you kindly explain me how to express an official request to the
 LCNC
 
 board of developers. 
 Making an official request to the board may very well result in no
 changes unless they personally are interested in making the changes.
 
 Here is the official How to contribute web page.
 http://www.linuxcnc.org/docs/html/code/Contributing-to-LinuxCNC.html
 
 First of all I'm not so comfortable with the english writing to
 express my
 
 self fully .
 
 You do very well.

I'll have to agree.
 
 I tried during the thread to explain why the GOTO (or whatever
 
 function/instruction can do the same thing) can be useful to produce
 clear and well structured G code but maybe I failed .
 
 I don't think that was an argument that you or anyone else could win on
 this list.
 
 If a feature is transversal between different CNC manufacturers to be
 a
 
 sort of standard why LCNC shudn't have it ?
 
 Good question.
 
 Regards,
 
 Dave

[...]

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread alex chiosso
Hi Dave .
Thank you so much for the help you are giving me .
Your detailed clarifications are important for me.
I really appreciate .

Hi Gene.
As always it's a pleasure for me to read your stories .
So you never hurt me . ;-)

Regards

Alex


On Sat, Oct 4, 2014 at 6:47 PM, Gene Heskett ghesk...@wdtv.com wrote:

 On Saturday 04 October 2014 12:09:57 Dave Cole did opine
 And Gene did reply:
  Hi Alex,
 
   I never asked to anybody on the board this issue. 
 
  I understand.   But several of the board members are now obviously
  aware of your desire to have a GOTO instruction in the LinuxCNC
  gcode language.
 
   I honestly don't know how to do it .
 
  Ok..  I didn't know.   I just wanted to try and help you.
  So you will need to convince someone else to alter the program and
  submit a patch for review.  Then it may or may not be included in the
  official releases of LinuxCNC in the future.  However, if you have a
  patch, you can apply that to LinuxCNC yourself and recompile the
  program and gain that functionality.  There are instructions on the
  LinuxCNC website on how to get and compile the LinuxCNC source code.
 
  Never in my mind to see a so strong reaction from a part of the
  people I
 
  read .
 
  Don't take it personally.
 
  Some programmers have strong negative feelings about the GOTO
  instruction. Some really horrendous code has been written with the
  help of the GOTO instruction. Extensive use of the GOTO instruction is
  generally associated with bad programming practices.

 And I guess I am one of them crusty old programmers as I'm celebrating
 my 80th today.  I have carved code in several languages but except for
 some early efforts in basic, haven't used a goto in any other language
 that effectively did have it by whatever name.  I have, after that basic
 disaster, which was scrapped in the long run  the function re-written in
 assembler and C combined, pretty much looked at a goto as the equ of a
 painter painting himself into a corner.  Its not only embarrassing, but
 seems to show a lack of forethought in how to go about solving the problem
 at hand.  That isn't intended to insult anyone who does use it by design,
 just that I have learned to think about how to do it which automatically
 assumes it does not exist, and usually have a pseudo code written out and
 printed as an outline to follow before a real line of code is typed.

  Can you kindly explain me how to express an official request to the
  LCNC
 
  board of developers. 
  Making an official request to the board may very well result in no
  changes unless they personally are interested in making the changes.
 
  Here is the official How to contribute web page.
  http://www.linuxcnc.org/docs/html/code/Contributing-to-LinuxCNC.html
 
  First of all I'm not so comfortable with the english writing to
  express my
 
  self fully .
 
  You do very well.

 I'll have to agree.
 
  I tried during the thread to explain why the GOTO (or whatever
 
  function/instruction can do the same thing) can be useful to produce
  clear and well structured G code but maybe I failed .
 
  I don't think that was an argument that you or anyone else could win on
  this list.
 
  If a feature is transversal between different CNC manufacturers to be
  a
 
  sort of standard why LCNC shudn't have it ?
 
  Good question.
 
  Regards,
 
  Dave

 [...]

 Cheers, Gene Heskett
 --
 There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order.
 -Ed Howdershelt (Author)
 Genes Web page http://geneslinuxbox.net:6309/gene
 US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Ron Ginger
One of the complaints often heard about LinuxCNC is that it is 
controlled by a small group of programmers and the only things they add 
are things they like/want. They make the holy pronouncement that if you 
like you can always do it yourself and we will consider it for 
inclusion. So even if a person has the ability to do the code it may or 
may not be included. The reality is that it is very difficult for a 
person not a trained software engineer to do the modifications to 
something as complex as LinuxCNC.

Who represents the view that a feature is common in industrial controls, 
so it ought to be in linuxCNC, even if the now very old NIST effort to 
create a standard did not include it? If this were a commercial product 
some marketing person would write a product requirement, the programmers 
would make it happen and the industrial users would be pleased.

ron ginger


On 10/4/2014 1:47 PM, emc-users-requ...@lists.sourceforge.net wrote:
 Some programmers have strong negative feelings about the GOTO instruction.
 Some really horrendous code has been written with the help of the GOTO 
 instruction.
 Extensive use of the GOTO instruction is generally associated with bad 
 programming practices.


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Stuart Stevenson
On Sat, Oct 4, 2014 at 1:53 PM, Ron Ginger rongin...@roadrunner.com wrote:

 One of the complaints often heard about LinuxCNC is that it is
 controlled by a small group of programmers and the only things they add
 are things they like/want. They make the holy pronouncement that if you
 like you can always do it yourself and we will consider it for
 inclusion.

I have included things in my LinuxCNC that are not included in the
repository. I am not sure if any have been offered. I am not trying to hide
them. I have shared them freely with anyone wishing them.
That being said, I have asked for and received MUCH help in developing
these additions of mine. The 'holy programmers' did not try to guide me
away from my modifications. The 'holy programmers' were VERY helpful with
any question I asked.
:) I expect some of the help was a result in the 'holy programmers' not
wanting my dreadful code presented as a possible inclusion whether it
worked or not! :)


 So even if a person has the ability to do the code it may or
 may not be included. The reality is that it is very difficult for a
 person not a trained software engineer to do the modifications to
 something as complex as LinuxCNC.

My reality as a non programmer is the 'holy programmers' will help you
develop what you want. You must realize their help is gratis (free) unless
you have a specific contract with one of them to complete a project. The
holy programmer's time is important to them. Maybe even more important
than helping you (or me) immediately but rest assured their help will be
afforded you far more quickly than any private industrial control team
can/will respond.
My response to anyone wishing to have a function/feature is to ask how to
do it and follow the instructions. You will find the 'holy programmers' and
others are very helpful in determining where you are on the programming
scale and guiding you through the process. Just remember though, it is
doubtful you will have them hold your hand and/or do it for you.
Just start and have fun with it.


 Who represents the view that a feature is common in industrial controls,
 so it ought to be in linuxCNC, even if the now very old NIST effort to
 create a standard did not include it? If this were a commercial product
 some marketing person would write a product requirement, the programmers
 would make it happen and the industrial users would be pleased.

I would expect many marketing persons have submitted proposals of
requirements in which the proposals of requirements have not been
implemented in the software/hardware of the product.

just sayin



 ron ginger


 On 10/4/2014 1:47 PM, emc-users-requ...@lists.sourceforge.net wrote:
  Some programmers have strong negative feelings about the GOTO
 instruction.
  Some really horrendous code has been written with the help of the GOTO
 instruction.
  Extensive use of the GOTO instruction is generally associated with bad
 programming practices.



 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


thanks
Stuart


-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Andy Pugh



 On 4 Oct 2014, at 19:53, Ron Ginger rongin...@roadrunner.com wrote:
 
 One of the complaints often heard about LinuxCNC is that it is 
 controlled by a small group of programmers and the only things they add 
 are things they like/want

This is s fair way off of the truth as it assumes that the project is 
controlled at all. 

Are you suggesting that the unpaid hobbyists who write code for LinuxCNC should 
be obliged to write code for features on request? 
That seems a bit much to ask. 
Don't assume that there is a pool of programmers on call being given tasks by 
the board to add features on request. 

As for the feature being discussed, it looks like a fairly simple change to a 
single C++ file that I linked to earlier. There is no need to be a trained 
software engineer to experiment on that file with adding a GOTO statement. 
That was how I started when I decided to add support for the Mesa three phase 
PWM, just looking at existing code and adding modified versions, and learning C 
at the same time. It was even fun. 


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Dave Cole
I've heard that complaint also but how could this be different?

LinuxCNC is open source software that anyone can modify if they have the 
skills.

There are some very skilled programmers who volunteer their time to make 
improvements to LinuxCNC and I really appreciate their efforts.  :-)

How can I expect them to not only volunteer their time to improve the 
software but also write software to include functions that they disagree 
with?

I wouldn't do that!   After all, the general goal is to move the 
software forward.

I've always received a LOT of assistance whenever I have asked questions 
about how to make changes via hal or whatever.

 If this were a commercial product some marketing person would write a 
product requirement, the programmers would make it happen and the 
industrial users would be pleased.

Not necessarily. Say that some user convinces the US Fanuc marketing 
guys that a product change would be good for this particular customer;  
Do you think that Fanuc is going to immediately include that feature?
No way.

Dave









On 10/4/2014 2:53 PM, Ron Ginger wrote:
 One of the complaints often heard about LinuxCNC is that it is
 controlled by a small group of programmers and the only things they add
 are things they like/want. They make the holy pronouncement that if you
 like you can always do it yourself and we will consider it for
 inclusion. So even if a person has the ability to do the code it may or
 may not be included. The reality is that it is very difficult for a
 person not a trained software engineer to do the modifications to
 something as complex as LinuxCNC.

 Who represents the view that a feature is common in industrial controls,
 so it ought to be in linuxCNC, even if the now very old NIST effort to
 create a standard did not include it? If this were a commercial product
 some marketing person would write a product requirement, the programmers
 would make it happen and the industrial users would be pleased.

 ron ginger


 On 10/4/2014 1:47 PM, emc-users-requ...@lists.sourceforge.net wrote:
 Some programmers have strong negative feelings about the GOTO instruction.
 Some really horrendous code has been written with the help of the GOTO 
 instruction.
 Extensive use of the GOTO instruction is generally associated with bad 
 programming practices.

 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread alex chiosso
Hi , Gentlemen .
Seems to be difficult to keep the level of the discussion without to be
misunderstood.
I'm not asking to anybody to do nothing on the fly .
I'm not so stupid .
I was wondering if this GOTO coding feature is first of all interesting to
have and secondary how difficult is to implement it.
One point of displeasure is that even Mach4 have this GOTO ..
Andy , because everything is relative the fact that you say that is only
a statement adding/changing in a C++ file maybe it's clear and easy for you
but sure it is not for me.
So excuse me if I'm not so smart . :-)
Anyway  peace .

Alex


On Sat, Oct 4, 2014 at 10:01 PM, Dave Cole linuxcncro...@gmail.com wrote:

 I've heard that complaint also but how could this be different?

 LinuxCNC is open source software that anyone can modify if they have the
 skills.

 There are some very skilled programmers who volunteer their time to make
 improvements to LinuxCNC and I really appreciate their efforts.  :-)

 How can I expect them to not only volunteer their time to improve the
 software but also write software to include functions that they disagree
 with?

 I wouldn't do that!   After all, the general goal is to move the
 software forward.

 I've always received a LOT of assistance whenever I have asked questions
 about how to make changes via hal or whatever.

  If this were a commercial product some marketing person would write a
 product requirement, the programmers would make it happen and the
 industrial users would be pleased.

 Not necessarily. Say that some user convinces the US Fanuc marketing
 guys that a product change would be good for this particular customer;
 Do you think that Fanuc is going to immediately include that feature?
 No way.

 Dave









 On 10/4/2014 2:53 PM, Ron Ginger wrote:
  One of the complaints often heard about LinuxCNC is that it is
  controlled by a small group of programmers and the only things they add
  are things they like/want. They make the holy pronouncement that if you
  like you can always do it yourself and we will consider it for
  inclusion. So even if a person has the ability to do the code it may or
  may not be included. The reality is that it is very difficult for a
  person not a trained software engineer to do the modifications to
  something as complex as LinuxCNC.
 
  Who represents the view that a feature is common in industrial controls,
  so it ought to be in linuxCNC, even if the now very old NIST effort to
  create a standard did not include it? If this were a commercial product
  some marketing person would write a product requirement, the programmers
  would make it happen and the industrial users would be pleased.
 
  ron ginger
 
 
  On 10/4/2014 1:47 PM, emc-users-requ...@lists.sourceforge.net wrote:
  Some programmers have strong negative feelings about the GOTO
 instruction.
  Some really horrendous code has been written with the help of the GOTO
 instruction.
  Extensive use of the GOTO instruction is generally associated with bad
 programming practices.
 
 
 --
  Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
  Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
  Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
  Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users

 ---
 This email is free from viruses and malware because avast! Antivirus
 protection is active.
 http://www.avast.com



 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread sam sokolik
You also forget to mention that to get the industrial version of mach4 
you are going to pay $1000 -$2000.  (which isn't that much but a whole 
lot more than zero...)

If you go for the 'hobby' version of mach4 you don't get the fanuc style 
macroB language extensions.  So as I under stand it - you are stuck with 
the mach3 style language that has no conditionals and such (ie - 
linuxcnc before owords - which is what Art started with).  $200+ more if 
you want the printer port module - otherwise you need to buy external 
motion hardware.  (which is usually more than mesa, pico or other 
linuxcnc supported hardware with less flexibility)

I still get a kick out of 'needing to be a programmer' to use 
linuxcnc..   Mach4 is supposedly a lot more flexible to modify. Guess 
what you have to use - lua - a microsoft programming language..  Before 
that you had to use 'brains' which was some sort of vb like language..  
I just don't understand..  I have setup many many machines without 
having to do any 'programming' with linuxcnc.

Correct me if I am wrong..  (my rant must be on today)

sam






On 10/03/2014 01:21 PM, Ron Ginger wrote:
 Mach4 has GOTO in the industrial version. Here is a short snip of how it
 works.

 (IF INITIAL FEEDRATE IS OMITTED)
 IF [#8 NE #0] GOTO20
  #8 = #9
 N20

 seems pretty handy to me, and quite clear to read.

 ron ginger

 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Andy Pugh



 On 4 Oct 2014, at 21:32, alex chiosso achio...@gmail.com wrote:
 
 Andy , because everything is relative the fact that you say that is only
 a statement adding/changing in a C++ file maybe it's clear and easy for you
 but sure it is not for me.

Did you also see that I said that that is how I started, and that it was fun? I 
learned C to add something to the LinuxCNC drivers. 
I had, though, done some programming in other languages previously. 
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Peter C. Wallace
On Sat, 4 Oct 2014, sam sokolik wrote:

 Date: Sat, 04 Oct 2014 16:00:47 -0500
 From: sam sokolik sa...@empirescreen.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Conditional code- GOTO
 
 You also forget to mention that to get the industrial version of mach4
 you are going to pay $1000 -$2000.  (which isn't that much but a whole
 lot more than zero...)

 If you go for the 'hobby' version of mach4 you don't get the fanuc style
 macroB language extensions.  So as I under stand it - you are stuck with
 the mach3 style language that has no conditionals and such (ie -
 linuxcnc before owords - which is what Art started with).  $200+ more if
 you want the printer port module - otherwise you need to buy external
 motion hardware.  (which is usually more than mesa, pico or other
 linuxcnc supported hardware with less flexibility)

 I still get a kick out of 'needing to be a programmer' to use
 linuxcnc..   Mach4 is supposedly a lot more flexible to modify. Guess
 what you have to use - lua - a microsoft programming language..  Before
 that you had to use 'brains' which was some sort of vb like language..
 I just don't understand..  I have setup many many machines without
 having to do any 'programming' with linuxcnc.

 Correct me if I am wrong..  (my rant must be on today)

 sam



lua is not related to Microsoft AFAIK

http://www.lua.org/about.html


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread Steve Stallings
Some corrections.

The parallel port driver for Mach4 (Darwin) will sell for $25.00

Lua (the scripting language used by Mach4) is an open source 
language and the only relationship to Microsoft is that it will
run in a Windows environment, along with many others including
Linux. 

http://www.lua.org/about.html

Steve Stallings


 -Original Message-
 From: sam sokolik [mailto:sa...@empirescreen.com] 
 Sent: Saturday, October 04, 2014 5:01 PM
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] Conditional code- GOTO
 
 You also forget to mention that to get the industrial version 
 of mach4 
 you are going to pay $1000 -$2000.  (which isn't that much 
 but a whole 
 lot more than zero...)
 
 If you go for the 'hobby' version of mach4 you don't get the 
 fanuc style 
 macroB language extensions.  So as I under stand it - you are 
 stuck with 
 the mach3 style language that has no conditionals and such (ie - 
 linuxcnc before owords - which is what Art started with).  
 $200+ more if 
 you want the printer port module - otherwise you need to buy external 
 motion hardware.  (which is usually more than mesa, pico or other 
 linuxcnc supported hardware with less flexibility)
 
 I still get a kick out of 'needing to be a programmer' to use 
 linuxcnc..   Mach4 is supposedly a lot more flexible to modify. Guess 
 what you have to use - lua - a microsoft programming 
 language..  Before 
 that you had to use 'brains' which was some sort of vb like 
 language..  
 I just don't understand..  I have setup many many machines without 
 having to do any 'programming' with linuxcnc.
 
 Correct me if I am wrong..  (my rant must be on today)
 
 sam
 
 
 
 
 
 
 On 10/03/2014 01:21 PM, Ron Ginger wrote:
  Mach4 has GOTO in the industrial version. Here is a short 
 snip of how it
  works.
 
  (IF INITIAL FEEDRATE IS OMITTED)
  IF [#8 NE #0] GOTO20
   #8 = #9
  N20
 
  seems pretty handy to me, and quite clear to read.
 
  ron ginger
 
  
 --
 
  Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
  Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box 
 PCI DSS Reports
  Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
  Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
  
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/41
 40/ostg.clktrk
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users
 
 
 
 --
 
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI 
 DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/41
 40/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



Re: [Emc-users] Conditional code- GOTO

2014-10-04 Thread sam sokolik
sorry - my mistake.  I think that was in the memory warehouse long ago..

Sorry about the rant.

sam


On 10/04/2014 04:24 PM, Steve Stallings wrote:
 Some corrections.

 The parallel port driver for Mach4 (Darwin) will sell for $25.00

 Lua (the scripting language used by Mach4) is an open source
 language and the only relationship to Microsoft is that it will
 run in a Windows environment, along with many others including
 Linux.

 http://www.lua.org/about.html

 Steve Stallings


 -Original Message-
 From: sam sokolik [mailto:sa...@empirescreen.com]
 Sent: Saturday, October 04, 2014 5:01 PM
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] Conditional code- GOTO

 You also forget to mention that to get the industrial version
 of mach4
 you are going to pay $1000 -$2000.  (which isn't that much
 but a whole
 lot more than zero...)

 If you go for the 'hobby' version of mach4 you don't get the
 fanuc style
 macroB language extensions.  So as I under stand it - you are
 stuck with
 the mach3 style language that has no conditionals and such (ie -
 linuxcnc before owords - which is what Art started with).
 $200+ more if
 you want the printer port module - otherwise you need to buy external
 motion hardware.  (which is usually more than mesa, pico or other
 linuxcnc supported hardware with less flexibility)

 I still get a kick out of 'needing to be a programmer' to use
 linuxcnc..   Mach4 is supposedly a lot more flexible to modify. Guess
 what you have to use - lua - a microsoft programming
 language..  Before
 that you had to use 'brains' which was some sort of vb like
 language..
 I just don't understand..  I have setup many many machines without
 having to do any 'programming' with linuxcnc.

 Correct me if I am wrong..  (my rant must be on today)

 sam






 On 10/03/2014 01:21 PM, Ron Ginger wrote:
 Mach4 has GOTO in the industrial version. Here is a short
 snip of how it
 works.

 (IF INITIAL FEEDRATE IS OMITTED)
 IF [#8 NE #0] GOTO20
   #8 = #9
 N20

 seems pretty handy to me, and quite clear to read.

 ron ginger


 --
 
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box
 PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/41
 40/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI
 DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/41
 40/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-03 Thread Ron Ginger
Mach4 has GOTO in the industrial version. Here is a short snip of how it 
works.

(IF INITIAL FEEDRATE IS OMITTED)
IF [#8 NE #0] GOTO20
#8 = #9
N20

seems pretty handy to me, and quite clear to read.

ron ginger

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-03 Thread John Kasunich
That usage does NOT require a goto, a conventional if statement works:

O100 if [#8 NE #0] 
#8 = #9
O100 endif

If your goal is to either skip or execute some code based on a condition,
a regular if/else/endif structure does the job, while still enforcing structured
code and avoiding spaghetti.

There are plenty of ways to use goto that are clean and structured.  And
every one of those ways is better done using if/else/endif or while/endwhile
or do/while instead of goto.

The things that can't be done with if/else/endif, while/endwhile, or do/while
are typically the things that really shouldn't be done, and that lead to 
spaghetti code.


On Fri, Oct 3, 2014, at 02:21 PM, Ron Ginger wrote:
 Mach4 has GOTO in the industrial version. Here is a short snip of how it 
 works.
 
 (IF INITIAL FEEDRATE IS OMITTED)
 IF [#8 NE #0] GOTO20
 #8 = #9
 N20
 
 seems pretty handy to me, and quite clear to read.
 
 ron ginger
 
 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


-- 
  John Kasunich
  jmkasun...@fastmail.fm

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-03 Thread Stephen Dubovsky
 That usage does NOT require a goto, a conventional if statement works:


He was simply pointing out the syntax.  Of course a two line statement
didn't need a goto.


 There are plenty of ways to use goto that are clean and structured.  And
 every one of those ways is better done using if/else/endif or
 while/endwhile
 or do/while instead of goto.


Thats an awful absolute statement!  There are some cases where gotos are
appropriate and FAR more clean then if/else/etc.  I write code for a living
and have one particular case that is a nightmare to solve w/o one.  The
LWIP stack uses them in a handful of places.  Clean and non-offensive.

I don't see why some are getting their panties in a wad over it.  If
someone wants to write code using it (or has existing code) what difference
does it make to others?  LCNC is about having more flexibility and freedom
not less.  If you don't like the taste of coffee fine, go drink your tea.
But don't ban or look down on coffee drinkers because you don't like it.
They achieve the exact same end goal.  As it has been pointed out,
commercial controls support it and if someone has an existing program that
CANT be run on LCNC thats a big problem to that user.  I wouldn't want to
have to hand unwind, learn, and rewrite some old code that worked perfectly
before.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-03 Thread Chris Radek
On Fri, Oct 03, 2014 at 04:26:46PM -0400, Stephen Dubovsky wrote:

 If someone wants to write code using it (or has existing code)
 what difference does it make to others?  LCNC is about having more
 flexibility and freedom

Wow this is bringing out strong feelings.

The sticking point here, which I don't think is reflected in your
message, is that if we want Oxxx GOTO, someone would have to
implement it.  Nobody has stepped up who wants to do that.

If someone wants to, and it gets done in a sane way (I think the
0xxx LABEL ... 0xxx GOTO would be most consistent with the way our O
words work), let's, as they say, thoughtfully consider the patch.

But until someone wants to implement GOTO, can we all stop yelling
about it?

Chris

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-03 Thread craig
The 200 branch go to:

Many years ago,/in the days of punch cards and mainframes,/ I wrote, /in 
FORTRAN/ a complex radar system modeling/simulation tool to evaluate 
radar system designs in a variety of environments. The program used a 
large variety of signal generation and signal processing modules to 
predict how designs and design changes would change performance..  The 
program generated  simulated radar returns from simple and complex 
targets (things we might want to see), clutter (the things in the 
environment we didn't want to see) and jamming (signals the enemy might 
generate to make things difficult) for radar configurations, and 
dynamics. (What comes out of radar antennas is dependent on  the 
relative dynamics of anything that might be reflecting radar energy as 
well as antenna design and pointing. )

There were modules to generate the various radar returns for various 
conditions and designs.  There were also modules to model the various 
signal processing elements in radar receivers, etc.

The program flow was controlled by an integer array telling it what to 
do next after if finished each step using a 200 branch go to statement.  
It required a good understanding of radar systems and signal processing 
to run this program.   It was used to aid the design of a number of 
radar and sonar systems.

Thirty years after I left that company somebody told me they just found 
a bug in the program.   They were still using it.

Craig


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users