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
  #13   Ban this user!
Old 05-23-2005, 08:08 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

The following codes are snipets from my text file program and the code(s) work perfectly so I know the syntax is fine. The file name is Program1Test.RUN

!IF \70=0 THEN JUMP LINE000
!IF \70=1 THEN JUMP LINE100
!IF \70=2 THEN JUMP LINE200
!IF \70=3 THEN JUMP LINE300
!IF \70=4 THEN JUMP LINE400
!IF \70=5 THEN JUMP LINE500
!IF \70=6 THEN JUMP LINE600
!IF \70=7 THEN JUMP LINE700
!IF \70=8 THEN JUMP LINE800
!IF \70=9 THEN JUMP LINE900
!IF \70=10 THEN JUMP LINE1000
!IF \70=11 THEN JUMP LINE1100
!IF \70=12 THEN JUMP LINE1200
!EOP

LINE000
!IF \81<>0 THEN EOP
!\171=5 :\151=30
!IF \6=0 THEN EOP
!\51=\50
![GetLoad]
LINE050
!IF \1=1 THEN \6=0 :EOP
![PutStage1] :EOP
!EOP
Reply With Quote

  #14   Ban this user!
Old 05-23-2005, 09:14 PM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road

Thanks for the offer to help. How do you know the codes work? Is your machine up?

I tried using JUMP in a conditional IF THEN statement linked to the state of an input and....

Nuthin.

Machine just went right past.
Reply With Quote

  #15   Ban this user!
Old 05-23-2005, 10:56 PM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road

I can get logic commands to work if I bury them in an M Code in MCODE.FIL:

!MESSAGE Waiting for BandSaw Proving Switch
!WAITUNTIL #21=1
-----M51

and then

N1 G1 Y0.0 F20.
N2 M51
N3 Y10.0

but I can't just put them out in the open as:
N1 G1 zippidee doodah
N2 yadda yadda
!WAITUNTIL #21=1
N3 and continue

I can't even get Logic Commands to work at all. Just a simple

!MACHGO 0;10;0;0;0;0
does nothing

Whatever
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 05-23-2005, 11:09 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Are you in Design mode???

My software calls it CARD = DEMO

When I want to make things happen for real, I make it CARD = GALIL

Also, are your axis all set up correctly??

Sounds to me like this might be something in your setup.exe program maybe???

If not, we can go back to syntax checking and stuff but it seems like you would have gotten something to work by now if there wasn't an un-checked roadblock stopping you that you don't know about.

The commands are not that hard and I have to figure that you have experimented with several versions of the same simple code.. Therefor, lets look for something else that could be wrong..

Hmmm.

Murphy
Reply With Quote

  #17   Ban this user!
Old 05-24-2005, 12:35 AM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road

My machine is running G code motion in six axis, but I'm just getting to all the other features.
I'm used to another application where I can write goto or wait#xx directly in a line of code without having to define it as required in camsoft.

There is a line in the camsoft manual "Logic routines can be written into any of the Logic Control files and there are examples provided...in the "Logic Control Files" section of this manual."

In CNCLite, you can't access the separate commands or a series of logic commcands by placing them into a .job file, they need to be put into an appropriate .fil file first.

I thought I would be able to mix and match Gxx positions and the logic commands in a .job file. Not so.
Reply With Quote

  #18   Ban this user!
Old 05-24-2005, 10:04 AM
 
Join Date: Apr 2003
Location: United States
Posts: 279
camsoft is on a distinguished road

Keith,

There are differences between the package you have and what murphy is using.

Think of CNC Lite as a G code interpreter while the Graphical Operator Interface is for all types of factory automation. In murphy's package commands such as JUMP, WAITUNTIL STOP and MACHGO work right from a user file, while in a CNC package these commands only work internally. A user of CNC Lite writes in G code instead and can create and/or modify his/her G & M codes to access these logic commands.

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

  #19   Ban this user!
Old 05-24-2005, 11:05 AM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Originally Posted by camsoft
Keith,

There are differences between the package you have and what murphy is using.

Think of CNC Lite as a G code interpreter while the Graphical Operator Interface is for all types of factory automation. In murphy's package commands such as JUMP, WAITUNTIL STOP and MACHGO work right from a user file, while in a CNC package these commands only work internally. A user of CNC Lite writes in G code instead and can create and/or modify his/her G & M codes to access these logic commands.

support@camsoftcorp.com
From Camsofts statement, it almost sounds as if my package is more flexible and configurable but it will not run CNC G-codes.. Where as, the CNC light package seems to be pre-set to run a CNC machine but is not capable of doing the things the Graphical OI (my package) can do because of the restraints of running CNC G-code...

I am even confusing myself on this one...
I wonder if Camsoft would be willing to send me a CNC Light package for free so I could figure out the differences??
I guess I have a better chance at catching a metorite... LOL

I will say this, at first, I thought my Camsoft package was a purchase mistake I made.. Once I figured out how it works, I would not trade it for anything...
For my purposes, the secret to figuring it all out was to completely scrap all code examples and start from a blank screen and empty code files..

If there is anything else I can do to help you, feel free to write me.... I got allot of help from this forum and am anxious to pay it back (sort-to-speak)..

Murphy
Reply With Quote

  #20   Ban this user!
Old 05-24-2005, 02:47 PM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road

Thanks, I finally get it. Now I just need to decide how to call the logic commands; using I/O state changes with IF/THEN, (IF #21=1 THEN GOTO:START) or from the code with G & M code
Reply With Quote

Sponsored Links
  #21   Ban this user!
Old 05-24-2005, 02:55 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Originally Posted by keithorr
Thanks, I finally get it. Now I just need to decide how to call the logic commands; using I/O state changes with IF/THEN, (IF #21=1 THEN GOTO:START) or from the code with G & M code
Great!!

You can check the state of an I/O from any code (as your code shows), but in order to respond to change in the state (going from 1 to 0), the code needs to be in the INPUTIO.FIL if you have one of these.. ????

In other words.. If you need the machine to burp when it hits a limit switch, the code for that burp will need to be in the INPUTIO.FIL.
If you just want to check the state of the limit switch and burp if its a 1 (true) then this code could be put anywhere..

Glad you figured it out... Does it make more sense now?

Murphy
Reply With Quote

  #22   Ban this user!
Old 05-24-2005, 02:58 PM
 
Join Date: Apr 2003
Location: United States
Posts: 279
camsoft is on a distinguished road

Keith,

We may be able to send you new manuals and the latest version.

If you can call in the front office here and let them know who you are and what package you have, it may be possible to speak directly to a tech staff member.

The questions you have are fairly basic easily answered with live support.

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)
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
Programming PLC on Fanuc 0M MetLHead Machine Problems, Solutions , Wireless DNC, serial port 19 06-27-2011 06:47 PM
Gsoft Online CNC Programming Tool tslawnyk Product Announcements & Manufacturer News 5 12-07-2007 07:18 AM
Mazak C axis programming dpinson General Metal Working Machines 1 07-02-2005 03:06 PM
API Programming Anyone Al_The_Man Computers and Networking 3 02-14-2005 08:31 PM
Conversational CNC Programming BlueChip Product Announcements & Manufacturer News 0 07-24-2004 01:37 PM




All times are GMT -5. The time now is 01:31 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 354 355 356 357 358 359 360 361