CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > MetalWorking Machines > Okuma


Okuma Discuss Okuma machines here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-30-2007, 02:04 PM
 
Join Date: Oct 2007
Location: USA
Posts: 6
Davidhaag is on a distinguished road
Okuma OSP500L-G rs232 program load problems

We have just aquired an Okuma OSP500L-G lathe and I am trying to download a program from a laptop. I can receive programs from the lathe to the laptop just fine but can't get the lathe to accept the program from the laptop.
To download from the lathe, in PIP mode I push the "punch" hot key and type in "CN0:filename.min;I" and then the "write" button, this works fine.
But when I try to upload from the laptop, in PIP mode I push the "read" hot key and type in "CN0:filename.min;I" and then the "write" button, the screen in the lathe says "program file=filename.min" and just sits there.
Is there something missing in the posted program? Or do I have something incorrect? I have the $ at the beginning before the O-word with a % after it and before the body of the program and a % at the end of the program.
Or could my handshake be wrong in such a way that I can download from the lathe but not upload?
Should I be using Xon-Xoff software data flow or RTS or DTR hardware data flow?
Any input would be a GREAT help
Thanks, Dave
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 10-30-2007, 02:18 PM
 
Join Date: Oct 2007
Location: Texas USA
Posts: 24
Jim-MFGNetworks is on a distinguished road

What year is the machine? green text on the control? you could try PIP read CN0: no file name what do you get?
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-30-2007, 02:28 PM
phx phx is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 76
phx is on a distinguished road

hi
i made it by the folloing settings:
Baudrate 2400
Parity :Even
Databits: 7
Stopbits: 1
Cts RTS,
but i dont use cno: i use tt:
did your software use remote?
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 10-30-2007, 02:33 PM
 
Join Date: Oct 2007
Location: Texas USA
Posts: 24
Jim-MFGNetworks is on a distinguished road

TT: also works depending on the year CTS&RTS are not always on pin 4&5
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-30-2007, 02:35 PM
 
Join Date: Oct 2007
Location: USA
Posts: 6
Davidhaag is on a distinguished road
Lb15

Jim,
The machine is an LB15 built in 1988. It has a colored screen.
When I try CN0: and read it does the same thing.

Phx,
I'll try the RTS data flow control and see what happens.
Then I'll write back and tell what I get.

Thanks
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-30-2007, 02:36 PM
 
Join Date: Oct 2007
Location: USA
Posts: 6
Davidhaag is on a distinguished road

This machine doesn't like TT for some reason.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 10-30-2007, 02:42 PM
 
Join Date: Oct 2007
Location: Texas USA
Posts: 24
Jim-MFGNetworks is on a distinguished road

When you punch to the PC does the data look good any extra lines or funny looking data?
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 10-30-2007, 03:01 PM
 
Join Date: Oct 2007
Location: Texas USA
Posts: 24
Jim-MFGNetworks is on a distinguished road

And good thing it's not a green screen I have had lots of RS232 issues with them.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 10-30-2007, 03:17 PM
 
Join Date: Oct 2007
Location: USA
Posts: 6
Davidhaag is on a distinguished road
Data is fine

Jim,
Yes when I punch to the PC, everything looks fine....no extra, lost , or changed data.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-30-2007, 04:20 PM
 
Join Date: Oct 2007
Location: USA
Posts: 6
Davidhaag is on a distinguished road
flow control

The laptop will accept the download from the Okuma any way I set it, no flow control, Xon-Xoff, or the RTS,CTS.
The Okuma will not accept anything from the laptop no matter the settings.
Does anyone know the type of data flow control I should be using for this machine?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-30-2007, 05:06 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

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.

.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 11-12-2007, 11:19 AM
 
Join Date: Sep 2007
Location: USA
Age: 54
Posts: 42
beartrax is on a distinguished road

We have a LB15 that we sende and recieve programs all the time. We don't give program names at the time we punch the "read" button, the lathe software will read it in the program. Our settings are:
Baur rate: 1200
Stop bits: 2
Databits: 7
Parity: even
Flow control: software

We use a DNC software, but you can do this thru Windows Hyperterminal.
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Okuma OSP500L program repeat? mp- Okuma 11 11-13-2007 08:17 AM
okuma osp500l-g with sub-spindle pp-TG Okuma 1 08-30-2007 09:54 AM
Okuma OSP100E RS232 Bulletin Edster Okuma 4 07-09-2007 09:14 AM
okuma OSP500L-G Control with sub-spindle pp-TG General CNC (Mill and Lathe) Control Software (NC) 0 06-18-2007 06:20 PM
Okuma OSP100E RS232 Communication Problem Edster Machine Problems, Solutions , Wireless DNC, serial port 6 03-20-2007 07:57 PM




All times are GMT -5. The time now is 02:50 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353