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 getting the latest libmodbus and compiling
with that. I've been getting a couple of data type mismatch warnings,
that I have been ignoring because the compile goes through, but I wonder
if I need to address it. On my recent MVX9000 component I had to change
a read function variable to "short int" from "int" because an "int" is
two bytes and the modbus data comes out as single bytes, so two
registers would end up on one HAL pin. Maybe I should cast the
variables, but then I would have to learn how to do that.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to