Re: [Emc-users] MESA 8i20 and enable signal

2013-08-09 Thread propcoder
Dear Peter,

continuing the topic, could you please help me to update firmware (in 
case they need one) of the boards I have:
3x 5i23
6x 8i20
1x 7i49
1x 5i25
1x 7i77
1x 7i37
a lot of 7i39-HV

I can give you remote access to my PCs. What tools do you prefer? I can 
run TeamViewer for example..

What I am working now on and met a problem is a setup of 5i23, 7i44, 
7i49, 7i37 and 6x 8i20.

This is what I started to write you as I went through 8i20 update way:

To help make your README and update tools better:
Change sudo ./installss to sudo ./ssinstall
You can put a note about path and making ssinstall executable
Change /bin to /lib inside ssinstall
Write where to find host FPGA firmware sserial version (I don't know)
You could note / put a link to info what is master version of LinuxCNC
Note about executable for update* files
Note that user has to specify path to firmware file or copy it or script 
to one dir. Or change the script to take firmware from default location.

And then I stopped at:
[ 7317.595333] hm2: loading Mesa HostMot2 driver version 0.15
[ 7317.599591] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 7317.599653] hm2_pci :01:06.0: PCI INT A - GSI 20 (level, low) - 
IRQ 20
[ 7317.599659] hm2_pci: discovered 5i23 at :01:06.0
[ 7317.599743]  hm2_5i23.0: firmware: requesting hm2/5i23/rmsvss6_8.bit
[ 7317.858875] hm2/hm2_5i23.0: Smart Serial Firmware Version 31
[ 7317.858884] hm2/hm2_5i23.0: Setting baudrate is not supported in the 
current firmware version
[ 7317.858887] Version must be  v33 and you have version 
31.hm2/hm2_5i23.0: failed to parse Module Descriptor 4


I tried to run SC9054W.exe for 5i23. Drivers do not install on Win7 64. 
And SC9054W.exe does not run on WinXP 32. And I don't know where to get 
new sserial firmware files.

On 08/09/2013 12:24 AM, Peter C. Wallace wrote:
 On Thu, 8 Aug 2013, propcoder wrote:

 Date: Thu, 08 Aug 2013 16:01:54 +0300
 From: propcoder marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] MESA 8i20 and enable signal

 Peter, I am looking forward on getting one (together with brief update
 instructions).

 www.mesanet.com/software/parallel/sserial.zip
 Has the latest 8I20 firmware (R11)

 You will need LinuxCNC master and  a sserial FPGA bitfile with a version of
 SSLBP newer than rev 33 to update via linuxcnc/standard bitfile/daughtercard
 /cables (update in place) using setsserial (take a look at the README file in
 utils/linuxcnc)

 You can also update the firmware using the windows utility uflbp and a
 USB/serial adapter


 Also note that the RPD/WPD utilities in the sserial.zip file
 are not for the 8I20




--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-09 Thread Peter C. Wallace
On Fri, 9 Aug 2013, propcoder wrote:

 Date: Fri, 09 Aug 2013 13:25:34 +0300
 From: propcoder marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] MESA 8i20 and enable signal
 
 Dear Peter,

 continuing the topic, could you please help me to update firmware (in
 case they need one) of the boards I have:
 3x 5i23
 6x 8i20
 1x 7i49
 1x 5i25
 1x 7i77
 1x 7i37
 a lot of 7i39-HV


Only the 8i20 and possibly the 7I77 if its sserial remote firmware is older 
than R14 need updating


 I can give you remote access to my PCs. What tools do you prefer? I can
 run TeamViewer for example..

 What I am working now on and met a problem is a setup of 5i23, 7i44,
 7i49, 7i37 and 6x 8i20.

 This is what I started to write you as I went through 8i20 update way:

 To help make your README and update tools better:
 Change sudo ./installss to sudo ./ssinstall
 You can put a note about path and making ssinstall executable
 Change /bin to /lib inside ssinstall
 Write where to find host FPGA firmware sserial version (I don't know)
 You could note / put a link to info what is master version of LinuxCNC
 Note about executable for update* files
 Note that user has to specify path to firmware file or copy it or script
 to one dir. Or change the script to take firmware from default location.

OK I will fix these

The host FPGA firmware sserial version is printed in the kernel log
(read with dmesg)


 And then I stopped at:
 [ 7317.595333] hm2: loading Mesa HostMot2 driver version 0.15
 [ 7317.599591] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
 [ 7317.599653] hm2_pci :01:06.0: PCI INT A - GSI 20 (level, low) -
 IRQ 20
 [ 7317.599659] hm2_pci: discovered 5i23 at :01:06.0
 [ 7317.599743]  hm2_5i23.0: firmware: requesting hm2/5i23/rmsvss6_8.bit
 [ 7317.858875] hm2/hm2_5i23.0: Smart Serial Firmware Version 31
 [ 7317.858884] hm2/hm2_5i23.0: Setting baudrate is not supported in the
 current firmware version
 [ 7317.858887] Version must be  v33 and you have version
 31.hm2/hm2_5i23.0: failed to parse Module Descriptor 4


Yes you need host sserial version 33 to allow setsserial to set the
baud rate (needed to access the remote in setup mode)



 I tried to run SC9054W.exe for 5i23. Drivers do not install on Win7 64.
 And SC9054W.exe does not run on WinXP 32. And I don't know where to get
 new sserial firmware files.

sc9054 should run on XP32 (it does here) but you will need to boot win7 64 in 
development mode to run sc9054. However, sc9054 will not help with updating 
the remote sserial firmware. If you want to update the 8I20 firmware via 
windows I would use a usb-serial adapter and the uflbp utility.

I do think its easier to do this via linuxcnc however (no funny serial 
cables so update in place with your existing setup)

You can do this either by connecting the 8I20s to the 7I77s sserial expansion 
port (the 5I25 will very likely have sserial firmware  R33 and if not you 
can update it via mesaflash), or installing updated rmsvss6_8 firmware for the 
5I23. I can make a up to date version of this today




 On 08/09/2013 12:24 AM, Peter C. Wallace wrote:
 On Thu, 8 Aug 2013, propcoder wrote:

 Date: Thu, 08 Aug 2013 16:01:54 +0300
 From: propcoder marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] MESA 8i20 and enable signal

 Peter, I am looking forward on getting one (together with brief update
 instructions).

 www.mesanet.com/software/parallel/sserial.zip
 Has the latest 8I20 firmware (R11)

 You will need LinuxCNC master and  a sserial FPGA bitfile with a version of
 SSLBP newer than rev 33 to update via linuxcnc/standard bitfile/daughtercard
 /cables (update in place) using setsserial (take a look at the README file in
 utils/linuxcnc)

 You can also update the firmware using the windows utility uflbp and a
 USB/serial adapter


 Also note that the RPD/WPD utilities in the sserial.zip file
 are not for the 8I20




 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free

Re: [Emc-users] MESA 8i20 and enable signal

2013-08-09 Thread propcoder
2013.08.09 14:49, Peter C. Wallace rašė:
 You can do this either by connecting the 8I20s to the 7I77s sserial expansion
 port (the 5I25 will very likely have sserial firmware  R33 and if not you
 can update it via mesaflash), or installing updated rmsvss6_8 firmware for the
 5I23. I can make a up to date version of this today

I'll do as you'll say.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-08 Thread propcoder
Peter, I am looking forward on getting one (together with brief update 
instructions).

2013.08.07 00:36, Peter C. Wallace rašė:
 We should have updated firmware tommorow that fixes the enable



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-08 Thread Peter C. Wallace
On Thu, 8 Aug 2013, propcoder wrote:

 Date: Thu, 08 Aug 2013 16:01:54 +0300
 From: propcoder marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] MESA 8i20 and enable signal
 
 Peter, I am looking forward on getting one (together with brief update 
instructions).

www.mesanet.com/software/parallel/sserial.zip
Has the latest 8I20 firmware (R11)

You will need LinuxCNC master and  a sserial FPGA bitfile with a version of
SSLBP newer than rev 33 to update via linuxcnc/standard bitfile/daughtercard
/cables (update in place) using setsserial (take a look at the README file in
utils/linuxcnc)

You can also update the firmware using the windows utility uflbp and a 
USB/serial adapter


Also note that the RPD/WPD utilities in the sserial.zip file
are not for the 8I20


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-07 Thread propcoder
Did you read this:

On 08/07/2013 07:08 AM, Peter C. Wallace wrote:
 Take a look at max_current - it does not exist. There are three
parameters current-maxlim, current-minlim, current-scalemax instead.

While in man9 we can see description of pin (bit, in) amp-enable
Set this pin high to enable the drive., which I can't find in my halshow.


?


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-07 Thread andy pugh
On 7 August 2013 03:55, propcoder marius.alks...@gmail.com wrote:

 I mean driver parameters and pins and latest hostmot2 manual, where I
 find 8i20 is http://www.linuxcnc.org/docs/html/man/man9/hostmot2.9.html#8i20

That's the 2.5.3 documentation.

 Now I checked command man sserial and found:

 hm2_5i25.0.8i20.0.1.current-maxlim
 hm2_5i25.0.8i20.0.1.current-minlim
 hm2_5i25.0.8i20.0.1.current-scalemax

You are running master:

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingConfigurationsForDevelopmentVersions

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-07 Thread andy pugh
On 7 August 2013 10:05, andy pugh bodge...@gmail.com wrote:

 find 8i20 is http://www.linuxcnc.org/docs/html/man/man9/hostmot2.9.html#8i20

 That's the 2.5.3 documentation.

Docs for Master are here: http://www.linuxcnc.org/docs/devel/html/

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-07 Thread propcoder
2013.08.07 12:07, andy pugh rašė:
 Docs for Master are here:http://www.linuxcnc.org/docs/devel/html/

Yes, but I can't find a word about 8i20 there.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-07 Thread andy pugh
On 7 August 2013 11:22, propcoder marius.alks...@gmail.com wrote:

 Docs for Master are here:http://www.linuxcnc.org/docs/devel/html/

 Yes, but I can't find a word about 8i20 there.

For full details of the smart-serial devices see man sserial.
http://www.linuxcnc.org/docs/devel/html/man/man9/sserial.9.html

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-06 Thread Peter C. Wallace
On Tue, 6 Aug 2013, propcoder wrote:

 Date: Tue, 06 Aug 2013 22:55:41 +0300
 From: propcoder marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] MESA 8i20 and enable signal
 
 I am starting new config with MESA 5i23, 7i49 and 8i20. I use latest dev
 version.

 Despite real and described in manual 8i20 pinout differences, I managed
 to run servo motor. So, the first question: why manual and pinout differs?

Which pinout differences? I am not aware of any


 Another strange thing I noticed is that 8i20 does not react to enable
 input. I drive it with 12V (Enable in + and Enable in -), but it does
 not makes sense. It turns on at LinuxCNC startup and turns off at
 LinuxCNC shutdown instead. I almost fried my motor, thinking the drive
 was turned off.


That should not be.

We made a change in enable and enable masks recently for an OEM
and possible broke something or have a dependence on EEPROM setup that we 
should not have.

We should have updated firmware tommorow that fixes the enable


 I couldn't find any input pin on 8i20 for enable too.


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-06 Thread andy pugh
On 6 August 2013 20:55, propcoder marius.alks...@gmail.com wrote:

 I couldn't find any input pin on 8i20 for enable too.

I am not sure about the rest, but because the enable inputs are
separate, they need to be driven by GPIO rather than anything that the
driver sends down the serial link.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-06 Thread propcoder


On 08/07/2013 12:36 AM, Peter C. Wallace wrote:
 Despite real and described in manual 8i20 pinout differences, I managed
 to run servo motor. So, the first question: why manual and pinout differs?
 Which pinout differences? I am not aware of any

I mean driver parameters and pins and latest hostmot2 manual, where I 
find 8i20 is http://www.linuxcnc.org/docs/html/man/man9/hostmot2.9.html#8i20

Now I checked command man sserial and found:
...
Parameters:
   The following parameters are exported. See the pdf 
documentation
   downloadable from Mesa for further details
hm2_5i25.0.8i20.0.1.angle-maxlim
hm2_5i25.0.8i20.0.1.angle-minlim
hm2_5i25.0.8i20.0.1.angle-scalemax
hm2_5i25.0.8i20.0.1.current-maxlim
hm2_5i25.0.8i20.0.1.current-minlim
hm2_5i25.0.8i20.0.1.current-scalemax
hm2_5i25.0.8i20.0.1.nvbrakeoffv
hm2_5i25.0.8i20.0.1.nvbrakeonv
hm2_5i25.0.8i20.0.1.nvbusoverv
hm2_5i25.0.8i20.0.1.nvbusundervmax
hm2_5i25.0.8i20.0.1.nvbusundervmin
hm2_5i25.0.8i20.0.1.nvkdihi
hm2_5i25.0.8i20.0.1.nvkdil
hm2_5i25.0.8i20.0.1.nvkdilo
hm2_5i25.0.8i20.0.1.nvkdp
hm2_5i25.0.8i20.0.1.nvkqihi
hm2_5i25.0.8i20.0.1.nvkqil
hm2_5i25.0.8i20.0.1.nvkqilo
hm2_5i25.0.8i20.0.1.nvkqp
hm2_5i25.0.8i20.0.1.nvmaxcurrent
hm2_5i25.0.8i20.0.1.nvrembaudrate
hm2_5i25.0.8i20.0.1.swrevision
hm2_5i25.0.8i20.0.1.unitnumber

(float, rw) max_current
   Sets the maximum drive current in Amps. The default value 
is the
   maximum current programmed into the drive EEPROM. The 
value must
   be positive, and an error will be raised if a current in 
  excess
   of the drive maximum is requested.
...

Take a look at max_current - it does not exist. There are three 
parameters current-maxlim, current-minlim, current-scalemax instead.

While in man9 we can see description of pin (bit, in) amp-enable
Set this pin high to enable the drive., which I can't find in my halshow.


 
 Another strange thing I noticed is that 8i20 does not react to enable
 input. I drive it with 12V (Enable in + and Enable in -), but it does
 not makes sense. It turns on at LinuxCNC startup and turns off at
 LinuxCNC shutdown instead. I almost fried my motor, thinking the drive
 was turned off.

 That should not be.

 We made a change in enable and enable masks recently for an OEM
 and possible broke something or have a dependence on EEPROM setup that we
 should not have.

 We should have updated firmware tommorow that fixes the enable


I think you found the right reason. Will wait for the fixes.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-06 Thread propcoder
I wired enable input correctly and measured the voltage between en- and 
en+ with multimeter - they get 0 or 12V depending on LinuxCNC power state.

On 08/07/2013 12:43 AM, andy pugh wrote:
 I am not sure about the rest, but because the enable inputs are
 separate, they need to be driven by GPIO rather than anything that the
 driver sends down the serial link.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MESA 8i20 and enable signal

2013-08-06 Thread Peter C. Wallace
On Wed, 7 Aug 2013, propcoder wrote:

 Date: Wed, 07 Aug 2013 05:55:54 +0300
 From: propcoder marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] MESA 8i20 and enable signal
 


 On 08/07/2013 12:36 AM, Peter C. Wallace wrote:
 Despite real and described in manual 8i20 pinout differences, I managed
 to run servo motor. So, the first question: why manual and pinout differs?
 Which pinout differences? I am not aware of any

 I mean driver parameters and pins and latest hostmot2 manual, where I
 find 8i20 is http://www.linuxcnc.org/docs/html/man/man9/hostmot2.9.html#8i20

I dont think any of the NV parameters are settable as normal HAL pins (nor 
should they be) though setsserial may be be able to access them



 Now I checked command man sserial and found:
 ...
Parameters:
   The following parameters are exported. See the pdf
 documentation
   downloadable from Mesa for further details
hm2_5i25.0.8i20.0.1.angle-maxlim
hm2_5i25.0.8i20.0.1.angle-minlim
hm2_5i25.0.8i20.0.1.angle-scalemax
hm2_5i25.0.8i20.0.1.current-maxlim
hm2_5i25.0.8i20.0.1.current-minlim
hm2_5i25.0.8i20.0.1.current-scalemax
hm2_5i25.0.8i20.0.1.nvbrakeoffv
hm2_5i25.0.8i20.0.1.nvbrakeonv
hm2_5i25.0.8i20.0.1.nvbusoverv
hm2_5i25.0.8i20.0.1.nvbusundervmax
hm2_5i25.0.8i20.0.1.nvbusundervmin
hm2_5i25.0.8i20.0.1.nvkdihi
hm2_5i25.0.8i20.0.1.nvkdil
hm2_5i25.0.8i20.0.1.nvkdilo
hm2_5i25.0.8i20.0.1.nvkdp
hm2_5i25.0.8i20.0.1.nvkqihi
hm2_5i25.0.8i20.0.1.nvkqil
hm2_5i25.0.8i20.0.1.nvkqilo
hm2_5i25.0.8i20.0.1.nvkqp
hm2_5i25.0.8i20.0.1.nvmaxcurrent
hm2_5i25.0.8i20.0.1.nvrembaudrate
hm2_5i25.0.8i20.0.1.swrevision
hm2_5i25.0.8i20.0.1.unitnumber

(float, rw) max_current
   Sets the maximum drive current in Amps. The default value
 is the
   maximum current programmed into the drive EEPROM. The
 value must
   be positive, and an error will be raised if a current in
  excess
   of the drive maximum is requested.
 ...

 Take a look at max_current - it does not exist. There are three
 parameters current-maxlim, current-minlim, current-scalemax instead.

 While in man9 we can see description of pin (bit, in) amp-enable
 Set this pin high to enable the drive., which I can't find in my halshow.



 Another strange thing I noticed is that 8i20 does not react to enable
 input. I drive it with 12V (Enable in + and Enable in -), but it does
 not makes sense. It turns on at LinuxCNC startup and turns off at
 LinuxCNC shutdown instead. I almost fried my motor, thinking the drive
 was turned off.

 That should not be.

 We made a change in enable and enable masks recently for an OEM
 and possible broke something or have a dependence on EEPROM setup that we
 should not have.

 We should have updated firmware tommorow that fixes the enable


 I think you found the right reason. Will wait for the fixes.


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users