Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Michael Haberler
Am 03.02.2012 um 04:50 schrieb Kirk Wallace: I am able to modpoll the proper registers now, but I have a problem with Do you mean 'modpoll the proper registers' to mean 'read several holding registers in one operation'? If so: I had that problem with the Toshiba VFS-11. See the note in my

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Kirk Wallace
On Fri, 2012-02-03 at 11:36 +0100, Michael Haberler wrote: Am 03.02.2012 um 04:50 schrieb Kirk Wallace: I am able to modpoll the proper registers now, but I have a problem with Do you mean 'modpoll the proper registers' to mean 'read several holding registers in one operation'? If so:

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Kirk Wallace
On Fri, 2012-02-03 at 19:13 +1100, Frank Tkalcevic wrote: I've taken the existing gs2_vfd.c from src/hal/user_comps and made an sj200_vfd.c I don't like writing code that isn't modular and reusable, so I started to write the module so it could be configured by a table of values. I only got

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Kirk Wallace
On Thu, 2012-02-02 at 19:50 -0800, Kirk Wallace wrote: I'm trying to get my SJ200 VFD connected with Modbus. In preparation for this I ported a MVX9000 which I had on the shelf. It turned out to be a slam dunk, almost. http://www.wallacecompany.com/machine_shop/EMC2/mvx9000/ I've noticed on

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Kirk Wallace
On Fri, 2012-02-03 at 11:38 -0800, Kirk Wallace wrote: On Thu, 2012-02-02 at 19:50 -0800, Kirk Wallace wrote: I'm trying to get my SJ200 VFD connected with Modbus. In preparation for this I ported a MVX9000 which I had on the shelf. It turned out to be a slam dunk, almost.

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Karl Cunningham
On 02/03/2012 12:20 PM, Kirk Wallace wrote: I have some more thoughts on VFD components. My plan for my SJ200 component was to have a bare-bones version that let one operate speed, direction and maybe a fault signal, then a more complete version with more features, but still only those

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Frank Tkalcevic
I haven't considered a generic VFD or Modbus device driver, because not only do the device functions vary widely, but so do implementations of the Modbus standard. Yes, I found that too. I built my code based on the GS2 module and Michael's code. Early on, I avoided using the GS2

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Kirk Wallace
On Fri, 2012-02-03 at 14:58 -0800, Karl Cunningham wrote: On 02/03/2012 12:20 PM, Kirk Wallace wrote: I have some more thoughts on VFD components. My plan for my SJ200 component was to have a bare-bones version that let one operate speed, direction and maybe a fault signal, then a more

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Michael Haberler
Am 04.02.2012 um 00:30 schrieb Frank Tkalcevic: I haven't considered a generic VFD or Modbus device driver, because not only do the device functions vary widely, but so do implementations of the Modbus standard. Yes, I found that too. Amen. I had that grandiose plan too, despite advice

[Emc-users] SJ200 VFD and Modbus

2012-02-02 Thread Kirk Wallace
I'm trying to get my SJ200 VFD connected with Modbus. In preparation for this I ported a MVX9000 which I had on the shelf. It turned out to be a slam dunk, almost. http://www.wallacecompany.com/machine_shop/EMC2/mvx9000/ The SJ200 is a different story. It turns out Hitachi made a rev. 1 and 2

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-02 Thread Frank Tkalcevic
So which version do you need? I've made my own revision 2 driver. -Original Message- From: Kirk Wallace [mailto:kwall...@wallacecompany.com] Sent: Friday, 3 February 2012 2:51 PM To: LinuxCNC Users List Subject: [Emc-users] SJ200 VFD and Modbus I'm trying to get my SJ200 VFD

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-02 Thread Kirk Wallace
On Fri, 2012-02-03 at 16:12 +1100, Frank Tkalcevic wrote: So which version do you need? I've made my own revision 2 driver. I have rev. 2, or rather SJ200subscript2. If your component is GPL'd then I'd appreciate getting a copy, although my problem seems to be with libmodbus. I'm planning on