1
Codesys 2 / Modbus RTU and Modbus TCP from scratch ! :(
« am: 08. Oktober 2013, 12:17:11 »
Hi !
I have SC24IEC DIP32 package module from BeckIPC company. This is very nice module with programming in CodeSys 2.3. It is more like microcontroller.
Bad story is that BeckIPC is not write ANY kind of support for any industrial protocol. Even there is very good hardware base (Ethernet, 2XUsart , CAN).
What there is support for only basic 485 (serial) and TCP/IP routines (EasyIP).
I forget to say that SC24 module basically came as RTOS module programming in pure C. CodeSys language is only optional, and not a flagship product. Unfortunate for me, it BeckIPC support is under any reasonable value, since they are not interested to write this functions for CodeSys language. Fortunate full CodeSys IEC 61131-3 languages are supported.
Now I have to write Modbus RTU and Modbus TCP support, at least that module behave as master PLC that can R/W I/O on extension board. I know this is huge work, but this is only what is left for me, since I have 10pcs of this modules + SDK board... All payed about 1000 Euros...
So, my question is.....
What basic routines/functions I need from BeckIPC 485 and EasyIP libraries to rewrite/translate oscat modbus routines. For example block read, byte read/write from serial and ethernet.
Regards !
Mladen Bruck
I have SC24IEC DIP32 package module from BeckIPC company. This is very nice module with programming in CodeSys 2.3. It is more like microcontroller.
Bad story is that BeckIPC is not write ANY kind of support for any industrial protocol. Even there is very good hardware base (Ethernet, 2XUsart , CAN).
What there is support for only basic 485 (serial) and TCP/IP routines (EasyIP).
I forget to say that SC24 module basically came as RTOS module programming in pure C. CodeSys language is only optional, and not a flagship product. Unfortunate for me, it BeckIPC support is under any reasonable value, since they are not interested to write this functions for CodeSys language. Fortunate full CodeSys IEC 61131-3 languages are supported.
Now I have to write Modbus RTU and Modbus TCP support, at least that module behave as master PLC that can R/W I/O on extension board. I know this is huge work, but this is only what is left for me, since I have 10pcs of this modules + SDK board... All payed about 1000 Euros...
So, my question is.....
What basic routines/functions I need from BeckIPC 485 and EasyIP libraries to rewrite/translate oscat modbus routines. For example block read, byte read/write from serial and ethernet.
Regards !
Mladen Bruck