01:31:17 CNC_Workshop has quit 02:14:56 jmkasunich has joined #emc-mazak 06:07:56 jmkasunich has quit 07:12:44 steves_logging has quit 07:42:48 alex_joni has joined #emc-mazak 13:58:22 steves_logging has joined #emc-mazak 14:49:34 CNC_Workshop has joined #emc-mazak 14:59:38 Hi guys. 14:59:59 rayh-away is now known as rayh 15:00:13 I'll take a minute to update the wiki diary. 15:00:14 morning rayh 15:00:31 alex. The mods you did for spindle reversing work great. 15:00:39 glad to hear that 15:00:53 Life is good. 15:01:04 * alex_joni is tired :( 15:01:14 think I went to bed too early last night 15:01:24 We stuffed a tool into the magazine last night. 15:01:33 cool 15:01:48 Was able to load it into the transfer arm and from there to under the spindle. 15:02:03 I need to change spindle orientation and then we should be able to 15:02:09 manually change tools. 15:02:17 Next is the ladder for that. 15:02:35 Does iocontrol forward the tool prepare message. 15:02:48 if so, how do we handle the pocket number? 15:03:08 You tirred from to much sleep? 15:06:17 probably 15:06:20 hang on a bit 15:06:25 * alex_joni is busy 10 mins 15:07:57 No problem. I just fired up the machine. 15:12:34 you need to tell me how tool changing works now in hal 15:12:49 got some pins for the different tools? 15:12:57 or a pin that tells what tool to load? 15:13:05 I can then add the stuff to iocontrol. 15:17:49 Okay. I'll have to think on this for a bit. 15:18:23 I believe that the tool prep NML passes the number of the next tool's pocket. 15:18:28 yes 15:18:34 and that reaches iocontroller 15:18:42 which should just turn on some hal-pins 15:18:52 In this case it would be a number between 0 and 24 15:18:57 but either one hal-pin for each tool (which is a lot) 15:19:06 but maybe other machines would want more tools? 15:19:25 The location of the magazine is handled by five prox switches. 15:21:24 They are labeled 2 to the power of 0 15:21:30 2 to the power of 1 15:21:44 2 to the power of 2 15:21:55 2 to the power of 3 15:21:58 I see.. so some basic decoding 15:22:16 They read holes in the steel ring that holds tools. 15:22:40 ok I suggest a small hal-module then 15:22:45 specific for this job 15:23:01 because ladder for this might be very big 15:23:11 Then there is a magazine in position prox 15:24:38 * alex_joni goes home 15:24:46 back in 30 mins I think 15:24:52 k 15:25:00 think about it :) 15:25:04 * alex_joni will do that too 15:25:14 alex_joni has quit 15:43:34 CNC_Workshop has quit 15:45:38 CNC_Workshop has joined #emc-mazak 17:29:00 alex_joni has joined #emc-mazak 17:29:09 * alex_joni is finally back 17:34:31 CNC_Workshop: drop me an email if anything happens 17:35:09 alex_joni has left #emc-mazak 21:12:15 CNC_Workshop has quit 21:15:31 CNC_Workshop has joined #emc-mazak 21:16:20 logger_mzk has joined #emc-mazak 21:16:20 topic is: "Mazak EMC retrofit. X and Y homing and moving nicely. Spindle drive works too. Working on Z now." 21:16:20 Users on #emc-mazak: logger_mzk CNC_Workshop steves_logging anonimasu mshaver rayh fenn @ChanServ 21:55:15 alex_joni has joined #emc-mazak 23:34:21 alex_joni has left #emc-mazak 23:35:42 Okay. We have changed tools! 23:35:53 Now we have a lot of work to do. 23:36:42 I need to add a stack of prox switches to the HAL. 23:37:22 Then I need to link them to cl. 23:38:11 The NML tool prep message delivers a next tool number. 23:38:39 Need to compare that number to current position 23:39:17 and select the shortest direction magazine-forward or magazine-reverse 23:39:41 and count up or down to reach the needed tool. 23:44:03 roland manufactured a small "tuning fork" looking tool to sit in the tool holder notch and, with the spindle off, rotate the spindle dog into it. 23:45:16 Then we could read the spindle encoder position, and enter that value into the ini file's ORIENT_POSITION. 23:45:26 Worked like a charm the first time. 23:52:23 Wrote a small tickle script with buttons to speed up the reaction time.