Raspberry Pi 4

More
7 years 1 month ago #145902 by Chris D
Replied by Chris D on topic Raspberry Pi 4
Gene,

Your machine sounds like a sweetheart! Mine is a chinese 9x20 torn down, ball screws added etc. I do have a VFD running a decent motor on it so it does have enough power. Accuracy on it isn't too bad either when it is behaving!

In your configuration, you are relying on the RPI3 for the real-time pulses correct?

Also, if I understand correctly, you are using 2 MPGs as handwheels to be able to run it like a manual lathe. How is the response with the MPGs? Is there a lot of lag time between click and movement or is it fluid? Does the motion continue to run on after you stop spinning the MPG?

Chris

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

More
7 years 1 month ago #145909 by Gene1934
Replied by Gene1934 on topic Raspberry Pi 4

Chris D wrote: Gene,

Your machine sounds like a sweetheart! Mine is a chinese 9x20 torn down, ball screws added etc. I do have a VFD running a decent motor on it so it does have enough power. Accuracy on it isn't too bad either when it is behaving!

In your configuration, you are relying on the RPI3 for the real-time pulses correct?
=====
No, thats the job of the 7i90HD which has a bunch of "canned" functions in it. 72 i/o's altogether. So I still have a bunch of empty terminals.
=====
Also, if I understand correctly, you are using 2 MPGs as handwheels to be able to run it like a manual lathe. How is the response with the MPGs?
=====
As long as the jog thread time is 100hz or more, effectively it is instant. codewize, the machine corrects any positioning errors at .001 second intervals.
=====
Is there a lot of lag time between click and movement or is it fluid?
=====
very fluid in a hacksaw blade way due to the use of steppers. I can control the size of the jog/click to as little as .0001"
=====
Does the motion continue to run on after you stop spinning the MPG?
=====
thats a choice you can configure for when setting the jog mode in the hal file. You can either have it run until its caught up with your cranking, or you can have it stop when the dial stops, throwing away whats left. The dials, at a max jog of 20 thou/click, can outrun the machine as the z speed max is about 50 ipm, while the x speed is about 27 ipm.

Both could stand higher voltage to improve the speed, but its faster than it will ever be cutting unless cutting big coarse threads.

Chris


Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >

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

More
7 years 1 month ago #145910 by Gene1934
Replied by Gene1934 on topic Raspberry Pi 4
I just rebuilt lcnc, on the rpi4 using this code you just posted, Too late to go make a cable, but if I can make it all behave tomorrow, I'll take it for a walk with one of my damaged 7i90's for a test load. For those curious about build times:
real 16m43.842s
user 37m1.139s
sys 6m25.272s
Thats not at all shabby.

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >

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

More
7 years 1 month ago #145911 by cakeslob
Replied by cakeslob on topic Raspberry Pi 4
ok, with that new hm2_rpspi i get this error.
Code:
Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 hm2_rpspi: Short read from '/proc/device-tree/model'; read=31 required>=4294967295 hm2_rpspi: Unsupported Platform. hm2_rpspi: rtapi_app_main: Operation not permitted (-1)

Code:
// Info about the hardware platform if(!(buf = read_file("/proc/device-tree/model", 255, -1))) { rtapi_print_msg(RPSPI_ERR, "hm2_rpspi: Unsupported Platform.\n"); return -1;

i dont understand what this new part is asking

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

More
7 years 1 month ago - 7 years 1 month ago #145913 by Bertho
Replied by Bertho on topic Raspberry Pi 4
Well, I do understand it, because I made a mistake.
line1093: if(fsize < minsize) {

Should read:
line1093: if(fsize < nn) {

(that is in line 1233 in PCW's version with the additional cards)

It makes the wrong check. The minsize is about 4G and that is always larger than reading a very small string...

(There may be other dumb mistakes)

Fixed version with additional boards incorporated at: github.com/BsAtHome/linuxcnc/blob/hm2_rp...hostmot2/hm2_rpspi.c

--
Greetings Bertho
Last edit: 7 years 1 month ago by Bertho.

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

More
7 years 1 month ago #145953 by Gene1934
Replied by Gene1934 on topic Raspberry Pi 4
that file is displayed, but I don't see a way to
"save" it.

However I don't think its going to fix my buster problems. Sniff.

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >

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

Time to create page: 0.183 seconds
Powered by Kunena Forum