071030-1550 EST USA
Davidhaag:
I have no direct experience with Okuma. However, I sold our I232 System to a person in the Chicago area, and initially there were problems.
These problems resulted from lack of information on Okuma. In most applications you set the RS232 parameters the same at both the PC and CNC. In the case of Okuma, at least on some machines, the parity is not calculated and processed in the UART (Universal Asynchronous Receiver/Transmitter). Thus, you send data to Okuma as 7 data bits, even parity, 1 stop bit. Obviously baud rates must be identical. At Okuma the UART is programmed as 8 data bits (this now includes parity as one of the data bits), and 1 or 2 stop bits. It is likely that the UART used on receive only assumes 1 stop bit even though it is programmed for 2 stop bits. If you program the PC for 2 stop bits (this is transmit only as far as I have been able to determine). Okuma performs the parity check somewhere in their system using the 8 bit data word that actually contains 7 data bits and one parity bit.
For handshake I would use XON/XOFF (needs to be done at both ends). At the Okuma jumper pin 4 to 5, and separately 6, 8, 20 together.
PC PC end in Device Manager disable FIFO for the serial port, COM1 or whatever, you are using.
Try to send a very short file. Like header, one comment, and trailer.
. |