![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CamSoft Products Discuss Camsoft PC based CNC controller products here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#13
| |||
| |||
| 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 |
|
#15
| |||
| |||
| 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 |
| Sponsored Links |
|
#16
| |||
| |||
| 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 |
|
#17
| |||
| |||
| 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. |
|
#18
| |||
| |||
| 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) |
|
#19
| |||
| |||
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 |
|
#21
| |||
| |||
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 |
|
#22
| |||
| |||
| 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) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |