I'm glad you found that bug.   I saw that problem last year during an 
installation, but thought it was due to the controller it was linked to.

I ended up not using the first bit a few times.

Good catch!

Thanks,

Dave

On 3/27/2011 11:44 AM, Les Newell wrote:
> ClassicLadder had a bug in it's Modbus implementation if you read more
> than 8 inputs or coils. The first input bit is not read correctly and
> ends up with strange values.
> I don't know the correct way to submit a fix using Git but the fix is
> simple. In protocol_modbus_master.c, a break; needs to be inserted  in
> line 321. Currently it falls through to the next case.
>
> Les
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>    


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to