DRO values not zero on startup
- spangledboy
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 94
- Thank you received: 10
14 Sep 2013 23:46 #38824
by spangledboy
Replied by spangledboy on topic DRO values not zero on startup
I tried entering the line into the sample config that you provided and yes, the problem happens there too. It doesn't matter what the name of the signal is, if I link a signal to the rawcounts output , the DRO is messed up on startup.
Agreed, I have an unusual setup - I only have the 7i76 in there due to my lack of understanding of all the machine control concepts when I was starting out and the encoder on it proved useful for the MPG. I have a plan to add rotary encoders for each axis to improve the machines accuracy, which would use the remaining three encoders on the 7i77, so I decided to use the additional encoder on the 7i76.
I will modify the config line - it was created by PnCConf and I only really noticed what it was doing when I went through the HAL and ini files in more detail looking for this problem last night.
How is the MPG connection configured using the built in support? I see it mentioned on your website, but can't find anything about it in the manual. If I can get things configured correctly and take the 7i76 out of this machine then I may well use it in something else in future.
In case you hadn't noticed, this is still very much a work in progress, with me gradually climbing the learning curve!
Agreed, I have an unusual setup - I only have the 7i76 in there due to my lack of understanding of all the machine control concepts when I was starting out and the encoder on it proved useful for the MPG. I have a plan to add rotary encoders for each axis to improve the machines accuracy, which would use the remaining three encoders on the 7i77, so I decided to use the additional encoder on the 7i76.
I will modify the config line - it was created by PnCConf and I only really noticed what it was doing when I went through the HAL and ini files in more detail looking for this problem last night.
How is the MPG connection configured using the built in support? I see it mentioned on your website, but can't find anything about it in the manual. If I can get things configured correctly and take the 7i76 out of this machine then I may well use it in something else in future.
In case you hadn't noticed, this is still very much a work in progress, with me gradually climbing the learning curve!
Please Log in or Create an account to join the conversation.
- spangledboy
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 94
- Thank you received: 10
14 Sep 2013 23:57 #38825
by spangledboy
Replied by spangledboy on topic DRO values not zero on startup
Ah - I've just taken a look at the latest version of the manual and found the part about the MPG connection - it's not in the version of the manual I was using.
Is this a new feature of the 7i77/7i76 - was it there all the time, or is it enabled with a firmware update?
Thanks
Ben
Is this a new feature of the 7i77/7i76 - was it there all the time, or is it enabled with a firmware update?
Thanks
Ben
Please Log in or Create an account to join the conversation.
15 Sep 2013 00:44 - 15 Sep 2013 00:53 #38826
by PCW
Replied by PCW on topic DRO values not zero on startup
Its relatively new (say last year or so)
It needs to be enabled by setting the sserial mode
to the mode listed in the manual
It needs to be enabled by setting the sserial mode
to the mode listed in the manual
Last edit: 15 Sep 2013 00:53 by PCW.
Please Log in or Create an account to join the conversation.
- spangledboy
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 94
- Thank you received: 10
15 Sep 2013 00:56 #38827
by spangledboy
Replied by spangledboy on topic DRO values not zero on startup
Yes, I see that it has to be in Mode 3 - is this supported on my older 7i77, as the older manual (v1.5) only list modes 0-2?
Ben
Ben
Please Log in or Create an account to join the conversation.
15 Sep 2013 01:11 - 15 Sep 2013 01:12 #38829
by PCW
Replied by PCW on topic DRO values not zero on startup
Not sure. With linuxcnc 2.5.x you would just have to try.
If you run LinuxCNC master, it will display all the available
modes in the kernel log (dmesg)
I should add that with master, you can upgrade the sserial remote
firmware to the latest
If you run LinuxCNC master, it will display all the available
modes in the kernel log (dmesg)
I should add that with master, you can upgrade the sserial remote
firmware to the latest
Last edit: 15 Sep 2013 01:12 by PCW.
Please Log in or Create an account to join the conversation.
- spangledboy
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 94
- Thank you received: 10
15 Sep 2013 01:48 #38832
by spangledboy
Replied by spangledboy on topic DRO values not zero on startup
Ah - now that sounds useful - especially as I already have Master installed for testing with Gmoccapy.
Could you point me in the right direction for the instructions on how to set the sserial mode and how to update the firmware?
Thanks
Ben
Could you point me in the right direction for the instructions on how to set the sserial mode and how to update the firmware?
Thanks
Ben
Please Log in or Create an account to join the conversation.
15 Sep 2013 02:45 #38833
by PCW
Replied by PCW on topic DRO values not zero on startup
www.mesanet.com/software/parallel/sserial.zip
Has the sserial update scripts and firmware images for
all Mesa's sserial cards
(in utils/linuxcnc)
The mode is set in the sserial_port_0=abcdexxx config token
a is sserial channel 0's mode, b is sserial channel 1's mode etc
(man hostmot2)
Has the sserial update scripts and firmware images for
all Mesa's sserial cards
(in utils/linuxcnc)
The mode is set in the sserial_port_0=abcdexxx config token
a is sserial channel 0's mode, b is sserial channel 1's mode etc
(man hostmot2)
The following user(s) said Thank You: spangledboy
Please Log in or Create an account to join the conversation.
- spangledboy
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 94
- Thank you received: 10
15 Sep 2013 05:13 #38840
by spangledboy
Replied by spangledboy on topic DRO values not zero on startup
Ok, I think I have the latest firmware already - I did update it a few months ago and when I ran mesaflash with the --verify option against the latest firmware today it checked out ok.
I've also read the man pages for hostmot2 and it seems that I need to use sserial_port_0=30000xxx to load in mode 3. Is that correct? It seems to load ok with that setting and if I try 4 instead of 3 as a test then it does fail.
Many thanks for your help.
Ben
I've also read the man pages for hostmot2 and it seems that I need to use sserial_port_0=30000xxx to load in mode 3. Is that correct? It seems to load ok with that setting and if I try 4 instead of 3 as a test then it does fail.
Many thanks for your help.
Ben
Please Log in or Create an account to join the conversation.
15 Sep 2013 06:38 #38841
by PCW
Replied by PCW on topic DRO values not zero on startup
Mesaflash can check FPGA firmware but not sserial remote firmware
The README file has the instructions for updating the remote sserial device firmware
The README file has the instructions for updating the remote sserial device firmware
Please Log in or Create an account to join the conversation.
- spangledboy
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 94
- Thank you received: 10
15 Sep 2013 14:59 #38860
by spangledboy
Replied by spangledboy on topic DRO values not zero on startup
Thank you Peter
You've been very helpful. I see some re-wiring in my near future - both physically and logically!
Ben
You've been very helpful. I see some re-wiring in my near future - both physically and logically!
Ben
Please Log in or Create an account to join the conversation.
Time to create page: 0.163 seconds