5i25/6i25 bitfile for DMB4350-8B bob

More
13 Feb 2021 00:10 #198621 by PCW
So does 10000 work (scaled right) for inches?

You may have set the scale way off in mm so the motion is very small

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

More
13 Feb 2021 00:16 #198623 by 0jw
It's moving in millimeters now but it's still moving twice the distance

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

More
13 Feb 2021 00:28 #198624 by PCW
Sounds like the drive is using 1000 steps/turn
if a stepscale of 393.70079 (0.1968503937 TPMMx2000)
moves twice as far as expected

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

More
13 Feb 2021 00:57 #198628 by 0jw
According to the DYN4 drives manual "Gear_Numis 500, means 2000steps will turn motor ONE revolution, and Gear_Num= 1000, means4000steps will turn motor one revolution.In general, 4 * Gear_Numsteps will turn motor one turn"
it is set to 500 for a 2000 steps per revolution. maybe something to do with older firmware on the drives. I'll try set the drives to (Gear_Num=1000) for 4000 steps per revolution

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

More
13 Feb 2021 01:13 #198630 by 0jw
this didn't fix the problem.

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

More
13 Feb 2021 01:44 #198633 by PCW
Sounds like the DMM scaling is not working as expected.
Does the machine motion change when you change the DMM scaling?

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

More
13 Feb 2021 02:09 #198634 by 0jw
yes it scales accordingly.

with a gear ratio Num of 500x4=2000. 200 steps in pncconf and stepconf will move 1 rotation.
with a gear ratio Num of 1000x4=4000. 400 steps in pncconf and stepconf will move 1 rotation.

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

More
13 Feb 2021 02:18 - 13 Feb 2021 02:20 #198635 by 0jw
I think I will set gearNum 4000x4=16,000 or gearNum 2000x4=8,000 and 1,600 or 800 steps for now. hopefully it is doing something similar to microstepping inside the drives. But I may have to update the firmware.
I don't think this is a problem with new drives. These are from when the dyn4 was first released.
Last edit: 13 Feb 2021 02:20 by 0jw.

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

More
13 Feb 2021 03:52 #198645 by 0jw
X and Y axis are working along with limit switches. but not Z axis. it looks like i need pin 6 for Dir and pin 7 for step. so IO 9 and IO 10

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

More
13 Feb 2021 03:58 #198647 by PCW
Stepgen 2 is on pins 6 and 7:
IO Connections for P3
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1      0   IOPort       PWMGen           0        PWM             (Out)
14      1   IOPort       None
 2      2   IOPort       StepGen          0        Dir             (Out)
15      3   IOPort       None
 3      4   IOPort       StepGen          0        Step            (Out)
16      5   IOPort       None
 4      6   IOPort       StepGen          1        Dir             (Out)
17      7   IOPort       None
 5      8   IOPort       StepGen          1        Step            (Out)
 6      9   IOPort       StepGen          2        Dir             (Out) <<<<<<<<<<
 7     10   IOPort       StepGen          2        Step            (Out) <<<<<<<<<<
 8     11   IOPort       StepGen          3        Dir             (Out) 
 9     12   IOPort       StepGen          3        Step            (Out)
10     13   IOPort       None
11     14   IOPort       QCount           0        Quad-A          (In)
12     15   IOPort       QCount           0        Quad-B          (In)
13     16   IOPort       QCount           0        Quad-IDX        (In)

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

Time to create page: 0.107 seconds
Powered by Kunena Forum