today I've install new master ... during compiling an error referred hy_vdf
and modbus on timout func .... I know the modbus story on linuxcnc ... so I
regress my libmodbus version at 3.0.5 (at last with purge command and
istall using ubuntu repo) ... but error is stable ... so I correct the file
in these manner, after a make clean commanad:

    {
        struct timeval t;

        // Set the response timeout.
        t.tv_sec = 0;
        t.tv_usec = 16 * 1000;
        modbus_set_response_timeout(mb, 0, 20000); /*** put the time you
want .. probabily solution is using int value in a int var ... but I know
is only a rude solution***/

        // Set the byte timeout to -1, to just wait for the complete
        // response timeout instead.
        //t.tv_sec = -1;
        modbus_set_byte_timeout(mb, &t);
    }

regards
bkt

2017-06-16 16:32 GMT+02:00 andy pugh <[email protected]>:

> On 16 June 2017 at 14:43, Sebastian Kuzminsky <[email protected]> wrote:
>
> > No, .base-freq was an Out pin, it got read from the VFD and reported to
> > HAL, but never used in the hy_vfd driver.
> >
> > Did the OP have some Hal circuitry that depended on it maybe?
> >
>
> He appears to want to set it from HAL. (Because he has one VFD connected to
> either of two motors, I think for either a low speed (50Hz) or high speed
> (400Hz) spindle.
>
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is designed
> for the especial use of mechanical geniuses, daredevils and lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to