understanding/editing kcode
For the most part, kcode seems pretty easy to understand, and the posted definitions in the google folder are very helpful. This post is about the code instructions for both carriage, "/" and "\", and feeder. I have encountered a problem where the carriage tries to reposition the feeder to set up for the next row of knitting, but fails to "grab" the feeder to move it. I feel as though with a better understanding of these commands, I could fix the problem by editing the kcode.
I am posting a screenshot with the offending line of code (I would like to know what is going on in Lines 123-4), plus the preceding lines. Here is a line by line explanation:
- Line 121: carriage moves from right to left, picking up feeder 5 and knitting as it goes
- Line 122: carriage moves from left to right, executing transfers
- Line 123: carriage reposition? Why is "\" on the left and "/" on the right this time?
- Line 124: feeder reposition? When I run the code, it seems to try to reposition the feeder, but fails to grab it. I wonder if I can edit this line so the carriage reaches farther to the left to pick up feeder 5, but I don't understand enough to know how to do that.
- Line 125: Knit row, with carriage moving right to left. Undesired outcome: several stitches on the right are skipped because feeder 5 started out too far over to the left.
Thanks!
-
Thank looks strange to me...
121 - Moving Left, Knitting on Yarn 5 as it goes -
122 - Moving Right - Transfer Back to front as it goes
123 - This looks wrong, as not sure this will reposition anything (Maybe one row to the left?)
124- This also looks wrongIf you send your file over I can have a go at editing to what I believe would work.
Also worth reaching out to Gerard Rubio as this looks like a defect in the compiler..
TIm
0 -
Thanks, Tim! And yes, I'll let Gerard Rubio know about this as well.
And thanks for offering to suggest an edit. i see there is a forum feature for including code in a post. Is it okay to put the few lines of code there for your suggestion. Or do you recommend putting the file in the google folder. (I worry someone might think it is working code if they see it there....)
Thanks again, Plasmatopia
0 -
Code snipett on here works for me, and we can post back that way.
Just remember - Kniterate do NOT recommend updating the kCode manually as it is possible to get it wrong, You need to be especially careful about never stopping a feeder over a bed that you are knitting as you will end up breaking needles / jacks!
0 -
Thanks, and good points! The reason I came to the forum for help is that I was reluctant to edit the kcode by trial and error for fear of damage, especially because i don't understand some aspects of how it is supposed to work. Improvements in the compiler is clearly the better option here, but it is hard to be patient when I have a new idea almost working (stitches dropping out in just two places out of thousands of lines of code that knit perfectly...).
Here is the code:
// Problem Code supplied by Plasmatopia. Carriage fails in attempt to pick up feeder 5 for repositioning on Row 124.
//
// row: 121
// racking: 0.0
// reasons: PositionCarriage, Active, Coalesced,
FRNT:..............._____________________/__________________________5___---____5_\__________________________________________________________________________________________________________________________________________________________________________________________________...............
STIF:666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
REAR:..............._____________________/__________________________5__-_______5_\__________________________________________________________________________________________________________________________________________________________________________________________________...............
STIR:666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
<< Kn-Kn 0 200 150 0
//
//
// row: 122
// racking: 0.0
// reasons: PositionCarriage, Active, Coalesced,
FRNT:..............._____________________/____________________________-___-____\__________________________________________________________________________________________________________________________________________________________________________________________________...............
STIF:666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
REAR:..............._____________________/____________________________-___-____\__________________________________________________________________________________________________________________________________________________________________________________________________...............
STIR:666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
>> Rr-Tr 0 60 0 0
//
//
// row: 123
// racking: 0.0
// reasons: PositionCarriage,
FRNT:...............__________________________________________________________\______________________/____________________________________________________________________________________________________________________________________________________________________________...............
STIF:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
REAR:...............__________________________________________________________\______________________/____________________________________________________________________________________________________________________________________________________________________________...............
STIR:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<< Rl-Tr 0 500 0 0
//
//
// row: 124
// racking: 0.0
// reasons: PositionCarriage, Kickout, PositionCarriage, Coalesced,
FRNT:..............._______________________________________________5______5\___________________________/____________________________________________________________________________________________________________________________________________________________________________...............
STIF:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
REAR:..............._______________________________________________5______5\___________________________/____________________________________________________________________________________________________________________________________________________________________________...............
STIR:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
>> Rr-Tr 0 60 0 0
//
//
// row: 125
// racking: 0.0
// reasons: Active,
FRNT:..............._____________________/__________5___-_-_-_-_-_-_-_-____5\_______________________________________________________________________________________________________________________________________________________________________________________________________...............
STIF:666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
REAR:..............._____________________/__________5__-_-_-_-_-_-_-_-_____5\_______________________________________________________________________________________________________________________________________________________________________________________________________...............
STIR:666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
<< Tu-Kn 0 200 150 00 -
plasmatopia These kinds of movements to reposition feeders are a bit of a compiler glitch. Most of the time work fine but in some more challenging scenarios like yours, fail. Alex has been cleaning up some of these unnecessary movements. New compiler version to be released soon with these changes and the jacquard fixes.
Below changes should work. Looking forward to seeing those thousands of lines of code become a tangible thing!
//
// row: 123
// racking: 0.0
// reasons: PositionCarriage,
FRNT:..............._________________________________________/_________________\__________________________________________________________________________________________________________________________________________________________________________________________________...............
STIF:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
REAR:..............._________________________________________/_________________\__________________________________________________________________________________________________________________________________________________________________________________________________...............
STIR:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<< Rl-Tr 0 500 0 0
//
//
// row: 124
// racking: 0.0
// reasons: PositionCarriage, Kickout, PositionCarriage, Coalesced,
FRNT:..............._________________________________________/__5__________5\_______________________________________________________________________________________________________________________________________________________________________________________________________...............
STIF:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
REAR:..............._________________________________________/__5__________5\_______________________________________________________________________________________________________________________________________________________________________________________________________...............
STIR:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
>> Rr-Tr 0 60 0 0
//0 -
Thanks, Gerard Rubio! This change in the code looks very promising - I'll try it as soon as I get a chance.
In the mean time, I can share a snapshot of the result. I had a deadline (note to self: do *not* start a new project the day before the due date...), so I used a spare machine needle to hand stitch up the ladders created by the dropped stitches. Still not very polished, but fortunately the 'hand-crafted' look was appreciated by the recipient :-)
1 -
plasmatopia Love it - Looking forward to seeing the complete knit :)
Gerard Rubio Great news on the new compiler
0
Please sign in to leave a comment.
Comments
7 comments