Difference between revisions of "Equipment/VinylCutterOld"

From London Hackspace Wiki
Jump to navigation Jump to search
(Marked as Defunct)
 
(28 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[File:Roland (Large).jpg|thumb|right]]
+
{{EquipmentInfobox
 +
|name=The old vinyl cutter <!-- Name of the item. -->
 +
|image=Roland (Large).jpg <!-- Image of the item. Leave with placeholder image if none exists. -->
 +
|model=Unknown <!-- Model -->
 +
|category=Equipment <!-- Main category. Please leave alone to keep item in this category -->
 +
|subcat=Defunct
 +
|status=Out of order<!-- Set to one of; Good working order, Faulty, Out of order, Under construction, Out of consumables, Scrapped, or Unknown -->
 +
|consumables=Unknown <!-- Any items used up in normal operation, such as; ink, paper, saw-blades, cutting disks, oil, etc.. -->
 +
|accessories=Unknown <!-- Any items associated with the equipment but not consumable, such as; drill bits, safety gloves, goggles, etc.. -->
 +
|reqtraining=<!-- Is training required to use this equipment? Yes or no. -->
 +
|trainlink=Unknown <!-- If training is required, provide a link to training signup or contact page. Otherwise leave blank. -->
 +
|acnode=<!-- Is the equipment ACnode locked? -->
 +
|owner=Unknown <!-- Provide a link to owners members page if other than LHS -->
 +
|origin=Unknown <!-- If via pledge, please link to the completed pledge page on the wiki -->
 +
|location=<!-- Floor, room/zone and location within that area -->
 +
|maintainers=<!-- NO LINKS PLEASE; it currently breaks the template. If someone is nominated as managing the upkeep of this item, please list them here. -->
 +
|template_ver=1.1 <!-- Please do not change. Used for tracking out-of-date templates -->
 +
}}
 
==Status==
 
==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.--[[User:Artag|Artag]] 13:32, 19 August 2010 (UTC)
+
* I have had a certain amount of success running the cutter with a serial connection from Inkscape under Linux.  More messing around is needed.--[[User:Artag|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.--[[User:Muz|Muz]] 20 August 2010.
 +
* I used the cutter on 5th July 2011. It had a problem where the carriage for the cutter was sticking in the "up" position for about 0.25s after the "pen down" command was sent to it — this was making it miss most of the first cut of each section.  The problem was fixed by taking the cover off the carriage (single black cross-head screw) and applying WD-40 to the point where the carriage meets the adjustable end-stop screw at the left.  (Try to push the carriage down gently by hand a few times and you'll soon see where the sticking point is.)  The WD-40 and, presumably, whatever contaminant was making it stick was removed using kitchen paper. --[[User:Sde|Sde]] 21:36, 5 July 2011 (UTC)
 +
 
 
==Model==
 
==Model==
 
* 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") media and cuts up to 584mm ( ~23").
 
* 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]]
 +
==Instructions==
 +
Read [http://www.signcutpro.com/files/man/roland/pnc950.pdf the fucking manual]. It's quite good.
  
==Instructions==
 
 
====Quick setup guide====
 
====Quick setup guide====
* Set inkscape to hpgl output
+
# Set inkscape to HPGL output. File > Save As > HPGL format.
* draw figure and print to a file
+
# Draw your figure.
* set serial port to 9600 8n1, crtscts.
+
# Connect the cutter via USB to Lovelace. This is done with a serial port converter from 25-pins -> 9-pins -> USB. There should be a converter on the same shelf as the cutter (be sure to check behind it), or you may find one attached to the old console in the quiet room.
* connect blue cable (a 9-pin gender-changer is needed at the PC end)
+
# Load vinyl from behind, making sure that it is flush with the left edge and has some slack for being pulled to and fro.
* load vinyl, switch cutter on. cutter should park at right hand side
+
# 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
+
# Press Setup, cutter parks at left.  
* cat the inkscape output file to the serial port
+
# 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.
 
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 almost works : the first leg is replaced by a poorly cut arc. May imply a need for some sort of initialisation data.
+
* I didn't need to use the Ruby script.  I just made sure the serial port was at 9600bps, 8N1, RTS/CTS flow control enabled (stty -F /dev/ttyUSBwhatever sane 9600 crtscts clocal) and then did cat filename.hpgl >/dev/ttyUSBwhatever.  --[[User:Sde|Sde]] 21:49, 5 July 2011 (UTC)
 +
 
 +
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;
 +
PU;
 +
 
 +
====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
 +
 
 +
* I didn't find this step necessary with a recent (0.48.1-2ubuntu2) version of Inkscape. It was happy to save in HPGL after loading a SVG. --[[User:Sde|Sde]] 21:41, 5 July 2011 (UTC)
  
  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 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. Things like text will need converting to paths before saving (select the text, then Path -> Object to Path), otherwise they won't show up in the HPGL output.
 +
 
 +
'''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.
 +
 
 +
(In emacs: load the .hpgl file, and make sure the cursor is at the start of the buffer.  Then M-x replace-string, replacing ';' with ';C-QC-J' (that's semicolon, ctrl-q, ctrl-j) to add newlines after each semicolon.)
 +
 
 +
'''Setting the cutting speed'''
 +
 
 +
At the start of your HPGL file you should have at least two commands: IN; and SP1; (for "intialise" and "select pen 1").  If you add another command VS after these you can choose the cutting speed.  VS1; is the slowest and VS40; is the fastest.  Reducing the speed may be useful if your design has lots of fine detail.
 +
 
 +
DIP switch 8 can also be used to reduce the cutting speed (it's set to "very slow" if it's set to "ON" when you turn the cutter on), but it's a bit of a blunt instrument.  Inserting a VSnn; command into your file gives you much finer control.  --[[User:Sde|Sde]] 21:53, 5 July 2011 (UTC)
  
 
==Tips==
 
==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.
 
* 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.
 +
* On the right side of the cutter is a switch for cut strength, which controls how much force is used by the blade. I don't know why you wouldn't want to keep this on maximum.
 +
** If it's set too high, it will tear the vinyl if you're cutting fine figures.  The "Test" button is useful for seeing whether it's set correctly: it cuts a square with a circle around it, at wherever the blade happens to be when you press the button.  If you can remove the circle from the backing without removing the square, the pressure is probably set correctly.--[[User:Sde|Sde]] 01:20, 6 July 2011 (UTC)
 +
* The cutter will cut thin paper OK, but there's a risk of tearing.
 +
* If your cut fucks up you can hit "pause", remove the vinyl, and then press "pause" again. AFAIK there's no harm in letting it run without any vinyl loaded.
 +
 
====Serial cable====
 
====Serial cable====
 
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 :
Line 47: Line 127:
  
 
This provides for hardware (rts/cts) handshake. Software flowcontrol may be OK but the cutter manual suggests overrun may occur.
 
This provides for hardware (rts/cts) handshake. Software flowcontrol may be OK but the cutter manual suggests overrun may occur.
 +
* You '''must''' have handshaking turned on.  If you lose some of your input due to a buffer overrun, the cutter may fly off into the distance (read: run the vinyl through '''very''' quickly with the blade down) when it mis-interprets the coordinates.  Putting the serial port in crtscts mode (stty crtscts </dev/ttyUSBwhatever) should be enough to do this. --[[User:Sde|Sde]] 01:20, 6 July 2011 (UTC)
 +
 
==Consumables==
 
==Consumables==
 
There is a [[Pledges/Vinyl|pledge]] running for the purchase of more vinyl.
 
There is a [[Pledges/Vinyl|pledge]] running for the purchase of more vinyl.
  
==Example code==
+
I have left a small roll of blue vinyl (about 4m) and a large roll of black vinyl (about 47m) in the space. There is also a roll of medium-tack application paper, about 30cm wide. Feel free to use small amounts of these. If you want to use larger quantities, please let me know. --[[User:Sde|Sde]] 21:55, 5 July 2011 (UTC)
 
require "rubygems"
 
require "serialport"
 
 
 
plotter = SerialPort.new("/dev/ttyUSB2")
 
plotter.baud=(9600)
 
plotter.flow_control=(SerialPort::SOFT)
 
plotter.rts=(1)
 
plotter.data_bits=(8)
 
plotter.stop_bits=(1)
 
 
 
serialData = "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;"
 
 
 
plotter.write(serialData)
 

Latest revision as of 14:36, 23 May 2015

The old vinyl cutter
Roland (Large).jpg
Model Unknown
Sub-category Defunct
Status Out of order
Consumables Unknown
Accessories Unknown
Training link Unknown
Owner Unknown
Origin Unknown

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.
  • I used the cutter on 5th July 2011. It had a problem where the carriage for the cutter was sticking in the "up" position for about 0.25s after the "pen down" command was sent to it — this was making it miss most of the first cut of each section. The problem was fixed by taking the cover off the carriage (single black cross-head screw) and applying WD-40 to the point where the carriage meets the adjustable end-stop screw at the left. (Try to push the carriage down gently by hand a few times and you'll soon see where the sticking point is.) The WD-40 and, presumably, whatever contaminant was making it stick was removed using kitchen paper. --Sde 21:36, 5 July 2011 (UTC)

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

Read the fucking manual. It's quite good.

Quick setup guide

  1. Set inkscape to HPGL output. File > Save As > HPGL format.
  2. Draw your figure.
  3. Connect the cutter via USB to Lovelace. This is done with a serial port converter from 25-pins -> 9-pins -> USB. There should be a converter on the same shelf as the cutter (be sure to check behind it), or you may find one attached to the old console in the quiet room.
  4. Load vinyl from behind, making sure that it is flush with the left edge and has some slack for being pulled to and fro.
  5. Turn on the cutter, the cutter head should fly to the right edge.
  6. Press Setup, cutter parks at left.
  7. Move cutter if necessary with cursor buttons, press Origin Set to mark lower right corner of drawing
  8. 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.

  • I didn't need to use the Ruby script. I just made sure the serial port was at 9600bps, 8N1, RTS/CTS flow control enabled (stty -F /dev/ttyUSBwhatever sane 9600 crtscts clocal) and then did cat filename.hpgl >/dev/ttyUSBwhatever. --Sde 21:49, 5 July 2011 (UTC)

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;
PU;

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
  • I didn't find this step necessary with a recent (0.48.1-2ubuntu2) version of Inkscape. It was happy to save in HPGL after loading a SVG. --Sde 21:41, 5 July 2011 (UTC)

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. Things like text will need converting to paths before saving (select the text, then Path -> Object to Path), otherwise they won't show up in the HPGL output.

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.

(In emacs: load the .hpgl file, and make sure the cursor is at the start of the buffer. Then M-x replace-string, replacing ';' with ';C-QC-J' (that's semicolon, ctrl-q, ctrl-j) to add newlines after each semicolon.)

Setting the cutting speed

At the start of your HPGL file you should have at least two commands: IN; and SP1; (for "intialise" and "select pen 1"). If you add another command VS after these you can choose the cutting speed. VS1; is the slowest and VS40; is the fastest. Reducing the speed may be useful if your design has lots of fine detail.

DIP switch 8 can also be used to reduce the cutting speed (it's set to "very slow" if it's set to "ON" when you turn the cutter on), but it's a bit of a blunt instrument. Inserting a VSnn; command into your file gives you much finer control. --Sde 21:53, 5 July 2011 (UTC)

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.
  • On the right side of the cutter is a switch for cut strength, which controls how much force is used by the blade. I don't know why you wouldn't want to keep this on maximum.
    • If it's set too high, it will tear the vinyl if you're cutting fine figures. The "Test" button is useful for seeing whether it's set correctly: it cuts a square with a circle around it, at wherever the blade happens to be when you press the button. If you can remove the circle from the backing without removing the square, the pressure is probably set correctly.--Sde 01:20, 6 July 2011 (UTC)
  • The cutter will cut thin paper OK, but there's a risk of tearing.
  • If your cut fucks up you can hit "pause", remove the vinyl, and then press "pause" again. AFAIK there's no harm in letting it run without any vinyl loaded.

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.

  • You must have handshaking turned on. If you lose some of your input due to a buffer overrun, the cutter may fly off into the distance (read: run the vinyl through very quickly with the blade down) when it mis-interprets the coordinates. Putting the serial port in crtscts mode (stty crtscts </dev/ttyUSBwhatever) should be enough to do this. --Sde 01:20, 6 July 2011 (UTC)

Consumables

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

I have left a small roll of blue vinyl (about 4m) and a large roll of black vinyl (about 47m) in the space. There is also a roll of medium-tack application paper, about 30cm wide. Feel free to use small amounts of these. If you want to use larger quantities, please let me know. --Sde 21:55, 5 July 2011 (UTC)