Bad character '-' used G CODE

More
29 Sep 2016 12:00 #81079 by wn007
I have a basic G CODE program. I am trying to access a HAL Pin from within the G CODE and pass as a parameter to a name subroutine. Here is the program. When I load the program I get (Bad character '-' used). I have FEATURES = 12 in the config file.

G20
G90
G94
G1 Z89.053 F10
G1 B8.0168 X9.03586959 F250
G1 W1.07238080 F15
G1 Y10.3500000000 F325
M64 P3
M65 P3
o<take_pics> call [#<_hal[motion.analog-in-00]>]
M30

Please Log in or Create an account to join the conversation.

More
29 Sep 2016 12:44 #81082 by wn007
Replied by wn007 on topic Bad character '-' used G CODE
Figured it out. It was actually a problem due to syntax within the subroutine.

[#2 - #<_xOffset>] was needed with closing brackets instead of #2 - #<_xOffset> hence the Bad Character "-" error thrown when parsed.

Please Log in or Create an account to join the conversation.

Time to create page: 0.103 seconds
Powered by Kunena Forum