ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board

More
3 years 10 months ago #258704 by wuyatom
Did you post it in the previous post, I saw it in the previous post

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

More
3 years 10 months ago - 3 years 10 months ago #258705 by wuyatom
Did you post it in the previous post, I saw it in the previous post,I tested it with a servo motor connected to J9-1 and J9-2 last night. I tried both the speed mode and the position mode of the servo. The motor does not turn, and then I use the stepper motor to go to the pulse mode, but it doesn’t work. J9-1 and J9-2 run the code to measure the voltage change。Use your default configuration in the hal example,There is another question I would like to ask you. I use the USB BLASTER to flash the firmware. The command is openFPGALoader -c usb-blaster -m, but I have to flash the firmware again after power off. Can it be permanent?
Last edit: 3 years 10 months ago by wuyatom.

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

More
3 years 10 months ago #258706 by muvideo
The option for flashing in the eeprom is -f, I'm using this command:
openFPGALoader --unprotect-flash -c ft232 -f Lcnc.bit

So if I remember correctly, J9-1 and J9-2 are step and direction of stepgen zero for your confiiguration.
Do you have a multimeter to check if the board is geenrating any voltage on these pins?
I would start with the simplest configuration possible:
Use HAL.hal in support files, use halshow to check the pins status and set them manually. Start first with the board enabling sequence, as expained in the readme, then adde all the pins and parameters of the stepgen 0 and if everything is right once you set the velocity command to a value other than zero you should see the position feedback in halshow change and see the pulses on the pins. If there are no pulses but the position is changing then maybe there is some problem in your pin mapping.

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

More
3 years 10 months ago #258710 by wuyatom
The voltage of J9-1 only fluctuates by 1-2V, and J9-2 will fluctuate by 3-6V. Because the power supply I use is 6.2V, it will only be generated when running the code. I tested it in jog mode, and J9- 1 and J9-2 are the Z axis, J9-3 and J9-5 are the Y axis, 67 is the X axis

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

More
3 years 10 months ago #258792 by wuyatom
It's ready to run. It's my wiring problem

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

More
3 years 10 months ago #258891 by wuyatom
I tested it. When running the code, I found that the value of the G54 coordinates will always be offset by 0.01, sometimes it will become larger and sometimes it will be smaller.

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

Moderators: PCW, jmelson
Time to create page: 0.152 seconds
Powered by Kunena Forum