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 > Carken Products (Deskam, DeskCNC etc)


Carken Products (Deskam, DeskCNC etc) Sub-Forums: Deskam, DeskCNC, DeskArt


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-05-2003, 03:54 AM
 
Join Date: Apr 2003
Posts: 12
peterpan is on a distinguished road
Question configuring post processors

Hi,

Just joined the list. Will like to ask my first question on configuring a post processor. Below is responses we need to input to create a postprocessor in Deskam. How does one use this dialogue box?

Hope someone can input an example of a working post processor to illustrate creation of a post processor.

GENERAL-
Name[ ]
File Extension[ ]
Comments:
Begin Comment Character[ ]
End Comment Character[ ]
[ ] Include Comments
Maximum Block Line Number [ ]

TOKENS
Token
()Xt(X Axis) ()Jt(Center Y) ()St(Speed)
()Xt(X Axis) ()Rt(Radius).. ()Tt(Tool)
()Xt(X Axis) ()Nt(ln Num).. ()Ct(Clearance)
()Xt(X Axis) ()Ft(Feed).... ()Misc1t

Token Defination
Variables
()None
()Sx ()Sa ()Cv Address
()Sy ()Ea ()Nv Label [ ]
()Sz ()Rad ()Fr Format
()Ex ()Cx ()Ss Decimal Places[ ]
()Ey ()Cy ()Tn [ ] Use'+'
()Ez ()li

MOVEMENT SCRIPT
Script
()Linear ()Arc CCW
()Rapid ()Drill
()Arc

Script Options
Command [ ]
()single Move
()Continuous

Tokens
()Xt(X Axis) ()Jt(Center Y) ()St(Speed)
()Xt(X Axis) ()Rt(Radius).. ()Tt(Tool)
()Xt(X Axis) ()Nt(ln Num).. ()Ct(Clearance)
()Xt(X Axis) ()Ft(Feed).... ()Misc1t

HEADER/FOOTER
Header
[ ]
Footer
[ ]


Best regards

Peter
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 04-05-2003, 10:17 AM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,338
CNCadmin has disabled reputation
Buy me a Beer?

Commands are broken down into 'Tokens'. A Token consists of an Address Label and a Value. The Token 'X2.5' begins with the Address of 'X' (in this case representing the X axis) and its value of 2.5. Tokens can begin with a space to make the output file more readable. All Tokens must be created before they can be used. To create a Token, select the Token you wish to create from the Tokens group and a variable.

Available Tokens are:
Xt for the X Position
Yt for the Y Position
Zt for the Z Position
It for the Arc Center X Position
Jt for the Arc Center Y Position
Rt for the Radius
Nt for the Line Number
Ft for the Feedrate
St for the Spindle Speed
Tt for Tool Change
Ct for tool clearance
Misct for any miscellaneous commands

Available variables are:
None

Sx for the Start Point X of a toolpath
Sy for the Start Point Y of a toolpath
Sz for the Start Point Z of a toolpath
Ex for the End Point X of a toolpath
Ey for the End Point Y of a toolpath
Ez for the End Point Z of a toolpath
Sa for the Start Angle of an Arc
Ea for the End Angle of an Arc
Rad for the Radius of an Arc
Cx for the Center X of an Arc
Cy for the Center Y of an Arc
Ix for the Incremental Center X of an Arc

Jx for the Incremental Center Y of an Arc
Cv for the Clearance Value
Nv for the Line Number Value
St for the Spindle Speed
Tn for the Tool Number

Enter the number of decimal places for this Token and whether it needs a '+' to denote positive numbers and press the Create button. An example of the newly created Token will be displayed at the bottom.
__________________
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

  #3  
Old 04-05-2003, 10:18 AM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,338
CNCadmin has disabled reputation
Buy me a Beer?

Movement Script
This is the script that defines how a command line will be formatted in the output file. It consists of adding a Command along with the previously defined Tokens. The typical G-Code line N100 G01 X2.5 Y3.6 Z 4.7 consists of a 'Line Number Token', Command 'G01', 'X Position Token', 'Y Position Token', and 'Z Position Token'. Movement Scripts can be either a single command line or a block of continuos commands as set by the 'Single Move' or 'Continuous' selection. A Modal Token will only be written to the output file if it is different from its previous value.

Movement Script Example:
Select 'Linear'.
Select 'Single Move'.
Enter 'G01' in the Command box.
Select the 'Nt' Token and press the Add button.
Press the Add Command button
Select the 'Xt' Token and press the Add button.
Select the 'Yt' Token and press the Add button.
Select the 'Zt' Token and press the Add button.
Select 'Ft' and press the Add Modal button.

As each button is pressed, an example of the formatted line is displayed at the bottom. The feedrate Token (Ft) is displayed in brackets to show that it will only be written if it differs from a previous value.

Header / Footer
Here you can add any miscellaneous start up or end commands that will be written to the output file. you can also add your own comments.

Save
Saves the Post Processor definition to a file so it can be used when saving toolpaths.

Delete
Deletes the Post Processor selected under 'Name'. You will be prompted for confirm.

Edit
__________________
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

  #4   Ban this user!
Old 04-06-2003, 09:07 PM
 
Join Date: Apr 2003
Posts: 12
peterpan is on a distinguished road

Paul wrote: "All Tokens must be created before they can be used. To create a Token, select the Token you wish to create from the Tokens group and a variable."

I think I got this: For every token we want, we need to select, then click [create]. Nothing seem to change? but something has gone into the memory? A message "created" or something would have been nice.

Regarding tokens M..:

M1t
M2t...m5t

I think this refers to M02 Program end, M03 start spindle clockwise, etc?

If it is, where is M06, etc? The choice only extend to M5t.

Managed to create a post processor TRIAL, but when I try to generate an NC program with it got a funny movement such as:

N10 G00 X0.0000 Y0.0000 Z5.0000
N20 X-2.1233 Y-4.2109 X-2.1233 Y-4.2109

With multiple movements on the same block. What could be the possible cause.

Many thanks Paul

Peter
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 04-07-2003, 11:31 AM
 
Join Date: Apr 2003
Location: United States
Posts: 1
Carken is on a distinguished road

Hi Peter,

The tokens 'M' are Miscellaneous and not specific M Codes. For M03, enter ' M03' for the label and 0 fror decimal places. Save as any Misc Token. M02 is best put in the Footer after any other safety blocks are added.

For each type of movement (Linear etc.) there are two scripts that need to be defined. The first (single move) is for the first non-modal occurance of that GCode. The second is for each successive identical GCode...

G01 X2Y3Z4 (first occurance)
G01 X5Y6Z7 (second)
G0 X0Y0Z0 (first)
G1 X2Y3Z4 (first, Non G1 before it)
G1 X5Y6Z7 (second)
G1 X1Y2Z3 (third, uses second script)

It is easiest for beginners to create the same identical movement script for 'Continuous' moves as was created for the 'Single Move' and not use any Modal commands. Later, after you get the hang of it, you can make the Tokens Modal if you like.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-08-2003, 06:12 AM
 
Join Date: Apr 2003
Posts: 12
peterpan is on a distinguished road

Hi Carken,

I am afraid I don't understand.

I have tried various ways to create a working post processor, but having only partial success. Managed to creat one post processor which succeeded in converting the advanced.dxf file in the tutorial, but there were still lines where movements were repeated in the same block.

eg G00 x2 y3 x2 y3

Wonder if you could walk us through the creation of a simple post processor which uses the R parameter for the G02 and G03 command.

Thanks

Peter
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
Emco Compact 5 PC...have ???? Double G Mini Lathe 42 08-22-2010 07:26 PM
Upgrading control hardware - Emco eDudlik General CNC (Mill and Lathe) Control Software (NC) 21 12-08-2009 01:52 AM
V20 post processors doug6949 BobCad-Cam 5 02-22-2005 08:49 AM
Post configuring (black art?) John F OneCNC 12 07-18-2003 02:26 PM
More on Configuring Xpert NC Post HuFlungDung OneCNC 2 04-05-2003 03:26 PM




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