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 03-31-2005, 12:03 AM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
Operator Interface Blues...

Does anyone have any suggestions on designing the operator interface that Camsoft uses?

Let me clarify what I mean.... (I am a newbie)
I never liked the camsoft interface for programing the macro's and Mcodes. I find it MUCH MUCH easier to just edit the .fil files directly with a text editor as opposed to the drag and drop interface camsoft has in the setup.exe program. (To this day I have not figured that out)

Now that most of my code is complete and all the functions I need are in place, I need to find a way display and control these functions within the user interface. My machine is not a typical CNC center, but more of a set of processes with many supporting systems and functions that the user(s) need to be able to select and control.

The act of programming a control, making it not look stupid on the screen, and testing its functionality is taking forever!!!!
Having to start the program and end the program everytime I make a simple little change is very time consuming.

Any suggestions??? I dont hear much talk about this issue in the forums.

Also, Why do I get a "ListSetup Not Valid While Moving" error everytime I start the interface in normal mode? (I dont get this error when I open in demo mode). I have a listsetup command in my startup.fil I inserted the command !COMMAND MO at the begining of the startup.fil but it made no difference.. I still get the error.

THanks,
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 03-31-2005, 11:17 AM
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 33
Bob Pierre is on a distinguished road
murphy

I thought I should write because the way your doing it now by going back and forth is too hard. The trick is the right mouse button. Now that I know the commands I also edit the .FIL files directly, but only for logic customizing never for changing the operator screens.

I find that creating my own screens are enjoyable. I even made some up for fun. My screens are for CNC and the product your using is for general factory automation which I hear is the same but with out the G code and the other CNC functions.

I think camsofts ability to create your own operator interfaces are the greatest thing ever. They are way ahead of the pack. I taught my self by reading the book and starting with default templates on their CD. My advice is that you should study whats there now, use the right mouse button to drag the bitmaps around the screen until they are in position rather than edit pixel values in an editor one at a time. This will write and update the files for you automatically. If you also just hold down the right mouse button with out clicking on an object and move it around it will show you the pixel values in a yellow balloon box just incase you wanted to write them down. You'll find a huge library of bitmapped control objects in the BMPWAV folder that are far more than bitmaps they are fully working buttons, light bulbs, knobs, needle gauges, slider bars, readout, question boxes and so on.

The message you get from LISTSETUP during startup is probably because the encoders are still sensing movements even though you turned the motor off so it can't move the encoders are still sending pulses.

Bob
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 03-31-2005, 03:44 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
Thanks for the reply Bob,

I understand the part where you can drag the controls around the screen.. That was easy enough to figure out when the control would not leave my curser alone!

It seems to me that the ONLY thing you can do with the GUI is move a control from point A to point B.. There seems to be no other design changes you can make other than moving the controls around.. For everything else, you have to exit the GUI, make changes and re-start it.. Or am I missing something?

Thanks,
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 03-31-2005, 04:14 PM
 
Join Date: Mar 2004
Location: United States
Posts: 36
intrusion is on a distinguished road
Cool

Actually Bob Pierre is absolutly correct in his statements. I strongly agree
The CamSoft interface can be made to look really cool if you use your imagination. You can create your own bitmapped images for buttons and back ground skins. You can change the color of the Readouts and G-code display window. These are also sizable and positionable through the Design Operator Interface section.

In the design interface section you can define up to 20 user buttons and either use their default button or add your own .BMP image in place of the button. There is a button command that's used in logic to update buttons on screen to give them a pushed in/out look. I thought that having only 20 buttons was a limitation until they told me that I can have as many buttons on screen as I want, I just have to be creative and use the BUTTON command in logic to redefine all the buttons on screen and give then a different bitmap image. I can have pages and pages of buttons and all with different functionality. I mean that I can have a Setup menu, Cycle menu, Help menu, Diagnostics menu and the list goes on.

The ability to create my own cnc screen was the reason I went with CamSoft in the first place. I think that CamSoft did a pretty good job all in all.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 03-31-2005, 04:48 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
Ok.. Well.. now that 2 people have responded and told me the same thing, I have to assume at this point that I just have not got the hang of it yet...

But I'm working on it!

I put in a multi-function knob and am working on coding it.. but I have another question..
Where do I put the code for it??? Should this be in the timer.fil? or located in the Mcodes? In other words, were does the code go to check the position of it? The only place I can see is in my timer.fil..
I understand that when I code a button and the user presses that button, it executes whatever Mcode I put in for it.. (that much I got)...

Am I on the right track?? Sooner or later I will get that paradigm shift and figure it out..

Thanks for all the help...
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-31-2005, 05:12 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
Oh.. I got it..
I have my multifunction knob set to variable 17 and figured out it changes by itself when you change the knob position.. I dont need "SET" the variable, it sets itself.

Thanks,
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 03-31-2005, 05:44 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
Originally Posted by intrusion
Actually Bob Pierre is absolutly correct in his statements. I strongly agree
The CamSoft interface can be made to look really cool if you use your imagination. You can create your own bitmapped images for buttons and back ground skins. You can change the color of the Readouts and G-code display window. These are also sizable and positionable through the Design Operator Interface section.
Ok.. Now see this is exactly what I was talking about.. I just spent 20 minutes getting my axis readout display in the correct place..
Left = 7100 <<Not enough left.. Exit and go back into the setup.exe.. Change to Left = 7200. Start the GUI again.. Ooops.. not enough.. Exit the GUI.. Back into the Setup.exe.. Change to Left=8000.. Start up the GUI again.. Oops.. To much.. Exit the program, Bla bla bla bla...
And as soon as I change screens because I took it home to work on it, it wont be the same and I"ll have to spend another 20 minutes putting that readout display in the upper right corner again... (Ok.. I understand why and that the program wasnt designed to be tranfered back and forth between computer systems with different screen resolutions so I wont say much more about that.. ) BUT, why is it the display windows cant be dragged and re-sized on the fly like every other windows application I have??

Im getting the hang of it slowly.. Also, please understand that as far as CNC interfaces go, I have nothing to compare the camsoft to but other windows programs... Camsoft could be the Sliced Bread of CNC controls and I wouldnt know it because of a lack of reference.

Any other tips for designing??

One thing I have figured out.... where Camsoft falls short, this forum makes up for it.
I wonder why Camsoft does not mention this forum in the user manual for there software?? This place is a great resource for newbies like me...

And another thing, Why is it that the header for the Macros [[Macro1]] is above the code and the header for the Mcodes -----M13 is below the code?? And what is the ----- part of the mcode header for? Is it required as the [[ and ]] in the macro headers?

Ok.. lots of questions but this is more fun then diagnosing encoder / resolver signals.. LOL

Thanks!
Murphy

Last edited by murphy625; 03-31-2005 at 06:05 PM. Reason: 1 more question..
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 03-31-2005, 06:21 PM
 
Join Date: Mar 2004
Location: United States
Posts: 36
intrusion is on a distinguished road
Cool

I think that you may have missed the comment by Bob Pierre when he mentioned that you can right click on the screen and a yellow window pops up and shows you the pixel coordinates that you can use to quickly see the exact values or the values that are close to where you want to position the control.

Yes I understand that opening and closing the control for every pixel change is a bit daunting, however it's a simple matter once you get used to it. Also there are only three controls on the screen that this has to be done to, the Main screen background (If you change the default settings, normally you do not), the G-code display and the Axis readouts, all other controls can be dragged and positioned with the right mouse button. Learning the little shortcuts makes things go faster.

Good job on the multi-function knob variable.

Yes I agree that this is a great fourm and should be encouraged, however I believe we can not expect every vendor, manufacurer or manual to tells us every detail. I have read many books on CNC Programming and Computer Programming and not one of them can tell me all there is to know about programming either.

Last edited by intrusion; 03-31-2005 at 06:30 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 03-31-2005, 06:37 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
Originally Posted by intrusion
I think that you may have missed the comment by Bob Pierre when he mentioned that you can right click on the screen and a yellow window pops up and shows you the pixel coordinates that you can use to quickly see the exact values or the values that are close to where you want to position the control.

Yes I understand that opening and closing the control for every pixel change is a bit daunting, however it's a simple matter once you get used to it. Also there are only three controls on the screen that this has to be done to, the Main screen background (If you change the default settings, normally you do not), the G-code display and the Axis readouts, all other controls can be dragged and positioned with the right mouse button. Learning the little shortcuts makes things go faster.
I did not miss Bob's comment.. My brain buffer was full and it didnt register..
Are you kidding?? If you only knew how many times I go back to the same threads I create and re-read the information I was given..

Those little shortcuts are starting to become apparent and useful.

I just have to get used to it.. When I finally get it right, I'll post some screen shots to show everyone.. I think I know what I am going to be doing for the next week..

Does anyone have an example of writing to a text file and getting information back from it ?? FILEWRITE, FILEREAD etc. etc.? I am having some difficulty figuring out the syntax an command order to use this feature.

What i am doing is learning all the functions first so I have a complete "tool box" to work with.

Thanks again for all the help...
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 03-31-2005, 07:04 PM
 
Join Date: Mar 2004
Location: United States
Posts: 36
intrusion is on a distinguished road
Thumbs up

Here is a real quick example. Keep in mind that this code is for CNC Professional Software. I understand you have a different version, so best to check your CamSoft manual for proper syntax and command usage.

QUESTION ENTER IN THE PART NAME;\55;Default Answer
FILEOPEN READ;C!/AS3000/TEMP/TEXTFILE.DAT
:LOOP
EOF \56
IF\56=1THEN FILECLOSE READ:EXIT
FILEREAD \1
IF\1<>\55 THEN GOTO :LOOP
IF\1=\55 THEN GOTO :GOTIT
EXIT
:GOTIT
' Read some more stuff in and store to variables
FILEREAD \2
FILEREAD \3
FILEREAD \4
FILECLOSE READ
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-31-2005, 07:11 PM
 
Join Date: Mar 2004
Location: United States
Posts: 36
intrusion is on a distinguished road
Talking

Here is a more complex example, again this is for CNC Professional.
I know CamSoft has many standard offsets to use that are great, I just wanted to build something of my own and see if it would work. Works Great !

FILEOPEN READ;C!/AS3000/OFFSETTABLE.DAT
:READ_LINE
FILEREAD \55
IF\55=!THEN MESSAGE AT END OF FILE:FILECLOSE READ:EXIT

\299=1
INSTR \55;|;\101
MIDSTR \55;1;{\101-1};\102
IF\102=\99 THEN GOTO :CONSTRUCT_OFFSET
GOTO :READ_LINE

:CONSTRUCT_OFFSET
ARRAY SAVE;\299;\102
MIDSTR \55;{\101+1};999;\102

:LOOP
INSTR \102;|;\103
IF\103>0THEN GOTO :MORE
\299={\299+1}
ARRAY SAVE;\299;\102

'Read values from Array, Set offset and activate it.
ARRAY READ;1;\1 'E#
ARRAY READ;2;\2 'X-value
ARRAY READ;3;\3 'Y-value
ARRAY READ;4;\4 'Z-value
ARRAY READ;5;\5 'A-value
OFFSET 1;\2;\3;\4;\5 'Store offset in tool table
OFFSET 1 'Activate offset
EXIT

:MORE
MIDSTR \102;1;{\103-1};\101
MIDSTR \102;{\103+1};999;\102
\299={\299+1}
ARRAY SAVE;\299;\101
GOTO :LOOP
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 03-31-2005, 08:07 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
YIKES!!!!!

That's gonna take a bit to figure out....


Murphy
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





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