#garfield Logs
Jul 09 2023
#garfield Calendar
01:33 AM rue_mohr: socat pty,link=/dev/ttySEther2,raw,echo=0 tcp:192.168.8.101:44
07:45 AM polprog: rue_mohr: something like this: https://cyber.dabamos.de/88x31/
10:20 AM rue_mohr: haha
10:21 AM rue_mohr: huh
10:22 AM Tom_L: morning
10:22 AM rue_mohr: morning
10:23 AM rue_mohr: huh, 48x44
10:24 AM rue_mohr: so, no...
10:25 AM rue_mohr: so, the pants I wore yesterday while riding the trike have a bump in them,
10:25 AM rue_mohr: turns out it dug into my but pretty good on that ride
10:26 AM rue_mohr: noticing this morrning..
10:28 AM Tom_L: better get a pad for the seat
10:28 AM rue_mohr: er not wear those pants with it or something
10:38 AM Tom_L: so does the mill take too much space?
10:38 AM rue_mohr: same amount of space
10:38 AM rue_mohr: +-
10:38 AM Tom_L: space somebody else owned though
10:38 AM rue_mohr: the sherline was in a box that I could put the laptop on
10:38 AM rue_mohr: cant put a laptop on this one
10:39 AM Tom_L: drawer under the table
10:39 AM rue_mohr: hehe
10:39 AM rue_mohr: thats where all the round rod lives
10:42 AM Tom_L: decide what the brains for it are gonna be?
10:50 AM rue_mohr: arduno uno for now
10:50 AM rue_mohr: I have to redo up the controller box
10:51 AM rue_mohr: and later move the motor speed controller out of the box on the back
10:51 AM rue_mohr: I still ahve to re-assemble the shop
10:54 AM Tom_L: what chip does the uno use?
10:54 AM rue_mohr: m328
01:46 PM rue_shop3: Tom_L, if you got the log there, any chance you can find in the last few days where I said what the stepper driver is?
01:48 PM Tom_L: xylotech or something like that
01:48 PM Tom_L: i can look
01:48 PM rue_mohr: ok
01:49 PM rue_mohr: aha, that was the clue I needed!
01:49 PM rue_mohr: thanks
01:49 PM rue_mohr: (found it)
01:49 PM Tom_L: figured that would spark a fire
01:49 PM Tom_L: i thought i also linked the pdf for it
01:49 PM rue_mohr: the filename for the doc is XS3525V202.pdf :/
01:49 PM rue_mohr: x gave it away
01:50 PM rue_mohr: its a bad datasheet
01:50 PM Tom_L: i also linked a linuxcnc page for the step timing
01:51 PM Tom_L: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Stepper_Drive_Timing
01:51 PM Tom_L: Xylotex XS-3525/8S-3 2000 1000 200 200 Rising Edge http://www.xylotex.com/XS3525V202.pdf
01:51 PM Tom_L: Xylotex XS-3525/8S-4 1000 1000 200 200 Rising Edge
01:52 PM Tom_L: not the exact model but close enough probably
01:52 PM rue_shop3: grbl isn't fast enough to outpace anyting :)
01:52 PM Tom_L: oh :)
01:52 PM rue_shop2: I'm building a book for it
01:53 PM rue_shop2: pulled apart the control box
01:53 PM Tom_L: i have a nice book for mine
01:53 PM rue_shop2: working out wiring and things
01:53 PM rue_shop2: :)
01:53 PM Tom_L: all the wire colors etc and if they change color, signal, pin IO number etc
01:54 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.8.4/New_Mill_IO_Pinout.pdf
01:54 PM Tom_L: much easier to keep track of than a schematic
01:54 PM rue_shop2: I'm wondering if I should aggrigate the steppers to one connector
01:54 PM Tom_L: aside from that, i also have a book on it
01:54 PM rue_shop2: or for that matter, the whole machine
01:54 PM Tom_L: keep the V separate from the signals
01:55 PM Tom_L: make sure you use a star ground
01:55 PM Tom_L: i had trouble with the sherline and learned that early on
01:55 PM Tom_L: shielded cables
01:55 PM rue_shop2: hmm
01:55 PM rue_shop2: one connector, seperate cables...?
01:56 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Wiring/Wire2.jpg
01:56 PM Tom_L: stepper wire i used
01:56 PM Tom_L: 3 connectors 3 cables
01:56 PM Tom_L: i forgot what they're called but i like those screw connectors
01:57 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/Control2.jpg
01:57 PM Tom_L: you can almost see them
01:57 PM Tom_L: i keep thinking DIN but they're not
01:58 PM Tom_L: anywhere from 2 to 8? pins
01:58 PM rue_shop2: this uses a db9 and db15
01:58 PM Tom_L: female side is cabinet mount
01:58 PM rue_shop2: rather it wasn't two connectors
01:58 PM Tom_L: will the pins handle the current?
01:58 PM rue_shop2: thats factor
01:58 PM rue_shop2: y
01:58 PM Tom_L: questionable
01:59 PM rue_shop2: I know eh?
02:00 PM Tom_L: here
02:00 PM rue_shop2: see if I can reverse all this
02:00 PM rue_shop2: its simple, but its everywehre
02:00 PM Tom_itx: https://www.jameco.com/z/09CL4M-Switchcraft-4-Pin-DIN-Male-Cord-Plug-Connector_2178620.html?CID=GOOG
02:00 PM Tom_itx: close to that
02:00 PM rue_shop2: they got stuff tied back and forth all over the place
02:00 PM rue_shop2: the sherline used a aircraft connector
02:00 PM rue_shop2: 20 pin or something
02:00 PM rue_shop2: threaded lock
02:01 PM Tom_itx: mine are a bit different but close to that one
02:01 PM rue_shop2: 1 connector is kinda nice
02:01 PM Tom_itx: until it goes bad
02:01 PM rue_shop2: oh
02:01 PM rue_shop2: oh
02:01 PM rue_shop2: I got...
02:01 PM Tom_itx: wtf are those things called...
02:02 PM Tom_itx: https://www.electronicsurplus.com/4-pin-din-m-old-style-audio-conn-metal-amphenol
02:02 PM Tom_itx: closer but still not it and $$$
02:02 PM rue_shop2: I got a aerospace connector like the sherline has for my welder pedal
02:02 PM rue_shop2: I'm not sure how many pins are on it
02:02 PM Tom_itx: just make sure they'll handle 3A
02:03 PM rue_shop2: yep
02:04 PM Tom_L: i _was_ of a mind to get a board for you and send it....
02:06 PM Tom_L: friggin printer wouldn't initialize today
02:06 PM Tom_L: old matrix one
02:06 PM Tom_L: turns out now the pc has to be on or something on the parport wasn't in the right state for it with the pc off
02:07 PM Tom_L: never done that before
02:09 PM rue_shop2: ? ok
02:09 PM rue_shop2: ...
02:09 PM rue_shop2: :]
02:11 PM Tom_L: first for everything i suppose
02:14 PM Tom_L: also i grounded the stepper frames with wire
03:00 PM polprog: rue_shop2: i was adding stuff to https://polprog.net/friends.html and youre the only one without a button
03:01 PM rue_shop3: odd, it was set for full stepping
03:01 PM rue_shop3: hah
03:01 PM rue_shop3: hmmm
03:01 PM rue_shop3: polprog, give me a while to ponder that
03:12 PM polprog: sure
03:19 PM rue_shop3: eeek, as I pull this apart the hacking is bad!
03:19 PM polprog: what are you taking apart
03:33 PM rue_shop3: the controller fo rhte cnc
03:38 PM polprog: ah
03:39 PM polprog: dissertation tomorrow at 10AM
03:39 PM polprog: in 23 hours
03:54 PM polprog: if all goes well in less than I will be an egineer of photonics
03:54 PM polprog: engineer, even
04:10 PM Tom_L: good luck
04:14 PM Tom_L: polprog, done anything with asciidoc? wondered how/if you liked it
04:53 PM rue_shop3: https://discuss.inventables.com/t/meet-sam-bo/19860?page=2
04:54 PM rue_shop2: https://discuss-assets.s3.amazonaws.com/original/3X/6/8/687f0d72ddcd53f3c17d0bfc1a9f1799b65a144c.gif
04:54 PM rue_shop2: https://discuss-assets.s3.amazonaws.com/original/3X/7/d/7d5fee22e276cbda8b18c99650da9669a7ab32a8.jpg
04:55 PM Tom_L: must be talking about the Gecko G540
04:56 PM Tom_L: 3(4?) in one board
04:56 PM rue_shop3: trying to work out the signals on this
04:56 PM rue_shop3: they used pins 11, 12, 13, 14, 15 on the parallel port
04:56 PM rue_shop3: I assume it was set up for machx
04:56 PM rue_shop3: P14 is the spindle control
04:57 PM rue_shop3: but pin 11 and 12 look like xy limits
04:57 PM Tom_L: on what pic?
04:57 PM rue_shop3: implying that 13,15 are z limit?
04:57 PM rue_shop3: on mine
04:57 PM Tom_L: i didn't keep that pdf
04:58 PM rue_shop3: I have to reverse the wiring of the machine itself next
04:58 PM rue_shop3: just finished working out the box
04:58 PM Tom_L: why?
04:58 PM rue_shop3: so I can reconnect to a new controller
04:58 PM rue_shop3: as I'm not gonna use a parallel port
04:58 PM Tom_L: machine -> box should be set
04:58 PM Tom_L: control -> box you figure out
04:58 PM rue_shop3: but I'm redoing in the box
04:59 PM rue_shop3: and it was just run off a parallel port
04:59 PM rue_shop3: so its just power and drivers
04:59 PM rue_shop3: I'm adding the grbl into there
04:59 PM rue_shop3: and the pendant stuff
04:59 PM rue_shop3: and coolant and spindle relay
04:59 PM Tom_L: question is, is is the standard parallel port pinout most breakout boards use?
04:59 PM rue_shop3: and a kitchen sink
04:59 PM Tom_L: mesa
05:00 PM Tom_L: has 2 kitchen sinks
05:00 PM rue_shop3: this looks off compared to what I see on that page
05:00 PM rue_shop3: :)
05:00 PM Tom_L: and can expand as far as needed
05:00 PM Tom_L: using that 26pin (standard pinout for breakouts) or sserial
05:02 PM rue_shop3: grbl is cheaper and easier with commodity parts (tho not nearly as good)
05:03 PM rue_shop3: did you catch that they had the stepper set to full step?
05:03 PM rue_shop3: I wonder why
05:03 PM rue_shop3: maybe they coulnd't get the feed rate thru the parallel port
05:57 PM rue_shop3: oops, I should have taken a pic
05:57 PM rue_shop3: oh well
05:57 PM rue_shop3: I think one of the interconnections was all messed up
06:10 PM Tom_L: what's the screw pitch on those? 5mm?
06:10 PM Tom_L: direct connect?
06:15 PM rue_shop3: 5mm
06:15 PM rue_shop3: with a ratio
06:15 PM Tom_L: belt drive?
06:15 PM rue_shop3: might be 2:1
06:15 PM rue_shop3: yes
06:15 PM rue_shop3: the end stop wiring is messed up
06:16 PM Tom_L: iirc you want NC on those so any interruption will cause a fault for safety
06:17 PM Tom_L: ie broken wire etc
06:18 PM rue_shop3: hmmm.. they...
06:19 PM rue_shop3: limits are NO
06:19 PM rue_shop3: and they combined them
06:20 PM rue_shop3: I THINK the X- is paralleled with Y- and the X+ is paralleled with Y+
06:20 PM rue_shop3: but it was all messed up
06:20 PM rue_shop3: they were labeling wires and one of them is labeled AAA
06:20 PM rue_shop3: which I think is them screaming trying to work it out
06:23 PM rue_shop3: the cables are in pretty bad shape
06:24 PM rue_shop3: will work, but there is stuff like insulation chewed off down to conductors
06:26 PM Tom_L: combined due to no inputs
06:26 PM Tom_L: surely you got some wire
06:27 PM Tom_L: are the limits those little micro switches?
06:29 PM rue_shop3: its helping that someone has done this before
06:29 PM rue_shop3: normal size micros
06:29 PM rue_shop3: but their not side trigger, their striaght on, like , crush it if you miss
06:29 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Wiring/Final_Wiring3.jpg
06:30 PM Tom_L: in front of the plate there
06:30 PM Tom_L: left
06:30 PM Tom_L: you need to change those
06:30 PM Tom_L: you want the rollers
06:30 PM Tom_L: at least i would. they're dirt cheap
06:31 PM Tom_L: https://www.aliexpress.us/item/2251832720998796.html
06:31 PM Tom_L: then you can wire them NO or NC
06:31 PM Tom_L: but i'd do NC
06:32 PM Tom_L: and make sure they 'pull' over the roller, not push
06:33 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Assembly/X_Axis_limit1.jpg
06:33 PM Tom_L: like that
06:34 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Assembly/Z_Axis_Limit3.jpg
06:34 PM Tom_L: i rounded the edge of the plate on Z so it would roll over it easier
06:38 PM rue_shop3: all the origional connections had a blob of silicone on them
06:39 PM rue_shop3: exactly, the stop should not come right into the limit switch
06:40 PM rue_shop3: these are all in crush-mode
07:05 PM rue_shop3: ok, its reversed
07:05 PM rue_shop3: now to go forward again...
07:07 PM rue_shop3: yes, the motors are 2:1 to the ballscrew
07:24 PM rue_shop3: the motors are right at the limit for these drivers
07:24 PM rue_shop3: :/
07:25 PM rue_shop3: 2.5A
07:27 PM rue_shop3: and its overcranked
07:28 PM rue_shop3: er no, its under
09:05 PM Tom_L: man, i haven't had my mill on in some time now
09:29 PM rue_shop3: the controller box has an SSR in it for the spindle
09:29 PM rue_shop3: the spindle control box uses it to turn on an SSR and relay
09:30 PM rue_shop3: the other ssr operates the spindle motor, the the relay operates a braking resistor
09:30 PM rue_shop3: Z120D10
09:30 PM rue_shop3: I suspect its 10A
09:31 PM rue_shop3: yup 10A
09:32 PM rue_shop3: the ssr in the motor controller is 25A
09:33 PM Tom_L: i originally had a SSR on the sherline spindle
09:33 PM rue_shop3: Tom_L, do you have seperate circits for your spindle and the rest of the stuff?
09:33 PM rue_shop3: they did this up so you could use seperate circuits
09:33 PM rue_shop3: but 1HP is only like 7A
09:34 PM Tom_L: yes except the actual analog control
09:34 PM Tom_L: and enable etc
09:34 PM rue_shop3: but the 120V circuits
09:34 PM Tom_L: goes back to my mesa board
09:34 PM Tom_L: high v is separate
09:34 PM rue_shop3: you use the same one for your spindle and controller?
09:34 PM Tom_L: no
09:34 PM Tom_L: in fact there's a contactor on the main control switch that turns on power to the spindle vfd
09:35 PM rue_shop3: k, so do you have 2x 15A 120V circuits for power to it?
09:35 PM Tom_L: naw just one
09:35 PM rue_shop3: ok
09:36 PM rue_shop3: so is the power your on 120 or 240?
09:36 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Spindle/Control_Pannel2.jpg
09:36 PM Tom_L: contactor is in that electrical box above the vfd
09:36 PM rue_shop3: is the whole machine off the supply on the grey cord on the bottom?
09:37 PM rue_shop3: spindle and axies?
09:37 PM Tom_L: no, i don't think you can see the power cord there
09:37 PM Tom_L: it's a power strip
09:37 PM rue_shop3: ok
09:37 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Spindle/Control_Pannel1.jpg
09:37 PM rue_shop3: it all funnels back to a 15A plug?
09:38 PM Tom_L: 2 black cords are the control and vfd
09:38 PM Tom_L: yep
09:38 PM rue_shop3: k, and you never trip that do ya?
09:38 PM Tom_L: never
09:38 PM rue_shop3: right, so I'll be fine with 1 supply
09:38 PM Tom_L: should
09:38 PM rue_shop3: irc you got lots more power than me
09:38 PM Tom_L: 1200w? iirc
09:38 PM Tom_L: spindle
09:38 PM rue_shop3: mine is only 1hp
09:38 PM Tom_L: but the rest doesn't take that much i think
09:39 PM Tom_L: never metered it
09:39 PM rue_shop3: right
09:39 PM rue_shop3: I'll be fine
09:39 PM rue_shop3: ok
09:39 PM rue_shop3: I'll funnel the main spindle power thru the control box then, ok
09:39 PM Tom_L: i'd stick a relay on it separate
09:39 PM Tom_L: iirc my estop trips that... i'd have to double check
09:40 PM Tom_L: or maybe just the enable on the vfd
09:40 PM rue_shop3: its not helping that this box is a bit smaller than the one for the sherline
09:40 PM rue_shop3: the control box
09:40 PM Tom_L: i have a couple din mount relays in the box now for things
09:40 PM Tom_L: i forget what i have them doing now
09:40 PM rue_shop3: working on layout
09:41 PM rue_shop3: came with a 120V fan tho
09:41 PM rue_shop3: they never seem to fail
09:41 PM Tom_L: i tied all the driver enables together
09:41 PM Tom_L: mine has a 120v fan as well
09:42 PM Tom_L: i'm pretty sure i went way overkill on the power supply
09:42 PM Tom_L: i just got those 3 transformers surplus so i used them all
09:42 PM Tom_L: parallel
09:43 PM Tom_L: one probably would have been plenty
09:43 PM Tom_L: iirc 6A ea? i dunno
09:44 PM Tom_L: bigger than the original sherline one for sure
09:44 PM Tom_L: i would have to stall all 3 steppers to even come close
09:50 PM Tom_L: i do know i rewired the e-stop a bit to be a little safer
09:50 PM Tom_L: doesn't kill the electronics but disables the drives and vfd
09:53 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Spindle/Spindle_motor2.jpg
09:53 PM Tom_L: you can see the stepper connectors i used there pretty good
09:56 PM rue_mohr: ohyea, whats digikey say a db25 is current rated for?
09:58 PM Tom_L: no idea
09:59 PM Tom_L: 1A
10:05 PM rue_mohr: the other question I pondered, is, is 16awg enough for the motor?
10:05 PM rue_mohr: 7A yes, sure.
10:09 PM rue_mohr: heh, I might be out of juice for the night
10:09 PM rue_mohr: I forgot to get breakfast supplies
10:13 PM rue_mohr: they put a braking resistor on it
10:13 PM rue_mohr: when the power drops, it kicks in the resistor
10:14 PM rue_mohr: I wonder if the spindown time was really long
10:15 PM rue_shop3: I need to build another pendant reciever
10:23 PM Tom_L: yes 16ga is what most use
10:24 PM Tom_L: i tried heavier wire and it was too big for the gecko connector
10:25 PM Tom_L: i left one or the other as it was, accel or decel but i forget which
10:25 PM Tom_L: i think i decreased the accel time and left the decel alone
10:25 PM Tom_L: didn't take that long for it to stop anyway
10:26 PM Tom_L: external resistor though, the internal one got real hot
10:26 PM Tom_L: on the vfd
10:27 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.8.4/New_Mill_IO_Pinout.pdf
10:27 PM Tom_L: vfd settings are on the last page
10:28 PM rue_shop3: https://www.digikey.ca/en/products/filter/rocker-switches/195?s=N4IgTCBcDaIDICUCCBOAjGkBdAvkA
10:48 PM rue_shop3: NOWHERE does ANYONE say what the pinout is on the switch I have
11:05 PM Tom_L: ohm it out
11:06 PM Tom_L: i had to figure it out for those din mount relays.. turns out they're a standard but i didn't know that
11:30 PM rue_mohr: yea, then I tested the light with a cord
11:30 PM rue_mohr: but, it SHOULD be in the datasheet, its not