ModBus_For_FactoryIO.zip (19.8 KB)
Hi all,
I solved issue how to connect Beckhoff PLC with FactoryIO. My Function Block is communicate with FactoryIO via ModBus TCP/IP. In Factory IO you have to set up ModBus TCP/IP Server with IP address, port and SlaveID. As you can see below on picture. Also important is I/O Config and I/O points. Config make exactly same as is on picture and Points is up to you just offset have to be 0 on all points and count is up to you. FB is working with 256 Digital Inputs/Outputs and 64 Register Inputs/Outputs.
For correct working you need my library and also install TC2_ModBusSrv. For TC2_ModBusSrv you need license TF6250 don´t worry you don´t need it buy it from beckhoff you have to just activate 7 day trial . After 7 day trial you are able to activate again .
My library was developt on TC3 4024.25 is should also work on TC3 4026.18 but is not tested yet .
On version 4024.25 I am sure is working well.
If you face any issue just ask me here and I will try to help you or if you have any improvment I am open it and can make modification .
Have a great day.
Best regats
Kristian Zitny
