LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
1 year 3 months ago #332507 by meister
@Russell should work, but modbus is very very slow, so not usable for things like servo motors.

@mBender:

you can overwrite all ini parameters in the json config and also add MDI commands:
Code:
"linuxcnc": { "gui": "axis", "ini": { "HALUI": { "MDI_COMMAND|Go To Zero": "G0 X0 Y0", "MDI_COMMAND||Gripper|0": "M68 E0 Q-100", "MDI_COMMAND||Gripper|25": "M68 E0 Q-75", "MDI_COMMAND||Gripper|50": "M68 E0 Q0", "MDI_COMMAND||Gripper|75": "M68 E0 Q75", "MDI_COMMAND||Gripper|100": "M68 E0 Q100" }, "DISPLAY": { "MAX_LINEAR_VELOCITY": 60.0, "MAX_ANGULAR_VELOCITY": 60.0 } },

you can also add your own .hal file to postgui_call_list.hal (this entry will not be overwritten)

# cat Output/TangNano9K/LinuxCNC/postgui_call_list.hal
Code:
source custom_postgui.hal source my-own.hal


about the laptop/PC, try to reinstall the rio.c component:
Code:
sudo halcompile --install riocore/files/rio.c

Please Log in to join the conversation.

More
1 year 3 months ago #332508 by meister
you can also set the ini defaults in the setup gui:

Attachment not found

Please Log in to join the conversation.

More
1 year 3 months ago #332516 by epineh
Yep cool, I am thinking of things like feedrate override, jog speed, rapid override etc nothing "realtime". We have noticed Modbus is slow with general IO, horses for courses I guess.

I've had more electronic parts turn up today so I plan to get busy on the weekend and start testing Riosub over the next few weeks. I've got 4 and 6 axis closed loop controller boards ready to test, both with dual Modbus connections and shift register out, so I can trial multiple combinations... will keep you posted. 

Cheers,
Russell.

Please Log in to join the conversation.

More
1 year 3 months ago #332518 by meister

Please Log in to join the conversation.

More
1 year 2 months ago #333026 by mBender

Code:
[code]about the laptop/PC, try to reinstall the rio.c component: [code]sudo halcompile --install riocore/files/rio.c
[/code][/code]


 

It worked, problem was on the hadrware side. Another USB Hub did the trick.

Please Log in to join the conversation.

More
1 year 2 months ago #333179 by probotix
@mBender
Where you at in Florida? How can I contact you?

JCLPCB delivered my self made PCB board. Testing ongoing. I had to order 5 boards. If anyone is interested in one, I have a few spares. Located in the Florida USA. 

Please Log in to join the conversation.

More
1 year 2 months ago #333205 by mBender
I guess the easiest is find me on Facebook. Mike Bender, I'm in St Lucie County,but can ship everywhere. 

Please Log in to join the conversation.

More
1 year 2 months ago #333449 by epineh
Just wondering if the existing tang primer 20K plugin will work for the tang primer 20k Lite board? It is a simpler board than the dev board and has 117 available IO. It's not a great deal more expensive than the nano9k.

Please Log in to join the conversation.

More
1 year 2 months ago #333452 by meister
> Just wondering if the existing tang primer 20K plugin will work for the tang primer 20k Lite board?

works !

Please Log in to join the conversation.

More
1 year 2 months ago #333467 by epineh
I am going to see what we can squeeze out of the Nano9K for now, but its nice to know we can use something with a lot of direct IO in the future if needed. That 20K Lite board is a pretty solid option.

Cheers.
Russell.

Please Log in to join the conversation.

Time to create page: 0.324 seconds
Powered by Kunena Forum