I have no idea what you just said.
Your reference to USB apparently is to the USB port on HAAS.
I will try to start from the beginning.
1. At a computer you created a program and in this program there was at least one "]", maybe more that is not clear There were 64 of them. You know that this original program on the computer does not contain "]=" for this expected single "]".That is true..the original program didn't have them, and when I output to USB & use notepad or Cimco, they are there.
2. Somehow you use the USB port on HAAS to load this program into HAAS memory. Somehow - I/O, receive disk, type number When you view the program on HAAS you see "]=" where there was just "]" in the file at the computer. This is exactly correct, and the Haas errors out at the "]=", if I fix it at the control it will run. The minute I send it to the USB, it is back.
Does "]" occur more than once in the program on the computer?264 occurances If in more than one place, then are all occurrences of "]" in the source program at the computer converted to "]=" when viewed in HAAS memory?No, but it is "essentially" the same line of code. Always DPRT with a variable value
Do you load a memory stick at the computer and then read that stick at HAAS into HAAS memory? or do you use a USB cable to connect the computer to HAAS? Stick at the machine
If you use a memory stick, then have you loaded the program to the memory stick, removed the stick from the computer, plugged the stick back into the computer in a different USB port on the computer, viewed the program on the stick with something like WordPad, and observed the error or no error? NO error on three diffferent PC's
If the program is good as viewed in this manner, then when you load from this stick to HAAS does the "]" change to "]=" in all occurrences of "]" from the original source file.See above..Only a certain type of code, never in a variable calculation, only where I shoot out a DPRT[variable value]
If so, then HAAS has a USB bug. That is my conclusion, and I can duplicate it on four machines, with ages varying from 3 years to 2 weeks.
If it is a cable connection, then try the memory stick test.
Here is a sample....I wonder what would happen if you loaded it...If I delete the "=", and reload the program, it comes back, everytime. Now, I am using 232, and life is good.
(ASSIGN SYSTEM VARIABLE VALUE VAR100)
#100= #[ 5701 ]=
(ASSIGN INITIAL START VALUE FOR INCREMENT)
#101= 5701
DPRNT[**TOOL*LIFE*VARIABLE*]
DPRNT[#101[44]] |