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 07-08-2007, 11:30 AM
 
Join Date: Oct 2003
Location: USA
Age: 36
Posts: 491
Edster is on a distinguished road
Okuma OSP100E RS232 Bulletin

I was having trouble with the RS232 Communications on my Okuma MCV-4020. This Bulletin helped a lot. There are differences between the settings we normally use and the JIS (Japanese Industrial Standard). I thought I'd post it here if anyone else needs it.

http://www.ewwenterpriseinc.com/files/E100.pdf
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-08-2007, 10:07 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road
070708-1943 EST USA

Ed:

That is a real mess compared to HAAS as I believe you know.

There is considerable information that is lacking in the application bulletin.

First, there are no discussions of why or the effects of certain actions.

For a long time there have been UARTs that internally in the UART generate and process parity. Most systems use this function at both ends.

It appears that Okuma has choosen to generate parity external to the UART. This might be because they want to carry the RS232 received parity bit into their machine memory. Similarly send a parity bit that came from their program memory.

How do I conclude this:

At the CNC stop bits are set to 2, RS232 parity is off (my conclusion from NON, but confirmed by the PC settings), character length 8 bits.

At the PC the settings are 2 stop bits, 7 data bits, and even parity.

Since the computer is set to even parity and 7 data bits this means the 8th bit sent or received is the even parity bit. The two stop bits follow the 8th bit. Since the 8th bit is a data bit at the CNC it is most probably passed into main memory.

This is not a bad idea because it provides more assurance that the transferred data is correct.

What is needed is a statement of what is being done so that one understands the disparity of the settings at the computer and CNC. Normally the general rule is that the UART settings are the same at both the CNC and computer.

There is no discussion of the communication program and its requirements at the computer. Since the procedure to send a file from the CNC to computer includes the sequence --- 5, 6, 7 --- it appears that 5 (punch) does not actually start the send operation, but rather 7 (OK) is the start function. With this sequence you do 5, then walk to the computer and put it in receive mode, walk back to the CNC and push OK to initiate send. If this is the case, then why not put the computer in receive as step 0, and delete step 6, and reduce walking. What useful function does step 7 serve?

If step 5 was the actual initiator and step 6 was still the start receive function, then other means are needed to prevent sending until the receiver is ready to receive. For example an XON from the computer to tell the CNC to start sending. This means that this protocol has to be in the CNC.

There is no discussion on how to change the baud rate at the CNC or its limitations.

There is no discussion on why 2 stop bits instead of 1. One stop bit would improve thruput by about 10%. And at the very slow rate of 4800 baud this would be helpful.

What is the function and purpose of the parameter READY WAITING TIME?

No definition of DC code and handshake protocol.

No discussion of any timeouts, and if any why.

The various parameters need definitions.

When receiving a file at the CNC is there any reason that requires the entered filename at the CNC to be exactly the same as the filename at the computer? I assume the only reason is to avoid confusion. Why does one have to go to that trouble vs just using an O-nuimber or an embedded name in the file following the %? Note, normally communication programs do not embed the computer filename in the data stream sent.

What are the limitations and structure of the entered filename? Is it limited to the DOS 8.3 format? Or is almost anything allowed?

Do the persons developing these systems ever really work on the machines such that they would experience the difficulties of their design?

.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-08-2007, 10:36 PM
Jarwalcot's Avatar  
Join Date: Jun 2005
Location: USA
Age: 46
Posts: 184
Jarwalcot is on a distinguished road
Okuma RS232

See if this helps... See attached.
Attached Files
File Type: pdf E100 RS232C.pdf‎ (169.4 KB, 287 views)
__________________
JR Walcott
Georgia Machine Tool Resources, LLC
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-09-2007, 07:39 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road
070709-0632 EST USA

Jarwalcot:

Really it does not answers my questions.

It is the same old --- do this, do that, and so on --- no definition of functions, effects, or limits.

Why is Okuma hung up on the slow 4800 baud? Etc.

.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-09-2007, 09:14 AM
 
Join Date: Oct 2003
Location: USA
Age: 36
Posts: 491
Edster is on a distinguished road
Communications are working great on the Okuma. Gar's Isolator is allowing 19,200Kbps speeds, the max speed of the machine.

It's funny when I was having problems the first thing the tech from Okuma said was the speed is too fast. I explained that I was using an optically isolated cable. He changed the speed to 4800 and said I bet this fixes it. Boy was he wrong

I don't know why they want a different file name. I'd rather it went off the O word to eliminate confusion. It might have something to do with the eithernet/data server option. Which I ended up getting installed on the machine. Okuma doesn't provide DNC operation in the standard machine configuration. It's a $4k option, the eithernet with data server was $6k. It's a no brainer considering the ultra slow 19,200kbps maximum speed, and the data server bumps up the machines small 512k memory with a hard drive that you can run the program off of. I haven't had a chance to figure it out yet though. The tech that installed it has no idea how it works, so I'm waiting for the application engineer to stop by and test out the tech's work

I can set the machine up to receive and then go to the office and send the file. I don't have to walk back and forth a bunch of times. If the file name is the same as a file in the control's memory when I get back to the machine it asks if the file should be overwritten, then continues with receiving the file.

I does seem like they are making a simple thing WAAAY more complicated than it shoud be. And a lot slower too The bulliten was a little different than my machine was, but it got me closer than anything before.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
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 Cadet-Mate RS232/Serial port use? brujo Okuma 1 06-21-2007 08:35 AM
Okuma OSP100E RS232 Communication Problem Edster Machine Problems, Solutions , Wireless DNC, serial port 6 03-20-2007 07:57 PM
RS232 Help Jerrytool Daewoo/Doosan 9 03-15-2007 06:51 PM
Okuma igf brtlatjgt Machine Problems, Solutions , Wireless DNC, serial port 1 02-25-2007 07:34 PM
USB to RS232? Klox Computers and Networking 7 11-29-2006 03:11 PM




All times are GMT -5. The time now is 12:09 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