Difference between revisions of "CPRog Examples"
From Wiki
Line 8: | Line 8: | ||
E.g. to grip work pieces form an rectangular tray it is not necessary to program all singele positions. CPRog can handle two loops that increment the x and y parts of the target position. The gripping motion is inside a sub program. | E.g. to grip work pieces form an rectangular tray it is not necessary to program all singele positions. CPRog can handle two loops that increment the x and y parts of the target position. The gripping motion is inside a sub program. | ||
− | |||
− | |||
− | |||
Files: | Files: | ||
Line 17: | Line 14: | ||
Please save both files in the c:\CPRog\Data\Programs folder. | Please save both files in the c:\CPRog\Data\Programs folder. | ||
+ | |||
+ | Please test this program in simulations, not with the real robot. E.g. starting positions etc have to be adapted to your specific set up! | ||
+ | |||
+ | Please refer to the commands specification for further information on the variable commands: [http://www.cpr-robots.com/download/CPRog/CPR_CommandReference.pdf Command Reference] | ||
+ | |||
+ | |||
For questions please get in contact: support@cpr-robots.com | For questions please get in contact: support@cpr-robots.com | ||
---- | ---- |
Revision as of 12:10, 6 February 2018
This page shows some example programs for the CPRog software. Please get in contact if you application is not covered...
Matrix Motion
E.g. to grip work pieces form an rectangular tray it is not necessary to program all singele positions. CPRog can handle two loops that increment the x and y parts of the target position. The gripping motion is inside a sub program.
Files:
- The main program testMatrix.xml
- The gripping sub program sub_matrixGrip.xml
Please save both files in the c:\CPRog\Data\Programs folder.
Please test this program in simulations, not with the real robot. E.g. starting positions etc have to be adapted to your specific set up!
Please refer to the commands specification for further information on the variable commands: Command Reference
For questions please get in contact: support@cpr-robots.com