libfins
libfins copied to clipboard
Multi platform Omron FINS library
Hallo, You did a great job with LibFins! I developed an application with 3 theads communicating whith 3 Omron PLC in UDP. The application works, but sometimea one of the...
Using finslib_tcp_connect() connecting PLC, Often the program Dead loop in fins_tcp_recv() else if ( recv_len < 0 ) { if ( errno == EAGAIN ) { finslib_milli_second_sleep( 10 ); continue;...
The function does not decode addresses like E0_, E1_, ... , E9_. The following patch corrects this problem: ============================================ diff -p -r -b /tmp/libfins-master/src/fins_decode.c libfins-master/src/fins_decode.c *** /tmp/libfins-master/src/fins_decode.c 2016-12-25 23:39:34.000000000 +0000...
In order to communicate in TCP way, finslibe_tcp_connect() is used.. Then in order to communicate in UDP, what function can we use ? If you would share a source code,...
I know if we are going to write data to CIO register, must describe like finslib_memory_area_write_uint16(sys, "CIO100.0", addr, num) . But if we are going to write data to DM...
helle @lammertb after some testing we noticed that libfins is seemingly broken for `float` and `double` In libfins at https://github.com/lammertb/libfins/blob/91e9aa4a91a75cec6f616775e3c5fc701d984b4c/src/fins_01_04.c#L185-L217 ```c case FINS_DATA_TYPE_INT32 : case FINS_DATA_TYPE_UINT32 : case FINS_DATA_TYPE_BCD32 :...
Hello, Using libfins to read registers from an Omron CJ2m-CPU31. When I attempt to read any Data registers (Dnnnnn) I get an invalid read area returned... e.g. uint16_t arr[2048]; int...
finslib_multiple_memory_area_write() function can be useful
In CX-ProgrammerI set the data of _W000_ address to 1.23.  But values are incorrectly read using the finslib_multiple_memory_area_read() function.  I debug finslib_multiple_memory_area_read() I find that the following assignment...