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

More
1 year 3 months ago #331759 by meister
@epineh please add you config

@Tim Bee

you need to use rio.enc0.position, this is the floating point value.

there is no raw value without scale calculation, but if you really need one, i will check to add it
The following user(s) said Thank You: Tim Bee

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

More
1 year 3 months ago #331761 by Tim Bee
@meister

I'm sorry, i miss the rio.enc0.position pin ^_^

Tim
The following user(s) said Thank You: meister

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

More
1 year 3 months ago - 1 year 3 months ago #331810 by epineh
I've attached the config, this is a basic test setup, axis setups work. With the WLED expansion plugin loaded it will compile/flash/run LinuxCNC no issues, but when I add a Blink plugin, and tie it to the WLED0 blue LED it won't compile.

Cheers.
Russell.

 

File Attachment:

File Name: Karen.zip
File Size:832 B
Last edit: 1 year 3 months ago by epineh.
The following user(s) said Thank You: meister

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

More
1 year 3 months ago #331811 by meister
ok, found the bug, sorry, is fixed in main and dev
The following user(s) said Thank You: epineh

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

More
1 year 3 months ago #331837 by epineh
Awesome thank you, I'll update and check that out tonight. 

I don't want to push my luck but would it be possible to have a dual timer plugin? It would be for lube pumps mainly, so generally they turn on when the machine starts, run for 10 seconds then off, and turn on for 10 seconds every 20 minutes after that. 

I guess the blink could be modified for longer frequency but both the on and off time needs to be adjustable.

Cheers.
Russell.
The following user(s) said Thank You: meister

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

More
1 year 3 months ago #331849 by meister
i will add a new plugin named 'interval' or so.
then you can configure the on-time and the interval-time via gui/hal

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

Time to create page: 0.544 seconds
Powered by Kunena Forum