Inkcut
search
  • chevron_right Threads
  • label General

Problem with Creation PCUT CT-630

anm
May 23, 2019
chat_bubble_outline 22
  • link
    anm
    Members 33 posts
    May 23, 2019, 4:50 a.m. May 23, 2019, 4:50 a.m.
    link

    Hello,

    I installed inkcut to windows yesterday, but my Creation PCUT CT-630 isn't working at all. I tried various settings in connection - but no change.

    If I export it to a file, my file from Artcut looks like:
    ;:H A L0 ECN U V10 U80,80 D80,80 D80,100,80,140 U80,140 U896,80 D896,80 D896,100,878,224,899,209,934,217,963,232,976,240,988,252,997,266,1008,277,1015,291,1020,306,1026,322,1028,339,1035,374,1033,414,1031,455,1020,489,1013,503,1006,517,997,529,987,539,965,554,943,564,920,569,896,565,876,561,859,548,845,531,836,512,831,492,823,464,813,425,800,...

    File from inkcut looks like (tried to fill beforeconnection and so on to get best result, but the plotter is not moving):
    ;:H A L0 ECN U V10 U4731,9557 D4589,9418 D4455,9267 D4328,9109 D4209,8945 D3991,8614 D3798,8296 D3644,7997 D3577,7846 D3526,7699 D3503,7616 D3493,7595 D3479,7586 D3358,7697 D3246,7813 D3197,7874 D3154,7937 D3119,8003 D3093,8073 D3074,8132 D3040,8182 D2996,8223 D2946,8254 D2893,8273 D2843,8281 D2799,8278 D2765,8261 D2720,8209 D2681,8155 D2617,8041 D2570,7921 D2534,7796 D2478,7546 D2448,7425 D2411,7309 D1253,7348 D1116,7361 D993,7379 D773,7418 D668,7432 D561,7439 D447,7436 D323,7421 D324,7348 D329,7287 D338,7233 D417,6994 D515,6758 D631,6524 D762,6295 D905,6070 D1058,5850 D1219,5637 D1386,5431 D1433,5379 ....

    I use DMPL Mode 3...

    How can I get my ct-630 to work with inkcut?

    Thanks in advance

    Andi

  • link
    anm
    Members 33 posts
    May 23, 2019, 9:23 a.m. May 23, 2019, 9:23 a.m.
    link

    I found out that the plotter uses PL/HT-GL - is there a possibility to communicate with my device?

  • link
    frmdstryr
    Team 127 posts
    May 23, 2019, 11:50 a.m. May 23, 2019, 11:50 a.m.
    link

    Most cutters support HPGL and DMPL. Since the commands are the same it seems like a communication problem.

    If you upgrade to the current development version with pip3 install git+https://github.com/codelv/inkcut.git there's a connection monitor tab which you can paste in commands to send. Try sending the artcut output and see if that helps.

    anm likes this.

    favorite 1

  • link
    anm
    Members 33 posts
    May 23, 2019, 12:36 p.m. May 23, 2019, 12:36 p.m.
    link

    Thanks for your help, I will try later on. Is there a possibility to set Hardware-Handshake or do I have to set it in System only?

    Do i have to paste output of ArtCut only or is there a special command to send it?

  • link
    frmdstryr
    Team 127 posts
    May 23, 2019, 1:01 p.m. May 23, 2019, 1:01 p.m.
    link
    @anm

    Thanks for your help, I will try later on. Is there a possibility to set Hardware-Handshake or do I have to set it in System only?

    You may need to change the serial port settings (check RTS/CTS for hw flow control), it depends on the device.

    @anm

    Do i have to paste output of ArtCut only or is there a special command to send it?

    Yes just paste the output

    anm likes this.

    favorite 1

  • link
    anm
    Members 33 posts
    May 24, 2019, 5:49 a.m. May 24, 2019, 5:49 a.m.
    link

    I just tried that - no reaction.
    Same Settings as in Artcut - 9600 baud, 8 bits, no parity, 1 stopbit, RTS/CTS. In Artcut "dtr/dsf" is set - what's that?

    It seems to be a connection problem, but what can I do to solve it?

    Thanks!

  • link
    frmdstryr
    Team 127 posts
    May 24, 2019, 12:37 p.m. May 24, 2019, 12:37 p.m.
    link
    @anm

    I just tried that - no reaction.
    Same Settings as in Artcut - 9600 baud, 8 bits, no parity, 1 stopbit, RTS/CTS. In Artcut "dtr/dsf" is set - what's that?

    It seems to be a connection problem, but what can I do to solve it?

    Thanks!

    Ah... that may be it. Inkcut did not have the option to set DSR/DTR (as it wasn't in the original versions of some of the libraries), I just added it.

    Could you update again (with pip3 install git+https://github.com/codelv/inkcut.git) and try with DSR/DTR instead of RTS/CTS?

  • link
    anm
    Members 33 posts
    May 24, 2019, 12:44 p.m. May 24, 2019, 12:44 p.m.
    link

    Hello,

    I give it a try - I just sent the HPGL generated File via HTERM to my plotter - it works. So only sending to plotter is the problem!

    EDIT: Does not work also... :(

  • link
    anm
    Members 33 posts
    May 24, 2019, 1:22 p.m. May 24, 2019, 1:22 p.m.
    link

    I tried to Emulate COM1 -> COM2 --> I get no traffic on the virtual com port! I only see IN; - and nothing more!

  • link
    frmdstryr
    Team 127 posts
    May 24, 2019, 1:26 p.m. May 24, 2019, 1:26 p.m.
    link
    @anm

    Hello,

    I give it a try - I just sent the HPGL generated File via HTERM to my plotter - it works. So only sending to plotter is the problem!

    EDIT: Does not work also... :(

    Oh, didn't know this was windows. Could you try downgrading pyserial stackoverflow.com/a/46912536/2362877?

  • link
    anm
    Members 33 posts
    May 24, 2019, 1:33 p.m. May 24, 2019, 1:33 p.m.
    link

    downgraded to 2.7 - The 'pyserial>=3.4' distribution was not found and is required by inkcut

  • link
    frmdstryr
    Team 127 posts
    May 24, 2019, 1:37 p.m. May 24, 2019, 1:37 p.m.
    link

    Uhhh... I don't get why python does this now.

  • link
    frmdstryr
    Team 127 posts
    May 24, 2019, 1:42 p.m. May 24, 2019, 1:42 p.m.
    link

    Sorry, reinstall pyserial (pip install --upgrade pyserial)

    Could you see if there's any errors in the logs?

  • link
    anm
    Members 33 posts
    May 24, 2019, 1:50 p.m. May 24, 2019, 1:50 p.m.
    link

    No errors in log...

    After job it says: "QSocketNotifier: Invalid socket specified" (in console)

    see Attachment for log.

    insert_drive_file
    inkcut.txt

    Text, 127.3 KB, uploaded by anm on May 24, 2019.

  • link
    frmdstryr
    Team 127 posts
    May 24, 2019, 1:52 p.m. May 24, 2019, 1:52 p.m.
    link

    Or you can run it directly with python -m inkcut.app which should skip the distribution checks

  • link
    anm
    Members 33 posts
    May 24, 2019, 1:55 p.m. May 24, 2019, 1:55 p.m.
    link

    Starts, but on device setup I get the following error:

    TypeError: The 'ports' member on the 'SerialConfig' object must be of type 'list'. Got object of type 'generator' instead.

    And starting job says AttributeError: 'Serial' object has no attribute "_port_handle"

  • link
    anm
    Members 33 posts
    May 24, 2019, 1:58 p.m. May 24, 2019, 1:58 p.m.
    link

    It's working with pyserial > 3.1, but there is no output also with version 3.1...

  • link
    frmdstryr
    Team 127 posts
    May 24, 2019, 2:05 p.m. May 24, 2019, 2:05 p.m.
    link

    Ok, one hack that may work (if I understand the problem)...

    Find the file "inkcut/device/transports/serialport/plugin.py" (should be in C:\Pythonx.x\site-packges\inkcut or something) and open it with an editor (eg notepad) add a new line at 97 (github.com/codelv/inkcut/blob/master/inkcut/device/transports/serialport/plugin.py#L97) with

                self.connection.write = self.connection._serial.write
    

    Make sure to include the spaces, it has to match the indentation. If that works it's a bug with twisted on windows.

  • link
    anm
    Members 33 posts
    May 24, 2019, 6:45 p.m. May 24, 2019, 6:45 p.m.
    link

    Sorry, I did not had time to check - I give it a try now :)

    I get "IN;" only on COM-Interface. Nothing more :(

  • link
    frmdstryr
    Team 127 posts
    May 25, 2019, 1:32 a.m. May 25, 2019, 1:32 a.m.
    link
    @anm

    Sorry, I did not had time to check - I give it a try now :)

    I get "IN;" only on COM-Interface. Nothing more :(

    Not sure why I didn't see this before. Did you change the protocol to DMPL v3 and save it? The log above is showing it's set to HPGL.

  • link
    anm
    Members 33 posts
    May 25, 2019, 7:47 a.m. May 25, 2019, 7:47 a.m.
    link

    My plotter works fine with HPGL when I send the file via HTERM.

    I had to swap x/y and mirror y for correct output - but thats no problem.

    Overcut would be great if it would follow the path and not cut into last? direction - in some cases of fonts, it gets a little "step" at the meeting point of beginning and ending of path...

    But I get good results after trying a bit with my plotter!

  • link
    frmdstryr
    Team 127 posts
    May 25, 2019, 3:06 p.m. May 25, 2019, 3:06 p.m.
    link
    @anm

    My plotter works fine with HPGL when I send the file via HTERM.

    I had to swap x/y and mirror y for correct output - but thats no problem.

    Overcut would be great if it would follow the path and not cut into last? direction - in some cases of fonts, it gets a little "step" at the meeting point of beginning and ending of path...

    But I get good results after trying a bit with my plotter!

    I'm still not sure why it's not sending.

    Can you create a new thread for the overcut problem? I'll try to reproduce it with my new Stika (i've been using Inkcut with an engraver so it doesn't use these options).

    anm likes this.

    favorite 1

  • link
    anm
    Members 33 posts
    May 26, 2019, 3:44 p.m. May 26, 2019, 3:44 p.m.
    link

    I just tried to use offset=5mm, and there is no problem. If I face it again I try to locate the problem, but it seems to work correctly!

    Many thanks for the fast response, I send via HTERM - works great :)

arrow_upward Go to top
  • Privacy policy
powered by misago