ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
30 Dec 2023 09:03 #289364
by Ehsan_R
Replied by Ehsan_R on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Hello
Can I use this firmware and driver for 5A-75E8.2 (version 8.2)?
Can I use this firmware and driver for 5A-75E8.2 (version 8.2)?
Please Log in or Create an account to join the conversation.
30 Dec 2023 13:50 - 30 Dec 2023 13:55 #289377
by Mecanix
Replied by Mecanix on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
oops, wrong thread. misleading. ([delete])
Last edit: 30 Dec 2023 13:55 by Mecanix.
Please Log in or Create an account to join the conversation.
30 Dec 2023 14:32 #289381
by TOLP2
Replied by TOLP2 on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Yes, you can! Use the version 6.0 as board version, it has the same pinout.Hello
Can I use this firmware and driver for 5A-75E8.2 (version 8.2)?
Please Log in or Create an account to join the conversation.
05 Jan 2024 21:14 #289903
by Ehsan_R
Replied by Ehsan_R on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I have just joined the LinuxCNC community and as my first experience working with LinuxCNC software, I plan to use an 5A-75E8.2 board and LiteX-CNC.
Therefore, I request users who have worked with this board to share with me a complete example of how to configure their Hal and INI files.
And also guide me on how to get encoder values and create a closed loop system for each axis.
Many thanks
Therefore, I request users who have worked with this board to share with me a complete example of how to configure their Hal and INI files.
And also guide me on how to get encoder values and create a closed loop system for each axis.
Many thanks
Please Log in or Create an account to join the conversation.
08 Apr 2024 11:05 #297801
by wzor
Replied by wzor on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Is the project still alive? No movement for three months(
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 18340
- Thank you received: 6093
08 Apr 2024 11:13 #297802
by tommylight
Replied by tommylight on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
3 github links on at the start of this topic, 1 was updated 3 weeks ago, 1 a month ago, and on seems nothing changed for 2 years.
forum.linuxcnc.org/27-driver-boards/4442...board?start=0#228191
So it is still alive, although if stuff is working properly, there would be need for changes.
forum.linuxcnc.org/27-driver-boards/4442...board?start=0#228191
So it is still alive, although if stuff is working properly, there would be need for changes.
Please Log in or Create an account to join the conversation.
08 Apr 2024 12:06 #297805
by cornholio
Replied by cornholio on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Most of these projects are helped along by others finding an issue or coming up with improvements, suggestions or additions.
If the project is in a solid working state sometimes it won’t “progress”, especially if the developer has it a point that it’s working for them.
Take the mesa firmware code base, going by the code released it doesn’t get updated often but works fine. The most recent updates are to support the change of FPGA brand.
At the end of the day it comes down to users being active in a project, one guy can’t be expected to do everything.
If the project is in a solid working state sometimes it won’t “progress”, especially if the developer has it a point that it’s working for them.
Take the mesa firmware code base, going by the code released it doesn’t get updated often but works fine. The most recent updates are to support the change of FPGA brand.
At the end of the day it comes down to users being active in a project, one guy can’t be expected to do everything.
Please Log in or Create an account to join the conversation.
07 May 2024 08:50 #300018
by Ehsan_R
1- When I close the linuxcnc software or press the estop key, the motors start moving.
2- For homing using encoder z pulse, after receiving the z pulse instead of stopping, it makes a strange movement at full speed and then stops.
I posted this problem before but couldn't find a solution for it.
Does anyone have any suggestions for solving these problems?
Replied by Ehsan_R on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I made a header board for 5A-75E8.2 and started testing the litexcnc firmware and encountered the following problems.3 github links on at the start of this topic, 1 was updated 3 weeks ago, 1 a month ago, and on seems nothing changed for 2 years.
forum.linuxcnc.org/27-driver-boards/4442...board?start=0#228191
So it is still alive, although if stuff is working properly, there would be need for changes.
1- When I close the linuxcnc software or press the estop key, the motors start moving.
2- For homing using encoder z pulse, after receiving the z pulse instead of stopping, it makes a strange movement at full speed and then stops.
I posted this problem before but couldn't find a solution for it.
Does anyone have any suggestions for solving these problems?
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt litexcnc connections="eth:10.0.0.10"
loadrt estop_latch
loadrt pid names=pid.x,pid.z,pid.y,pid.a,pid.s
addf estop-latch.0 servo-thread
addf 5A-75B:V8.2.read servo-thread
addf 5A-75B:V8.2.write servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf pid.a.do-pid-calcs servo-thread
addf pid.s.do-pid-calcs servo-thread
setp 5A-75B:V8.2.watchdog.has_bitten 0
setp 5A-75B:V8.2.watchdog.timeout_ns 1500000
# Tie the watchdog into the E-STOP chain
net estop-loopout iocontrol.0.emc-enable-in <= estop-latch.0.ok-out
net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in
net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset
net remote-estop estop-latch.0.fault-in <= 5A-75B:V8.2.watchdog.has_bitten
# More sources for E-stop (such as a GPIO-in) can be added to this E-Stop circuit.
#*******************
# AXIS A JOINT 3
#*******************
setp pid.a.Pgain [JOINT_3]P
setp pid.a.Igain [JOINT_3]I
setp pid.a.Dgain [JOINT_3]D
setp pid.a.bias [JOINT_3]BIAS
setp pid.a.FF0 [JOINT_3]FF0
setp pid.a.FF1 [JOINT_3]FF1
setp pid.a.FF2 [JOINT_3]FF2
setp pid.a.deadband [JOINT_3]DEADBAND
setp pid.a.maxoutput [JOINT_3]MAX_OUTPUT
setp pid.a.error-previous-target true
net encoder-counts <= 5A-75B:V8.2.encoder.03.counts
net a-indea-enable => pid.a.indea-enable <= joint.3.indea-enable => 5A-75B:V8.2.encoder.03.indea-enable
net a-enable pid.a.enable <= joint.3.amp-enable-out => 5A-75B:V8.2.stepgen.03.enable => 5A-75B:V8.2.gpio.j1:3.out
net a-pos-cmd joint.3.motor-pos-cmd => pid.a.command
net a-vel-fb 5A-75B:V8.2.encoder.03.velocity => pid.a.feedback-deriv
net axis.3.motor-pos-fb <= 5A-75B:V8.2.encoder.03.position => pid.a.feedback
net a-output pid.a.output => 5A-75B:V8.2.stepgen.03.velocity-cmd
setp 5A-75B:V8.2.stepgen.03.position-scale [JOINT_3]STEP_SCALE
setp 5A-75B:V8.2.stepgen.03.steplen [JOINT_3]STEPLEN
setp 5A-75B:V8.2.stepgen.03.stepspace [JOINT_3]STEPSPACE
setp 5A-75B:V8.2.stepgen.03.dir-hold-time [JOINT_3]DIRHOLD
setp 5A-75B:V8.2.stepgen.03.dir-setup-time [JOINT_3]DIRSETUP
setp 5A-75B:V8.2.stepgen.03.maa-velocity [JOINT_3]MAX_VELOCITY
setp 5A-75B:V8.2.stepgen.03.maa-acceleration [JOINT_3]STEPGEN_MAXACCEL
setp 5A-75B:V8.2.encoder.03.x4_mode
net a-home-sw => joint.3.home-sw-in
Please Log in or Create an account to join the conversation.
Time to create page: 0.128 seconds