hoff
01-26-2008, 08:28 AM
HAS ANYONE BEEN ABLE TO INSTALL EXPANDED MEMORY IN A HASS MACHINE WITHOUT PAYING HAAS TO DO IT?
|
View Full Version : Need Help! HAAS MEMORY hoff 01-26-2008, 08:28 AM HAS ANYONE BEEN ABLE TO INSTALL EXPANDED MEMORY IN A HASS MACHINE WITHOUT PAYING HAAS TO DO IT? serviceman 01-26-2008, 09:06 AM you can really only do it on the older processors that have sockets unless you are good at soldering surface mount chips. Digitech 01-28-2008, 04:58 AM Hi, You can get USB-RS232 product which can be used on any serial interface & you can activate drip feed mode. It is simpler & safer way. Or else, go for DNC Software Regards, Deepak Bodhani www.digitech-engineers.com Rocko1 01-30-2008, 07:18 AM What would be considered an older processor like one on a 98 VF3? Digitech 01-30-2008, 11:59 PM What would be considered an older processor like one on a 98 VF3? Hi, If 98 VF-3 supports drip feed, you can go for DNC Software. Connect any PC to RS-232 port of VF-3 (The top side D connector) through one Opto-Isolator. You can read more on Opto-Isolator on our web site digitech-engineers.com If drip feed is not supported by your machine, go for the other option. - Deepak gar 01-31-2008, 07:10 AM 080131-0809 EST USA DNC (drip feed) existed on 1993 machines, but Xmodem did not. . Digitech 02-01-2008, 06:47 AM 080131-0809 EST USA DNC (drip feed) existed on 1993 machines, but Xmodem did not. . Hi, HAAS drip feed mode will work with either RTS/CTS or X-on/Xoff You do not need Xmodem any way. You can use our WIN-COM Software. - Deepak Digitech 02-01-2008, 06:48 AM 080131-0809 EST USA DNC (drip feed) existed on 1993 machines, but Xmodem did not. . You need to enable parameter no. 55 in HAAS for DNC. - Deepak gar 02-01-2008, 07:42 AM 080201-0804 EST USA True that drip feed (DNC) works with either XON/XOFF or RTS-CTS. The major point of XMODEM is that it is an error detection and correction means that provides some advantage over simply using single parity bit checking on a character by character basis with no correction of any type. Suppose you use single bit parity and the system receiving the character halts on a parity error. This has probably protected you from a potential crash, but the program stops. Also suppose for whatever reason you lose a whole character and no parity error, and it was a decimal point. Now you may have a major crash. We have a customer with this kind of problem. XON/XOFF or RTS-CTS does nothing for you. These simply modulate the flow of data and nothing to do with noise induced errors. XMODEM is a communication protocol that sends a fixed and known block of characters including a checksum. A data block is sent from a source to a destination and at the destination there must be a checksum match. If the match is good, then an OK acknowledgement is sent to the source and the source sends the next block, and so on. If the match is wrong, then a NOT OK message is sent to the source and the source resends the block. There is a count limit on the number of retries on the same block. When this is exceeded all communication is halted. XMODEM will catch missing character errors as well as other random errors. Furthermore, XMODEM checks more of the system from some place within the source computer to some place within the destination. Usually the block of data goes into some buffer memory in the destination to have its checksum verified. The nearer this is to the final memory the better. A simple parity error check is usually only between the source and destination UARTs. Thus, more circuitry is checked with XMODEM than with a simple parity check. The simple form of XMODEM used by HAAS does not have powerful error checking, but it is much better than the simple parity check between the UARTs. . Digitech 02-02-2008, 02:54 AM 080201-0804 EST USA True that drip feed (DNC) works with either XON/XOFF or RTS-CTS. The major point of XMODEM is that it is an error detection and correction means that provides some advantage over simply using single parity bit checking on a character by character basis with no correction of any type. Suppose you use single bit parity and the system receiving the character halts on a parity error. This has probably protected you from a potential crash, but the program stops. Also suppose for whatever reason you lose a whole character and no parity error, and it was a decimal point. Now you may have a major crash. We have a customer with this kind of problem. XON/XOFF or RTS-CTS does nothing for you. These simply modulate the flow of data and nothing to do with noise induced errors. XMODEM is a communication protocol that sends a fixed and known block of characters including a checksum. A data block is sent from a source to a destination and at the destination there must be a checksum match. If the match is good, then an OK acknowledgement is sent to the source and the source sends the next block, and so on. If the match is wrong, then a NOT OK message is sent to the source and the source resends the block. There is a count limit on the number of retries on the same block. When this is exceeded all communication is halted. XMODEM will catch missing character errors as well as other random errors. Furthermore, XMODEM checks more of the system from some place within the source computer to some place within the destination. Usually the block of data goes into some buffer memory in the destination to have its checksum verified. The nearer this is to the final memory the better. A simple parity error check is usually only between the source and destination UARTs. Thus, more circuitry is checked with XMODEM than with a simple parity check. The simple form of XMODEM used by HAAS does not have powerful error checking, but it is much better than the simple parity check between the UARTs. . Yes. Xmodem is always better. If your older HAAS does not have Xmodem I do not think, any other external software will give you the same effect. gar 02-02-2008, 07:23 AM 080102-0817 EST USA Digitech: That is correct for any problem causing the error within the CNC system. I believe that usually the whole character loss problem can be attributed to problems within the CNC. Likely a buffer or interrupt problem. . HuFlungDung 02-02-2008, 09:58 AM I was researching this "Xmodem" on wikipedia the other day to try to discover what it was that makes it better. Xmodem appears to have begun without any standard except a dead simple communication protocol without any checking at all. So how or what standard of Xmodem is 'the good one' and how would one know what one is getting by selecting it? gar 02-02-2008, 01:23 PM 080202-1214 EST USA Hu: If you do not use Xmodem but simply use the simple 1 bit parity check that is available in modren UARTs, then you will never detect a loss of a whole character or characters. The 1 bit parity check applies only to an odd number of bits in error within a character. If precisely a whole character is lost, then there are no bits and nothing to be checked. Therefore no error. The Wikipedia discussion is good, but lacking in detail. The basic original Xmodem uses a data block of 128 bytes of data, and attached to this block are a header and trailer. This entire group is called a packet. Errors are detected by use of a checksum. Correction is by a request to resend a packet. The checksum method has problems as does simple parity. First consider a 1 bit parity check. For example the number 5 is stored in ASCII as 35h (hex) or 00110101b (binary) (an 8 bit word). The modulo 2 sum of these bits is 0 so the parity bit is 0. What is actually transmitted by the UART in an asynchronous communication with 8 data bits, parity, and 1 stop bit is 111111111111111 the rest state no data being transmitted. 0 the start bit 1 the least significant bit. 0 1 0 1 1 0 0 0 the parity bit (assuming we are using even parity, it would be 1 for odd parity) 1 the stop bit at this point a new word (character) could start If after the binary word (character --- a number of bits are called a word, and an 8 bit word can represent 256 different items --- in this case we are representing characters by these binary words) leaves the UART some noise produces an error in one or an odd number of bit locations, then at the destination the calculated checksum will be 1 and this is compared with 0 and we have an error. Now consider the use of a checksum. Here all the bytes in the packet are added together modulo 256 (because we have an 8 bit word and this can represent 256 items). Many kinds of 1 bit errors or multiple bit errors per character can occur and cause the checksum to be in error. However, a few kinds of 1 bit errors can occur that a parity check would catch but the checksum will not. For example: two bytes are 5 and 4 (00110101 parity bit is 0 and 00110100 parity bit is 1) the sum of the two is 9 (00111001). Produce just the right 1 bit error in each of these such that 5 becomes 4 and 4 becomes 5, then there will be a parity error on each of these, but the checksum is still 9 so no checksum error. You must keep in mind the relative probablity of errors of certain types determines which method is better. Since in general with the correct interconnect equipment from one RS232 port to another, such as our I232 System, there are virtually no bit errors in 100s of millions of bytes sent it means that Xmodem can be a very effective error detector. In addition Xmodem has the ability recover from an error that the simple parity check can not. But the single bit parity check combined with Xmodem can be even better. For those that do not understand what I said ask questions. . Donkey Hotey 02-02-2008, 01:44 PM I think this is a great discussion. Can a mod prune this bit out and into a new thread? I'd hate for the information to be lost under an unrelated topic. gar 02-02-2008, 05:07 PM 080202-1806 EST USA How many of you know what I meant when I used the word modulo? . HuFlungDung 02-02-2008, 05:40 PM I only became acquainted with the term modulo in the last few years. In school we called it 'the remainder'. Its still kind of foreign to me though. Maybe I need to sue some jackass in the school system for protecting me from that nasty, foreign sounding word :D Oh, that's right, they're all dead now, I'm that old :D gar 02-02-2008, 07:56 PM 080202-2029 EST USA From The American Heritage® Science Dictionary modulus A number by which two given numbers can be divided and produce the same remainder. From The American Heritage® Dictionary of the English Language, Fourth Edition modulo Mathematics With respect to a specified modulus: 18 is congruent to 42 modulo 12 because both 18 and 42 leave 6 as a remainder when divided by 12 and mod abbr. Mathematics modulus So if you do arithmetic base 10 MOD 16, then the only possible numbers are the integers 0 thru 15. When you add 1 to 15 that is 16, or 0 (MOD 16). 15 plus 22 is 37 or 5 (MOD 16). 37(2*16) = 32 + 5. Some times this is called clock arithmetic. What is neat in binary arithmetic is MOD 256 is the least significant 8 bits of a number. To create a one byte (8 bits) checksum we simply initiallize an 8 bit register to 0, then add to that register and ignore the carries. . HuFlungDung 02-03-2008, 09:51 PM What is neat in binary arithmetic is MOD 256 is the least significant 8 bits of a number. To create a one byte (8 bits) checksum we simply initiallize an 8 bit register to 0, then add to that register and ignore the carries. Okay, I'm seeing a glimmer here :D Can you give a longhand example in binary of what the above quote would entail? gar 02-04-2008, 07:35 AM 080204-0815 EST USA Hu: Suppose we have a register CX that is 16 bits wide and we use the INC and AND functions as follows: INC CX AND CX, 00FFh ; 00FFh = 255 decimal = 0000000011111111 binary If CX contains 00FF before increment, then it is 0100 after INC. The AND function, which could be called a mask here, will cause CX to contain 0000h after its execution. Thus, with these two instructions we have created a modulo 256 decimal counter. This can be useful in a circular buffer application where the buffer size is 256 decimal. The value in CX would be combined with a base address to point into the buffer. On a production line I use a MOD 1024 counter (10 bits --- 3Fh for the mask) to provide a number that is not too large, but considerably larger than the maybe 80 parts within the line. Thus when we want to track a part down the line the operator can write a relatively simple number on the part. (edit) In the case of the 8 bit register, suppose we increment AX, but only use the results in AL, then with only one instruction I have done the same operation as with two instructions above. But normally you would not use AX as a counter. Continuing to increment AX above 255 puts stuff into AH but we ignore this by just looking at AL. (end edit) . locash 02-15-2008, 10:37 PM you can really only do it on the older processors that have sockets unless you are good at soldering surface mount chips. I'm good at soldering surface mount components, where and what would I put on this thing to add more memory? I have a 2006 VF2, and I'm getting really annoyed at running out of my 1 meg of ram. We all know that memory is pennies on the dollar these days.. :) serviceman 02-16-2008, 03:18 PM i don't know about pennies but if you look at the processor you will see a bunch of open solder joints for memory usually on the top left of the board you will notice the bank of chips they are all the same they are your memory chips 256k chips maybe take the number off the chip and do a web search you will usually come up with a hit a did it not too long ago for a quote and the chips were readily available but i decided against the job because of magnifying glass and real close solder didn't want to chance recking the board and if i did i would be buying a new one upwards of $2500.00 |