Motenc Lite

More
8 years 3 weeks ago #118588 by partec
Motenc Lite was created by partec
Current release: 2.7.14

Motenc Lite

I/O levels are read or written to physical pins, we can measure signal levels

DAC write does not take effect on physical pins, we can not measure any adequate levels

is there eventually something not perfect in motenc driver in release: 2.7.14

Please Log in to join the conversation.

More
8 years 3 weeks ago #118590 by andypugh
Replied by andypugh on topic Motenc Lite
Is the dac_write function added to a thread?

linuxcnc.org/docs/2.7/html/drivers/motenc.html

Please Log in to join the conversation.

More
8 years 3 weeks ago #118592 by partec
Replied by partec on topic Motenc Lite
we think so, in the picture the dac value is shown

Please Log in to join the conversation.

More
8 years 3 weeks ago #118595 by andypugh
Replied by andypugh on topic Motenc Lite
I thought you were saying that the HAL value is not being written to the hardware?

What does "halcmd show funct" show (in a terminal)

Please Log in to join the conversation.

More
8 years 3 weeks ago #118596 by partec
Replied by partec on topic Motenc Lite
er@rosa:~$ halcmd show funct
Code:
Exported Functions: Owner CodeAddr Arg FP Users Name 00010 f830c2d0 f8d89ed0 YES 0 motenc.0.adc-read 00010 f830c160 f8d89ed0 YES 1 motenc.0.dac-write 00010 f830c380 f8d89ed0 NO 1 motenc.0.digital-in-read 00010 f830c450 f8d89ed0 NO 1 motenc.0.digital-out-write 00010 f830c000 f8d89ed0 YES 1 motenc.0.encoder-read 00010 f830c4e0 f8d89ed0 NO 1 motenc.0.misc-update 00007 f841a990 00000000 YES 1 motion-command-handler 00007 f841d450 00000000 YES 1 motion-controller 00009 f84ea000 f8d89c20 YES 1 pid.0.do-pid-calcs 00009 f84ea000 f8d89cc4 YES 1 pid.1.do-pid-calcs 00009 f84ea000 f8d89d68 YES 1 pid.2.do-pid-calcs er@rosa:~$

Please Log in to join the conversation.

More
8 years 3 weeks ago #118598 by andypugh
Replied by andypugh on topic Motenc Lite
You are not using adc-read, is that deliberate?

Can you attach the HAL file?

Please Log in to join the conversation.

More
8 years 3 weeks ago #118599 by partec
Replied by partec on topic Motenc Lite
er@rosa:~$ halcmd show funct
Exported Functions:
Owner CodeAddr Arg FP Users Name
00010 f830c2d0 f8d89ed0 YES 0 motenc.0.adc-read
00010 f830c160 f8d89ed0 YES 1 motenc.0.dac-write
00010 f830c380 f8d89ed0 NO 1 motenc.0.digital-in-read
00010 f830c450 f8d89ed0 NO 1 motenc.0.digital-out-write
00010 f830c000 f8d89ed0 YES 1 motenc.0.encoder-read
00010 f830c4e0 f8d89ed0 NO 1 motenc.0.misc-update
00007 f841a990 00000000 YES 1 motion-command-handler
00007 f841d450 00000000 YES 1 motion-controller
00009 f84ea000 f8d89c20 YES 1 pid.0.do-pid-calcs
00009 f84ea000 f8d89cc4 YES 1 pid.1.do-pid-calcs
00009 f84ea000 f8d89d68 YES 1 pid.2.do-pid-calcs

Please Log in to join the conversation.

More
8 years 3 weeks ago #118609 by andypugh
Replied by andypugh on topic Motenc Lite
Are there other HAL files? That one has no connection from the PID to Xoutput (etc)

Please Log in to join the conversation.

More
8 years 3 weeks ago #118612 by partec
Replied by partec on topic Motenc Lite
it is almost same as the installed example of the image distribution 2.7.14


some news:

the same configuration works perfect on wheezy 2.7.14 when using together with any appropriate mainboard

but not works with eBPC-300 Alptech Elektronik GmbH (seems hardware is not compatible with Motenc Lite)

I am sorry for coming up with my request here yesterday and many thanks for all your famous work at all this stuff !

Please Log in to join the conversation.

More
8 years 3 weeks ago #118639 by andypugh
Replied by andypugh on topic Motenc Lite
That is very strange. Very strange indeed.

It might be a faulty PCI port, or maybe just a dirty one.

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum