Equipment/VinylCutterOld: Difference between revisions

From London Hackspace Wiki
No edit summary
m (Reverted edits by Ytogohiga (Talk) to last revision by Muz)
Line 1: Line 1:
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://uvetysudema.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
----
=[http://uvetysudema.co.cc CLICK HERE]=
----
</div>
[[File:Roland (Large).jpg|thumb|right]]
[[File:Roland (Large).jpg|thumb|right]]
==Status==
==Status==
Line 14: Line 6:
* Roland CAMM-1 PNC-950. [http://www.signcutpro.com/files/man/roland/pnc950.pdf PDF manual], [http://support.rolanddga.com/Docs/Documents/departments/Product%20Management/Product%20Information/Specialty%20Products/PNC950_FAQ.pdf FAQ].
* Roland CAMM-1 PNC-950. [http://www.signcutpro.com/files/man/roland/pnc950.pdf PDF manual], [http://support.rolanddga.com/Docs/Documents/departments/Product%20Management/Product%20Information/Specialty%20Products/PNC950_FAQ.pdf FAQ].
====Specifications====
====Specifications====
* It holds up to 610mm (24&quot;) media and cuts up to 584mm ( ~23&quot;).
* It holds up to 610mm (24") media and cuts up to 584mm ( ~23").
* Length is essentially unlimited as it can use roll-feed media but seems to be restricted to 25m.
* Length is essentially unlimited as it can use roll-feed media but seems to be restricted to 25m.
[[File:vinylcut.jpg|thumb|right]]
[[File:vinylcut.jpg|thumb|right]]
==Instructions==
==Instructions==
====Quick setup guide====
====Quick setup guide====
* Set inkscape to HPGL output. File &gt; Save As &gt; HPGL format.
* Set inkscape to HPGL output. File > Save As > HPGL format.
* Draw your figure.
* Draw your figure.
* Connect the cutter via USB to Lovelace. This is done with a serial port converter from 25-pins -&gt; 9-pins -&gt; USB.
* Connect the cutter via USB to Lovelace. This is done with a serial port converter from 25-pins -> 9-pins -> USB.
* Load vinyl, making sure that it is flush with the left edge and has some slack for being pulled to and fro.
* Load vinyl, making sure that it is flush with the left edge and has some slack for being pulled to and fro.
* Turn on the cutter, the cutter head should fly to the right edge.
* Turn on the cutter, the cutter head should fly to the right edge.
* Press Setup, cutter parks at left.  
* Press Setup, cutter parks at left.  
* Move cutter if necessary with cursor buttons, press Origin Set to mark lower right corner of drawing
* Move cutter if necessary with cursor buttons, press Origin Set to mark lower right corner of drawing
* Run '~/serialshite.rb &lt;HPGL filename&gt;' from a Terminal.
* Run '~/serialshite.rb <HPGL filename>' from a Terminal.


It should be possible to enable the serial port as a printer and print direct to it, but I found this produced cutter errors (flashing power light) and no cut.
It should be possible to enable the serial port as a printer and print direct to it, but I found this produced cutter errors (flashing power light) and no cut.
Line 52: Line 44:
For some reason, Inkscape doesn't like going straight from SVG to HPGL. This can be fixed by:
For some reason, Inkscape doesn't like going straight from SVG to HPGL. This can be fixed by:
* Open up the SVG file
* Open up the SVG file
* File &gt; Save As &gt; select the DXF file format.
* File > Save As > select the DXF file format.
* Open the DXF
* Open the DXF
* File &gt; Save As &gt; HPGL
* File > Save As > HPGL


'''Creating your own image in Inkscape'''
'''Creating your own image in Inkscape'''


Inkscape seems to play nicely if you just create a new image and lay down some paths or polygons of your own. You can save this data for the cutter by just going to File &gt; Save As &gt; HPGL
Inkscape seems to play nicely if you just create a new image and lay down some paths or polygons of your own. You can save this data for the cutter by just going to File > Save As > HPGL


'''Avoiding overloading the cutter with TOO MUCH DATA'''
'''Avoiding overloading the cutter with TOO MUCH DATA'''
Line 64: Line 56:
The cutter doesn't seem to happy when it recieves a large set of instructions in one fell swoop. As such, it is highly recommended that you format your HPGL files nicely.
The cutter doesn't seem to happy when it recieves a large set of instructions in one fell swoop. As such, it is highly recommended that you format your HPGL files nicely.
* vim yourhpglfile.hpgl
* vim yourhpglfile.hpgl
* &lt;Esc&gt;
* <Esc>
* :% s/;/;&lt;C-x&gt;&lt;C-m&gt;/g
* :% s/;/;<C-x><C-m>/g
* &lt;Return&gt;
* <Return>
* :wq
* :wq


Line 76: Line 68:
The serial cable (blue, with a 25WD at one end and a 9WD at the other) is connected as follows :
The serial cable (blue, with a 25WD at one end and a 9WD at the other) is connected as follows :


{|border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot;
{|border="1" cellpadding="5" cellspacing="0"
|-
|-
|Cutter, 25 pin male D ||PC, 9 pin female D||Use
|Cutter, 25 pin male D ||PC, 9 pin female D||Use

Revision as of 00:17, 24 November 2010

Roland (Large).jpg

Status

  • I have had a certain amount of success running the cutter with a serial connection from Inkscape under Linux. More messing around is needed.--Artag 13:32, 19 August 2010 (UTC)
  • I have gotten the cutter to reliably cut reasonably complex shapes (see image to the right). See http://github.com/muz/Ruby-PNC950. Looks like the serial port needed negotiating correctly.--Muz 20 August 2010.

Model

Specifications

  • It holds up to 610mm (24") media and cuts up to 584mm ( ~23").
  • Length is essentially unlimited as it can use roll-feed media but seems to be restricted to 25m.
Vinylcut.jpg

Instructions

Quick setup guide

  • Set inkscape to HPGL output. File > Save As > HPGL format.
  • Draw your figure.
  • Connect the cutter via USB to Lovelace. This is done with a serial port converter from 25-pins -> 9-pins -> USB.
  • Load vinyl, making sure that it is flush with the left edge and has some slack for being pulled to and fro.
  • Turn on the cutter, the cutter head should fly to the right edge.
  • Press Setup, cutter parks at left.
  • Move cutter if necessary with cursor buttons, press Origin Set to mark lower right corner of drawing
  • Run '~/serialshite.rb <HPGL filename>' from a Terminal.

It should be possible to enable the serial port as a printer and print direct to it, but I found this produced cutter errors (flashing power light) and no cut.

The following file was generated by inkskape for a star shape. This works.

IN;
SP1;
PU3999,6429;
PD2693,5186;
PD929,5557;
PD1707,3932;
PD809,2369;
PD2596,2606;
PD3805,1269;
PD4131,3042;
PD5776,3778;
PD4191,4636;
PD3999,6429;
PD3999,6429;

Creating Images for Cutting

Converting an existing SVG

For some reason, Inkscape doesn't like going straight from SVG to HPGL. This can be fixed by:

  • Open up the SVG file
  • File > Save As > select the DXF file format.
  • Open the DXF
  • File > Save As > HPGL

Creating your own image in Inkscape

Inkscape seems to play nicely if you just create a new image and lay down some paths or polygons of your own. You can save this data for the cutter by just going to File > Save As > HPGL

Avoiding overloading the cutter with TOO MUCH DATA

The cutter doesn't seem to happy when it recieves a large set of instructions in one fell swoop. As such, it is highly recommended that you format your HPGL files nicely.

  • vim yourhpglfile.hpgl
  • <Esc>
  • :% s/;/;<C-x><C-m>/g
  • <Return>
  • :wq

This will place each command on its own line, and in the case of more complex drawing patterns, avoid having the cutter throw a hissy fit and get confused.

Tips

  • Sometimes the cutter refuses to print or respond to any buttons. This hasn't happened since I opened a door in the bottom of the printer and poked an EPROM there, so may be due to some poor internal connection.

Serial cable

The serial cable (blue, with a 25WD at one end and a 9WD at the other) is connected as follows :

Cutter, 25 pin male D PC, 9 pin female D Use
pin 2 pin 2 PC RXD from cutter
3 3 PC TXD to cutter
4 n/c cutter pin 5, RTS CTS loopback
5 n/c cutter pin 4, RTS CTS loopback
7 5 ground
20 8 cutter DTR to PC CTS, flowcontrol

This provides for hardware (rts/cts) handshake. Software flowcontrol may be OK but the cutter manual suggests overrun may occur.

Consumables

There is a pledge running for the purchase of more vinyl.