BOB does not generete step

More
28 Oct 2020 18:04 #187597 by veroski
good evening, i am new to linuxcnc and i wanted to ask you for a hand

I tried to control the Nema 23 motor and the driver (online stepper dm542t) through the BOB bought here

www.amazon.it/Macchina-Incisione-Interfa...+%2Caps%2C188&sr=8-5

to create my .hal and .ini file I used the stepconf tool but when I have to test the engine, it doesn't run. so I performed these operations to resolve various doubts:

- I tried to control the driver with arduino by creating a pwm generator, and everything works
- i tried to check the output voltage at pin step and pin dir, on step pin there is not voltage and on pin pin there is.
- I tried to change parallel port to verify that the problem was not upstream

can you give me a hand to solve the problem? I don't know how to proceed anymore. thanks

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

More
28 Oct 2020 18:11 - 28 Oct 2020 18:12 #187599 by BeagleBrainz
Could you please attach your hal & ini files please.

Could you also give the output of
lspci -vn
just the info about the parallel port will be fine
&
dmesg | grep -i " par"

Also could provide some information about your computer, whether the Parallel Port is built on to the motherbord or a PCI - PCIe card and the version of Linuxcnc ?
Last edit: 28 Oct 2020 18:12 by BeagleBrainz.

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

More
28 Oct 2020 18:32 #187602 by veroski
Replied by veroski on topic BOB does not generete step
lspci -vn
10:00.0 0701: 14db:2121 (prog-if 02 [ECP])
Subsystem: 14db:2121
Physical Slot: 1-1
Flags: medium devsel, IRQ 20
I/O ports at 1100
I/O ports at 1110
I/O ports at 1108
I/O ports at 1114
Capabilities: <access denied>
Kernel driver in use: parport_pc
Kernel modules: parport_pc

dmesg | grep "parport"

[ 4.265354] parport0: PC-style at 0x1100 (0x1110), irq 20 [PCSPP,TRISTATE,EPP]
[ 4.362932] lp0: using parport0 (interrupt-driven).
[ 4.363049] parport1: PC-style at 0x1108 (0x1114), irq 20 [PCSPP,TRISTATE,EPP]
[ 4.473946] lp1: using parport1 (interrupt-driven).

the computer is hp compaq 6000
linuxcnc version is 2.9 pre
the parallel port is on pci

linuxcnc read my parallel port bcause when i run ptest.hal it does not give me anyone errors

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

More
28 Oct 2020 19:08 #187606 by veroski
Replied by veroski on topic BOB does not generete step
i think that resolve this. i confirm that later

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

More
28 Oct 2020 20:06 #187615 by veroski
Replied by veroski on topic BOB does not generete step
yes i solved, thanks for the help

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

More
28 Oct 2020 20:32 #187622 by BeagleBrainz
So what did you do to resolve the issue, just in case anyone else has the same issue.

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

More
29 Oct 2020 09:01 #187665 by veroski
Replied by veroski on topic BOB does not generete step
yes, it was just a connection problem. I remind everyone that to make the BOB work with the drive, you have to put the negative in common between the two systems
The following user(s) said Thank You: BeagleBrainz

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

More
29 Oct 2020 09:08 #187667 by BeagleBrainz
Yes an easy one to make. ;)

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

Moderators: PCWjmelson
Time to create page: 0.110 seconds
Powered by Kunena Forum