Welcome.
check this thread OSP5020
Note!
<READ> and <PUNCH> use different transfer settings in the Okuma
double check that the "read" parameters are the same as "punch",
also do the same for Cimco
Steve
Hey everyone,
This is my first post on this site so please bear with me.
I am trying to send programs from the computer to our CNC lathe. The lathe is an Okuma LS30-N with an OSP5000L-G control and is connected to the computer by a RS-232 serial link. I am using CIMCO Edit v5 to transfer. I can send a file from the control to the computer, but am unable to send one back to the control.
Has anyone else had a similar problem? Does anyone have any ideas?
Thanks.
Welcome.
check this thread OSP5020
Note!
<READ> and <PUNCH> use different transfer settings in the Okuma
double check that the "read" parameters are the same as "punch",
also do the same for Cimco
Steve
important settings:
serial speed - equal on CIMCO and OSP (it's satisfied, if You can transfer to one direction)
number of data bits:
OSP parameter #12 bit4 (=0 means 7bit ISO {equal to 7 bit JIS + parity bit} =1 means 8bit JIS)
that's enough for transfer.
Check these parameters also:
parameter #12:
bit 0 =0 means 2 stop bit (reccomended); =1 means 1 stop bit;
bit 1 =0 "ready" signal for RS232 available =1 not available;
bit 2 =0 no parity check =1 parity check carried out;
bit 3 =0 odd parity =1 even parity (reccomended);
bit 4 =0 means 8bit JIS;
bit 5 and bit 6 defines flow control, if You use three wires (two signal) cable. =00 for "iron" flow control, that means, CTS, RTS are used.
bit 7 =0 file name not read. helps if receiving (PIP>R file name) file name is different from that included into transmission.
NC optional parameter word:
#44 =0 output port CN0: (setting for lathe. For MC it is #45)
#54 =1 input port CN0: (setting for lathe. For MC it is #57)
this is actually a difference between read and punch. Ports could be controled separatelly.
good luck.
next time please post error message.
Last edited by Algirdas; 05-21-2009 at 02:57 PM.
Thank you both for getting back to me so quickly.
You have given me a few ideas on things i can try. I read over those other threads you recomended which has helped alot too.
There is no error message when i try and send to the control. Both the PC and Control just time out.
Our machine is very busy at the moment so i wont be able to play with it again untill the weekend. I'll post again when i have had another go and let you know how i went.
There is no error message when i try and send to the control. Both the PC and Control just time out
do You have time out error message or You just cancel communication because of timeout? waiting time is set into parameters:
NC optional parameter (word) parameter #23 "file read waiting timeout for channel 0 in DNC-B mode"
and
NC optional parameter (word) parameter #34 "ready completion waiting time for channel 0"
if You have these parameters around minute and You don't have any error message, must be port used is wrong.
Check selected port:
NC optional parameter (word) parameters #43, 44, 45 =0 [CN0: is selected port for output by default]
NC optional parameter (word) parameters #57 =1 [CN0: is selected port for input by default]
(this is for machining center, 54 instead of 57 is for lathe)