Bugs item #1853953, was opened at 2007-12-19 08:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1853953&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: EMC2 G-code Interpreter
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Big John T (bigjohnt)
Assigned to: Nobody/Anonymous (nobody)
Summary: M66 Fails to respond to hardware inputs

Initial Comment:
When using M66 in ladder and the parport as the input M66 fails to respond to 
the input. If you change the M66 L1 to L2 or L4 the file executes without any 
hardware input on as expected.

.ngc file contents tested

G0 Z1.000 
G0 X4.000 Y0.000 
G0 Z0.01 F50
M64 P0 (Turn the plasma torch on)
M66 P0 L1 Q5
O100 if[#5399 EQ -1]
    M65 P0 (Turn the plasma torch off)
    (MSG, Arc Timeout)
    G0 Z0.5
    X0 Y0
    M2
O100 endif
(MSG, Arc OK)
G2 X4.000 Y0.000 I-4.000 J0.000
M65 P0 (Turn the plasma torch off)
G0 Z1
G0 X0 Y0
M2

postgui hal file contents

net ArcStable motion.digital-in-00 <= parport.0.pin-12-in
net ArcStable => pyvcp.ArcStaus

net Out9Command motion.digital-out-00 => parport.0.pin-17-out
net Out9Command => pyvcp.ArcCommand

pyVCP contents

<pyvcp>
    <hbox>
        <label>
            <text>"Plasma Arc "</text>
            <font>('Helvetica',40)</font>
        </label>
        <led>
            <halpin>"ArcCommand"</halpin> 
            <size>30</size> 
            <on_color>"green"</on_color>
            <off_color>"red"</off_color>
        </led>
    </hbox>
    <hbox>
        <label>
            <text>" Arc Stable  "</text>
            <font>('Helvetica',40)</font>
        </label>
        <led>
            <halpin>"ArcStaus"</halpin> 
            <size>30</size> 
            <on_color>"green"</on_color>
            <off_color>"red"</off_color>
        </led>
    </hbox>
</pyvcp>

.ini file revelent contents

[HAL]
HALFILE =               core_stepper.hal
HALFILE =               standard_pinout.hal
# pyVCP hal commands
POSTGUI_HALFILE = mypyvcp.hal


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1853953&group_id=6744

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to