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! > Electronics > Computers and Networking


Computers and Networking Discuss computer and Networking related questions here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-24-2011, 07:23 AM
J S Machine's Avatar  
Join Date: Mar 2011
Location: USA
Posts: 28
J S Machine is on a distinguished road
Going to hook up a network/serial line to send programs directly to machine from pc

We recently got an old dinosaur of a machine in our shop, a Hitachi EDM wire machine..1988 model I believe, and I have to get it hooked up. It came from one of our sister plants. I know that it was hooked up with a network line or serial line (not sure what you call this). It looks like the cord that runs to a printer, plug is about 2" long and 5/16" wide.

At the other plant where it was hooked up before, they had it set up coming out of the pc and going into a type of channel selector box. This box has A, B,C,D on the front with a switch, and the corresponding ports on the back coming out. At one time, they had two machines, so I think this is why they used this selector box. We now have just this one machine, so I don't really see the need to even use this box. Is that correct?

Basically, I need to run the network line directly from my pc to the edm machine (I think) in order to be able to communicate with it. Problem though is that I use my port like this on my pc. I have a printer that still uses this type of connection. I assume that a USB cord could be used for the printer in place of the cord that looks like a serial line, but I'm not sure.

If I have to keep the printer hooked up this way, I think I may need some sort of pigtail or dual outlet type cable. This way, one line will come out of the pc and split into two, one for the printer and one for the communication line going to the edm. Not sure if it knows how to distinguish between the two, or if this is where I need to maybe deploy the switch selector box. For instance the line would come out of my pc and go to the box..channel A would be the printer and channel b could be the network line... What should I do here?

Last but not least, my pc is windows 7. Is there any conflict here? I see another thread right here on the main page where someone is having issues with com ports or something.

I'm programming with Mcam X5.
Reply With Quote

  #2  
Old 05-24-2011, 09:26 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

The box sounds like it was one of the old parallel port selector boxes used instead for switching RS232 serial lines.
If you have a 25pin D connector on the box or the machine, you need a 25p to 9 pin RS232 serial cable, you do not use a printer port, but need a PC with a 9 pin RS232 socket.
This is a PDF for a Fanuc, but most likely the hardware part will work with what you have.
You need to find out, however the RS232 protocol presently used by the machine, baud rate etc.
Al.
Attached Files
File Type: pdf fanuc-0m.pdf‎ (18.9 KB, 20 views)
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 05-24-2011, 09:28 AM
J S Machine's Avatar  
Join Date: Mar 2011
Location: USA
Posts: 28
J S Machine is on a distinguished road

So the printer port and the cable that I have going to the CNC are two different things?

Ok..see edit here-

The cable coming from the switch selector box has a plug like the parallel or what I am calling a network / serial line. On that plug there is an adapter which looks like a vga. It is male, so I assume it would go into the back of the computer into a female socket.
Reply With Quote

  #4  
Old 05-24-2011, 09:30 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

If it is RS232 (most likely), then a printer port will not work.
CNC machines are typically fitted with the older 25p serial ports which look like printer ports but the connector is male instead of female.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #5   Ban this user!
Old 05-24-2011, 09:48 AM
J S Machine's Avatar  
Join Date: Mar 2011
Location: USA
Posts: 28
J S Machine is on a distinguished road

The socket coming out of the cnc is a male 25 pin

The sockets coming out of the switch selector box are male 25 pin.

The cable going in between the selector box and pc is female 25 pin (to connect to the male 25 pin on the selector box) and male on the other end. Attached to this point is another 25 pin connection which is female and its end is a blue colored 9 pin male plug. This would be what they had going into the pc.

The communication line that runs between the cnc and selector box has a female 25 pin plug on each end.

Maybe that explains it a tad better.
Reply With Quote

Sponsored Links
  #6  
Old 05-24-2011, 09:57 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

If you look at the Fanuc PDF I posted, the typical cable types are shown, personally I use the 25p to 9 pin with the hardware handshake pins jumpered, i.e. the 3 wire cable.
This works in 99% of cases.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #7   Ban this user!
Old 05-24-2011, 10:19 AM
J S Machine's Avatar  
Join Date: Mar 2011
Location: USA
Posts: 28
J S Machine is on a distinguished road

well I guess what I am asking is if I even need to use the box? If I have no need to switch between two machines.. Couldn't I just take the pigtail that turns my 25 pin into a 9 pin and connect it directly to the communication cable 25 pin end?
Reply With Quote

  #8  
Old 05-24-2011, 10:40 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

You do not need to use the box if it was just used for switching in a particular machine, just cable direct from the machine to PC.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #9   Ban this user!
Old 05-24-2011, 10:45 AM
J S Machine's Avatar  
Join Date: Mar 2011
Location: USA
Posts: 28
J S Machine is on a distinguished road

Ok. I appreciate it. I wouldn't think there would be any type of jumper wires or any of that stuff you had mentioned previously in a simple switch box. Maybe I can run direct from pc to machine.

Do any of the concerns about my pc being windows 7 apply to me?
Reply With Quote

  #10  
Old 05-24-2011, 10:51 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

I have never used 7, but you may run into a problem with some of the Modem programs that are used as a terminal on the PC, Some used Win Hyperterminal on XP and before, but I find it a PIA, not sure it it comes with 7.
You could check out Cadem Lite and see if that runs on 7.
It is a nice free terminal program.
I have a similar 4 way box and the plugs/sockets are straight through.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
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
Need Help!- How to send programs to mazak t-32 from Mastercam CNC MILL GUY Mastercam 1 12-10-2010 09:54 PM
Need Help!- Fanuc 18M Controller won't send programs!! bkupper23 General CNC (Mill and Lathe) Control Software (NC) 2 03-23-2010 07:38 PM
Make setup sheets directly from your CNC programs and print them in Excel ZedB General CNC (Mill and Lathe) Control Software (NC) 7 04-08-2009 05:21 PM
cat 5 network hook-up for DNC ???????? krfrea Computers and Networking 3 10-15-2007 07:53 AM
How do I send/receive NC Programs on Mitsubishi FX EDM barnescomputer CNC Plasma and Waterjet Machines 3 06-15-2007 03:30 PM




All times are GMT -5. The time now is 09:58 AM.





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 354 355 356 357 358 359 360 361