Motenc Lite
09 Oct 2018 15:01 #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
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 or Create an account to join the conversation.
09 Oct 2018 15:11 #118590
by andypugh
Replied by andypugh on topic Motenc Lite
The following user(s) said Thank You: partec
Please Log in or Create an account to join the conversation.
09 Oct 2018 15:22 - 09 Oct 2018 15:23 #118592
by partec
Replied by partec on topic Motenc Lite
we think so, in the picture the dac value is shown
Last edit: 09 Oct 2018 15:23 by partec.
Please Log in or Create an account to join the conversation.
09 Oct 2018 15:48 #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)
What does "halcmd show funct" show (in a terminal)
Please Log in or Create an account to join the conversation.
09 Oct 2018 16:18 - 09 Oct 2018 16:41 #118596
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
er@rosa:~$
Last edit: 09 Oct 2018 16:41 by andypugh.
Please Log in or Create an account to join the conversation.
09 Oct 2018 16:42 #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?
Can you attach the HAL file?
Please Log in or Create an account to join the conversation.
09 Oct 2018 16:54 #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
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 or Create an account to join the conversation.
09 Oct 2018 23:42 #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)
The following user(s) said Thank You: partec
Please Log in or Create an account to join the conversation.
10 Oct 2018 01:30 - 10 Oct 2018 10:22 #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 !
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 !
Last edit: 10 Oct 2018 10:22 by partec.
Please Log in or Create an account to join the conversation.
10 Oct 2018 13:35 #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.
It might be a faulty PCI port, or maybe just a dirty one.
The following user(s) said Thank You: partec
Please Log in or Create an account to join the conversation.
Time to create page: 0.091 seconds