I think you need brackets around the expression...

http://www.linuxcnc.org/docs/2.5/html/gcode/overview.html#sec:Expressions

So it would be #<_RR>=[#<_DD>/2]


On 07/21/2013 09:57 AM, charles green wrote:
> "
> #<_DD>=1
> #<_RR>=#<_DD>/2
> "
>
> lcnc v2.5.0 generates error "bad character "/" used around whatever line"
>
> "
> #<_DD>=1
> #<_RR>=#<_DD>*.5
> "
>
> generates error "bad character "*" used around whatever line"
>
> removing the '*/' line altogether from a longer program grenerates "bad 
> character "+" used on whatever line" containing the next expression.
>
> i thought math was allowed?  what am i missing?  i typed everything key by 
> key into gedit, so it's not that sort of problem.
>
> --------------------------------------------
> On Mon, 3/4/13, W. Martinjak <[email protected]> wrote:
>
>   Subject: Re: [Emc-users] LinuxCNC 2.5.2 is released!
>   To: "Enhanced Machine Controller (EMC)" <[email protected]>
>   Date: Monday, March 4, 2013, 4:19 PM
>   
>   I've updated my Cheesemill and it
>   still works flawlessly.
>   
>   Thanks!
>   
>   Great work!
>   
>   On 2013-03-04 17:07, Chris Radek wrote:
>   > No config changes are required when upgrading from
>   2.5.x to 2.5.2.
>   >
>   > For the typical installation, the update manager will
>   automatically
>   > offer you this upgrade.  Otherwise, you can get
>   the packages from
>   > http://linuxcnc.org/dists
>   >
>   > If you're upgrading from a 2.4 release, please see
>   > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5
>   >
>   > Many thanks to the people who have reported bugs, and
>   especially to
>   > the folks who worked to improve LinuxCNC for this
>   release:
>   >
>   >     Anders Wallin
>   >     Andy Pugh
>   >     Chris Morley
>   >     Chris Radek
>   >     Dewey Garrett
>   >     Francis Tisserant
>   >     Jeff Epler
>   >     John Thornton
>   >     Jon Elson
>   >     Lisandro Massera
>   >     Matt Shaver
>   >     Michael Haberler
>   >     Sascha Ittner
>   >     Sebastian Kuzminsky
>   >     Victor Rocco
>   >
>   > This release contains the following changes:
>   >
>   >   * AXIS: Allow the setting of the top
>   end of the Max Velocity slider
>   >     according to
>   [DISPLAY]MAX_LINEAR_VELOCITY as the docs say
>   >   * Components: Fix mux16's debounce
>   function
>   >   * Components: LCD character display
>   driver
>   >   * Components: New multiclick component
>   detects single, double, triple clicks
>   >   * Docs: Many improvements
>   >   * Gremlin: Better error reporting for
>   gcode errors
>   >   * Gremlin: Fix rotated axes display
>   >   * Halui: Include tool length offsets
>   in relative position outputs
>   >   * Hostmot2: Fixes to sserial
>   >   * Kins: Fix teleop jogging of ABC axes
>   in the negative direction
>   >   * Modbus: Fix TCP communication time
>   out error
>   >   * New config: Gecko G540
>   >   * New config: Smithy 1240combined_mm
>   >   * PID: Optional new
>   error-previous-target mode to reduce ferrors detected
>   >     by motion.  This is
>   especially useful for torque-mode loops and those
>   >     tunings that use large I gains
>   >   * pncconf: Many fixes
>   >   * PPMC: Better error checking for
>   hardware problems causing miscommunication
>   >   * Tool Table: Many fixes to tool table
>   handling, making tool tables on
>   >     nonrandom setups using
>   mismatched tool and pocket numbers work correctly
>   >   * Translations: German for tooledit
>   >   * Translations: Many improvements to
>   French
>   >   * Utilities: new latencyhistogram
>   program that shows details about latency
>   >   * Utilities: sim_pin, a script that
>   simulates writing to hal pins
>   >
>   >
>   
> ------------------------------------------------------------------------------
>   > Everyone hates slow websites. So do we.
>   > Make your web apps faster with AppDynamics
>   > Download AppDynamics Lite for free today:
>   > http://p.sf.net/sfu/appdyn_d2d_feb
>   > _______________________________________________
>   > Emc-users mailing list
>   > [email protected]
>   > https://lists.sourceforge.net/lists/listinfo/emc-users
>   
>   --
>   "In der Wissenschaft siegt nie eine neue Theorie,
>   nur ihre Gegner sterben nach und nach"
>   
>   Max Planck
>   
>   
>   
> ------------------------------------------------------------------------------
>   Everyone hates slow websites. So do we.
>   Make your web apps faster with AppDynamics
>   Download AppDynamics Lite for free today:
>   http://p.sf.net/sfu/appdyn_d2d_feb
>   _______________________________________________
>   Emc-users mailing list
>   [email protected]
>   https://lists.sourceforge.net/lists/listinfo/emc-users
>   
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to