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! > Machine Controllers Software and Solutions > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-15-2004, 04:02 PM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road
I/O board problem

I have an interesting problem with my I/O board. The software is not updating the input relay status consistantly. The really interesting thing is that the io card interrupt appears to be working correctly, because the INPUTIO file is being executed on EVERY relay state change, but the actual relay status (1 or 0) is being updated less than half the time. I can see the INPUTIO file being run in the gcode window, but only occasionally is #67=1 or #67=0 shown. When it is shown in that window, the diagnostic screen updates as well. If is is not shown in that window, then the dianostic screen does not update (makes sense). The Opto 22 relay is always showing the correct state.

Searching the web, I found references to disabled "bus mastering" giving problems with digital IO. I have tried bus mastering both on and off, with exactly the same result.

The computer is an 800MHz P3 HP Kayak running Windows 2000 Professional, and the IO card is an Adlink PCI 7296. I used the Camsoft driver.

I wish I could free up another computer to try this setup on.

Any insights would be GREATLY appreciated!
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 10-15-2004, 04:49 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

I assume you to mean the actual output is occuring when it should, but the monitoring is not occuring at the same time?
If this is what you are seeing, It is normal, even with most CNC and PLC manufacturers that the monitoring lags the closer to real-time I/O function, This is because the status software often does not attempt to run in real time, or close to it.
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-15-2004, 04:53 PM
 
Join Date: Apr 2003
Location: United States
Posts: 267
camsoft is on a distinguished road

squarewave,

This sounds like a very unique problem. When asking the others here, no one can recall a situation quite like you described. We also haven't heard of "bus mastering" before. So far we haven't run across an effect like this to look back upon for previous advice. We have noted similar effects that are related to screen refresh rates in Windows NT,2000 and XP that simply don't light up the bulbs on the diagnostic screen cause they change state too fast, but the history is always written as the printing of I/O # numbers catches up on the screen.

It might be best to call here so we can interactively ask you to perform some test. Also a LOGFILE.FIL file would be nice to have to review the history of events. We need to know what version you are running and whom you originally purchased from to get them involved.

Tech Support
CamSoft Corp.
(951) 674-8100
support@camsoftcorp.com
www.cnccontrols.com
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 10-15-2004, 06:07 PM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road

Al -

Thanks. I should have said all of the outputs work fine. It is only the inputs I am having trouble with.

Camsoft -

Here is a snip of my Logfile:
>#69=1
(INPUTIO.FIL)
16:54:30
(INPUTIO.FIL)
16:54:33
(INPUTIO.FIL)
16:54:35
(INPUTIO.FIL)
16:54:38
(INPUTIO.FIL)
16:54:41
>#68=0
(INPUTIO.FIL)
16:54:44
>#68=1
(INPUTIO.FIL)
16:54:47
(INPUTIO.FIL)
16:54:49
>#67=1
>#68=0
(INPUTIO.FIL)
16:54:52
(INPUTIO.FIL)
16:54:55
(INPUTIO.FIL)
16:54:58
>#66=1
(INPUTIO.FIL)
16:55:00
>#66=0
(INPUTIO.FIL)
16:55:03
>#66=1
(INPUTIO.FIL)
16:55:06
>#66=0
(INPUTIO.FIL)
(INPUTIO.FIL)
16:55:08
(INPUTIO.FIL)
16:55:09
>#66=1
(INPUTIO.FIL)

It is easy for me to actuate any one of the limit switches on the toolchanger and still see the screen. The INPUTIO entries occur each time I either close or open a limit switch, but as you can see, only a few have a #66=0 or similar entry. I have also tried several different switches to make sure it was not an isolated channel.

My version number is 14.2.
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 10-26-2004, 05:18 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

Squarewave,

I have the same problem. When in diagnostic mode if I hit the output# for the tool load
solenoid, the tool moves from the magazine at the same time the logic is being displayed in the G code window the tool carriage reaches the load proximity switch and is NOT displayed on the I/O map. If at this time I hit a output#, say work light on, the I/O map updates to show this input now.

I am surprised Camsoft does not remember me and this complaint because I sure had it.

Darek
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-26-2004, 06:20 PM
 
Join Date: Apr 2003
Location: United States
Posts: 267
camsoft is on a distinguished road

We should point out that these are not the same I/O problems. One is not getting the hardware interrupt and the other is not refreshing the screen.

Squarewave is related to hardware,drivers or electrical as he has discuss with us directly.

HillyBilly is related to a simpler Windows issue covered by
QUESTION 222
We have noticed the virtual lights on the digital I/O panel do not always respond in real-time.

Tech Support
CamSoft Corp.
(951) 674-8100
support@camsoftcorp.com
www.cnccontrols.com
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 10-27-2004, 10:09 AM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road

Just to give an update to steps I have taken to fix the unrecognized input problem:

Did a fresh install of XP Pro on the same computer by removing the 2000 hard drive and wiping the replacement HD. Installed the Camsoft software from the Camsoft V14.2 CD. I installed NO other software - just XP and Camsoft. After installing the Camsoft drivers for the Galil and Adlink boards, I experienced the same problem.

I decided that maybe it was the PCI bus in the HP, so I "borrowed" my wife's computer, a Dell running XP Pro. This computer has never had any Galil or Adlink software installed. I installed the Camsoft software and hardware. Same problem.

Back to the original computer. I decided that it might somehow be the I/O card. I purchased a new Adlink PCI 7296, installed it, same problem.

I tried a different Opto22 interface board (I have old series optos installed, so I tried a G2 series) and different cabling. Same problem.

Camsoft believes this is a driver problem or a memory conflict problem, and I am working my way to believing it since I have systematically eliminated most of the potential hardware problems. But, why would a fresh install with no other software loaded have a driver/memory problem?

I/O on the Galil board (limit switches) seems to work fine, so this problem is isolated to the Adlink hardware/software. This problem makes most of the machine features useless, since my toolchanger and table indexing routines that all WAITUNTIL will hang.

PLEASE, can anyone think of anything else to try?
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 10-27-2004, 10:19 AM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road

HillBilly -

Thanks for sharing your experience. Does your logfile look similar to mine with regard to having INPUTIO entries without a #XX=0 or 1?

Its my understanding that if the #XX=0 or 1 doesn't show up in the logfile at the time the INPUTIO file is run, then the software has not recognized the new state of the relay, regardless of what the diagnostic screen shows. Is that true?
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 10-27-2004, 11:26 AM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,338
CNCadmin has disabled reputation
Buy me a Beer?

Did you try to do update Windows Update on-line? That is always and in most cases fixes problems relating to hardware/software issues. Can you load windows 98 or 2000 and try that?
__________________
Thank You,
Paul G
Site Owner-Webmaster-
Administrator
www.rfqwork.com
www.cnczone.com
www.welderzone.com
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 10-27-2004, 11:37 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

What kind of relays are these? What kind of relay operation is it: latched or momentary on-off-on? I assume these are just simple low voltage inputs to monitor the state of the machine?

I don't know much about the details of circuits, but is there a clean cut-off of the circuit when the relay operates, or is it too fast, or accompanied by a spike (no diode snubbers on it)?
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-27-2004, 12:12 PM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road

CNCadmin -

The original computer I tried was Win2K - it is pretty up to date, but the windows update is a good thought - I'll give it a try. The two WinXP installations were SP1. Camsoft has changed some drivers for SP2, so I thought it best not to go there.

I have been considering trying a WinME installation, since it is not NT based. I don't really want to, since I won't want that computer to stay WinME very long. My Camsoft CD has both 2000 and XP installations, so I feel like I should be able to get one to work.

Hu -

Yes, these are simple limit switches that stay on as long as the tool is considered up or down. There is a separate limit switch for each position. The Up switch goes off as the tool moves downward. When the tool is down, the Down switch activates. I used the original 24VDC lines that went to the original PLC and rewired them into the Opto22 board. The LEDs on the Opto board always reflect the correct status of the switches, which does not always match the last entry for that IO number in the logfile.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 10-27-2004, 01:00 PM
 
Join Date: Apr 2003
Location: United States
Posts: 267
camsoft is on a distinguished road

Squarewave,

These are serious problems and safety concerns.

After reviewing the files you sent to us a couple of weeks ago we can say that we never have we seen a problem like this before, nor can we even conceive how to duplicate it.

We truly understand that your very price conscious and you pieced together this system from E-bay and various web-sites. You're using a mixture of two old versions of the software that we can't trace back where they came from or guess on what affects this would have.

We would normally refer you to your dealer/installer to come over an investigate this on-site, but there was never a dealer assigned to you and you're not in our database as on official customer.

One clue is that we use our own I/O card assembly level written drivers that bypass Windows to talk to the card through the PCI bus directly. We inform others that have had purchased the cards directly from the manufacture that they must not allow AdLink or any other installation CD driver to be registered with Windows or installed. This results in Windows conflicts, usually displaying I/O Lib errors messages, but never has or should an I/O trigger and the system not catch it. This is at the root of some mixed or conflicting drivers or even a hardware problem that has no parameters or settings to configure. It either works or it doesn't. What bothers us most is that it is accepting the driver and working randomly with out error messages, so it is seeing the hardware interrupt sometimes, but skipping it other times.

This is all the more reason to keep your software version current with the various MicroSoft service packs and DLL upgrades that come out frequently. We have updated our software drivers over 20 times to match all the versions of Windows OS from Windows 95 to XP.

We strongly urge you to become a CamSoft customer and get a registered copy of the latest software. We will even offer to take the computer and other various hardware boards including the I/O board and set it up for you free of charge. We will send the system back to you fully functional with one year of direct free tech support and free software updates.

If you accept this offer, we can transfer the license into your name and do this for only a expired maintenance fee, rather than buying the software as a new customer. This is only a fraction of the cost and we will log you in the database as if you were always a customer of CamSoft.


Tech Support
CamSoft Corp.
(951) 674-8100
support@camsoftcorp.com
www.cnccontrols.com
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
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 LC-20 Threading problem Gunner Machine Problems, Solutions , Wireless DNC, serial port 13 12-13-2011 11:11 PM
Beginner Troubleshooting and Building Considerations coherent FAQ of CNC Machine building 3 11-10-2011 02:27 PM
New board help requested pminmo Open Source Controller Boards 32 09-30-2008 06:10 AM
Programmable CNC I/O expansion psevin Product Announcements & Manufacturer News 0 03-04-2004 12:49 PM
Programmable CNC I/O expansion psevin Product Announcements & Manufacturer News 0 03-03-2004 01:13 PM




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