Comm32 Logo
Home Button  Buy Button 

Topic:   Missing Spaces In Programs

By: GuestPosted on: Apr 4 2017 at 02:44:14 PM
The Comm32 software is sending programs to our CNC machine flawlessly. But when we send the programs back, all of the spaces in the message lines are omitted. What can I do so that it will read the spaces?

By: Guest Posted on: Apr 4 2017 at 05:12:02 PM
Space?

Do you mean that you have the correct lines of data but spaces on the line (between each 'word') are missing? So, a line on the CNC console might look like:

G0 C56.5 Z4. T202 M8

But when the CNC sends it out the computer receives

G0C56.5Z4.T202M8

(with no spaces)

How sure are you that the CNC is actually sending the spaces? Is it possible that the CNC thinks it is saving paper tape by not punching spaces that it doesn't need anyway.

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

Or do you mean that you don't get any line breaks and everything just appears on one (very) long line.

If that's the case then the problem is that the CNC is not sending Windows standard CR/LF. You need to look at the data and, if you just have CR (or) LF then replace them with CR/LF

By: GuestPosted on: Apr 4 2017 at 07:14:22 PM
If I have a message line in a program such as, (sample message line), it is sent back as (samplemessageline).

I believe it to be the software rather than the machine. Our old software never had this issue, and nothing has changed about the machine.

By: SupportPosted on: Apr 4 2017 at 08:12:54 PM
A space is just a character like any other character. It's not a special character with any special significance. So I simply can't think why the software would decide to discard that particular character or indeed any character.

Bear in mind you're not the only person using SComm32. I'm not saying it's perfect but if it was throwing away characters like that I feel we'd have a lot of developers complaining about missing spaces.

But I do take your comments seriously and will run some tests.

What version of the OCX do you have?

Reply - add a comment to this topic.

You may enter letters, numbers and standard punctuation only. HTML and other scripts/tags will be rejected.

Topic:- Missing Spaces In Programs


Enter the numbers.

Your name here is optional