Zenford Zeigler Retrofit

More
29 May 2018 11:56 - 29 May 2018 11:58 #111251 by andypugh
Replied by andypugh on topic Zenford Zeigler Retrofit
Sorry, I hadn't followed the link you gave.

To be honest $250 for 5 spare drives looks like an excellent buy. I think I would have already bought it if I was in your situation.

(If you look under "sold items" they seem to fetch decent money, you might even make a profit if you decide to move on to different drives later. But for now I would get the machine working as-is.)
Last edit: 29 May 2018 11:58 by andypugh.

Please Log in or Create an account to join the conversation.

More
29 May 2018 11:59 #111252 by andypugh
Replied by andypugh on topic Zenford Zeigler Retrofit
Also I see that he is offering "Test before purchase" so it seems low-risk to buy that set.

Please Log in or Create an account to join the conversation.

More
29 May 2018 12:44 #111255 by snoozer77
Replied by snoozer77 on topic Zenford Zeigler Retrofit
i was thinking the same. Just needed someone say to go for it... haha.

I have to head to Melbourne on the weekend. might offer $200 and see how i go. I guess they can only say no. :)

Please Log in or Create an account to join the conversation.

More
29 May 2018 12:50 #111256 by snoozer77
Replied by snoozer77 on topic Zenford Zeigler Retrofit
Didnt bother asking to lower the price. just bought them.

Surely i can get 3 drives working with the 9 drives i will have available...

Please Log in or Create an account to join the conversation.

More
06 Jun 2018 11:17 #111739 by snoozer77
Replied by snoozer77 on topic Zenford Zeigler Retrofit
Hi Andy.

Got the drives. They ended up being removed from the same machine as i have. That was nice to know. The guy i got them off retrofitted to Mach 3.

I have been playing with the toolchange drive and motor, and have got them operational.

I have also installed linuxcnc on a pc and installed my 5i24 with 7i49 connected.

Was just wondering what process you recommend for doing some initial setup and testing using the 1 drive and motor i have at home? Im using the toolchange motor and drive as it is single phase and i can work on it at home easier.

I have flashed the 5i24 with the 5i24_sv6_7i49 configuration.

Should i now setup a config in the wizard with 5i23 and edit as required by hand?

Will i need a different firmware when connecting 5i24, 7i49, 7i44, 7i84??

Sorry about all the questions. If there is any reading you suggest i do, that would be great.

Cheers

Matt

Please Log in or Create an account to join the conversation.

More
06 Jun 2018 11:36 #111740 by andypugh
Replied by andypugh on topic Zenford Zeigler Retrofit

snoozer77 wrote: Was just wondering what process you recommend for doing some initial setup and testing using the 1 drive and motor i have at home? Im using the toolchange motor and drive as it is single phase and i can work on it at home easier.

Does PnCConf know about the 7i49? If it does then everything will probably be fairly easy.
Even if it doesn't you have a fairly easy-to-configure set of components (compared to some).


I have flashed the 5i24 with the 5i24_sv6_7i49 configuration.

If you can find something like 5i24_RMSVSS6_6.bit then that would be better:
The pin layout looks like this:
github.com/LinuxCNC/hostmot2-firmware/bl...N_RMSVSS6_6_8_72.vhd
I have exactly the right bitfile for your hardware, but it is at home on my lathe. I will try to remember to find out what it is.


Should i now setup a config in the wizard with 5i23 and edit as required by hand?

That's probably the best place to start.

Please Log in or Create an account to join the conversation.

More
06 Jun 2018 11:49 #111741 by snoozer77
Replied by snoozer77 on topic Zenford Zeigler Retrofit
Thanks Andy. Will have a read and bit of a play. :)

Please Log in or Create an account to join the conversation.

More
06 Jun 2018 15:54 #111764 by andypugh
Replied by andypugh on topic Zenford Zeigler Retrofit
I can't find the bitfile I used. (Which is something of a worry).

It looks just like 5i24_16_rmsvss8_8 though, but without the encoder / pwm things on the middle connector.

You need to choose 5i24_16 or 5i24_25 based on the size of the FPGA on your 5i24.

The anything with RM and SS in the name will run your 7i49 (I think). I don't believe that you explicitly need 7i49 in the file name.

I have attached my lathe HAL and INI. They will only be partially helpful because I use brushless motors and software commutation and emulate absolute encoders in HAL and only have two axes...
Attachments:
The following user(s) said Thank You: snoozer77

Please Log in or Create an account to join the conversation.

More
09 Jun 2018 05:29 #112053 by snoozer77
Replied by snoozer77 on topic Zenford Zeigler Retrofit
Hi Andy.
Been looking at the Hal and ini files you attached. Im looking through the linuxcnc docs to try get a better understanding of what all the code means.
I have flashed the 5i24_25_rmsvss6_8.bit config to my 5i25-25. Im now looking to do a super basic setup using 1 servo motor, drive with Tach input with resolver feedback into the 7i49.
Am i right to assume (which i should never do coz im always wrong..haha) That i could use your holbrook lathe ini and hal files, and modify them to a basic level? i have a set of your holbrook hal and ini files you posted on another forum post (Hardinge HC Bandit Retrofit) that has alot of stuff edited out.
Do you think i should start with these files and remove things like amp enables, limit switches, e stops, toolchangers etc, to get a basic setup to start up. I tried running the files as is, but get an error on startup.

Any thoughts would be greatly appreciated.

Cheers

Matt

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.7.13
Machine configuration directory is '/home/matt/linuxcnc/configs/Holbrook'
Machine configuration file is 'Holbrook.ini'
INIFILE=/home/matt/linuxcnc/configs/Holbrook/Holbrook.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=touchy
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./Holbrook.hal
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=4683
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/trivkins.ko: Unknown symbol in module
./Holbrook.hal:2: exit value: 1
./Holbrook.hal:2: insmod for trivkins failed, returned -1
See the output of 'dmesg' for more information.
4683
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Jun 2018 15:59 - 09 Jun 2018 15:59 #112076 by andypugh
Replied by andypugh on topic Zenford Zeigler Retrofit
You can experiment on the bench with a very minimal HAL. (you can even type it in line-by-line at the halcmd prompt)
halrun
starts a new HAL session. You can use tab-completrion to help with the commands from now on
loadrt hostmot2
loadrt hm2_pci
loadrt threads
addf hm2_5i24.0.read thread1
addf hm2_5i24.0.write thread1
start
And now things should all be working, but you can't tell.
loadusr halmeter pin hm2_5i24.0.resolver-00.position
setp hm2_5i24.0.analogout.00.vale 0.2
and so on.
Last edit: 09 Jun 2018 15:59 by andypugh.

Please Log in or Create an account to join the conversation.

Moderators: piasdom
Time to create page: 0.124 seconds
Powered by Kunena Forum