![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| EdgeCam Discuss EdgeCam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello guys, Does anyone know how to write a pci that makes a dialogbox like this, including the digitise-option with all cpl's visible? Please check out the picture attached. Best regards Allan |
|
#2
| |||
| |||
| running off memory here only, you could do a start command,then move,rotate, end command. That would let you move to a certain cpl, not sure about if all are visible or not. Ill look tomarrow and get back with you, its doable though. |
|
#3
| |||
| |||
The best source of examples i have found is delivered with EC itself, C:\Program Files (x86)\Planit\Edgecam 2011 R2\Cam\Operates includes (all?) menu operations as PCI files and if you find this selector somewhere in a menu in EC you could probably find its PCI file and figure out from all their code how they made it. |
|
#5
| |||
| |||
|
I’ve been working my ass off trying to make a macro or PCI that lets me digitise the cpl and use the coordinate- and rotational information, relative to my sequence-cpl. Need it for my post to output X,Y,Z,B moves relative to another CPL (the one I want to digitise) than the one I define in my sequence-start. Does it make any sense? :-)
Btw, as far as I can see, there is no PCI in that folder, that let's you digitise a CPL (?) /Allan Last edited by age_cph; 10-28-2011 at 10:32 AM. |
| Sponsored Links |
|
#6
| |||
| |||
| Ok I did not go through them all to see. But what you want to do sounds like a standard feature i EC. Did you try Menu "Move" - Index select another CPL there? you can even ask to Position to a CPL to get the rotation but after select Output relative To and get XYZ från another CPL. And if you want to have a part i a special place in the mashine but want Zero to be in another then you select the CPL to have as Zero in Sequence Initial CPL but also Set Mating Location to Post mating point you want and Mating CPL to the CPL that you want to use as locator for graphics. Im just guessing what you actually need now so i might be solving "problems" you don´t have :-) I just found the Index Operation, IndexOp.pci it has the selectionbox you asked about but the coding is very special in EC, like nothing i seen before. %AddCmdModToOperation=[OpId],[cmdIndex],[#ModCplName] |
|
#7
| |||
| |||
I need some kind of function (%macro, PCI, PDI or whatever) that lets me change which CPL, the index moves will be in relations to. In this example (see attached picture), the CPL 1 is at the front of the 1st part and the datum is G54 (work offset set to B0) on the machine. The CPL 10 is at the front of the 2nd part and the datum is G55 (work offset set to B-90.0) on the machine. When moving to CPL 11, it is essential that the output is G55 B90.0, and not B0 as it is now. Does that make any sense? Hälsningar Allan |
|
#8
| |||
| |||
| If I could just find the function “index move” (NOT the operation – just the move) %macro, PCI, PDI or whatever it is and make a modified copy… that would be really great Last edited by age_cph; 10-28-2011 at 02:21 PM. |
![]() |
| Tags |
| cpl, macro, pci |
| 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 |
| need CNC experts in SE USA | BILL WRIGHT CCR | Employment Opportunity | 0 | 08-26-2011 09:32 AM |
| Need Help!- Any YAG experts around? | dar303 | Laser Engraving & Cutting Machines | 6 | 08-31-2008 01:27 PM |
| Need Help from the experts | studysession | DIY-CNC Router Table Machines | 1 | 01-08-2008 08:00 PM |
| Any AB PLC experts? | jderou | General Electronics Discussion | 5 | 11-11-2005 07:14 PM |
| any pic experts? | posix | PIC Programing / Design | 27 | 07-01-2005 02:27 AM |