I am CODESYS neophyte getting my wheels on.
My goal is to re-platform an existing PLC application written in 61131 ST
I've got the majority of the code/variables in a compilable form - excluding all the IO and comms nuances
I am not sure whether this the right forum
An important functionality which I implemented on the other platform was totally dynamic modbus devices...
Most configurations I have come across impose static MB configs in which
all configured devices MUST be present and functional...
I have monkeyed around with MB enough to know that herding a half dozen MB cats into a working config can be tricky. I just do them one at a time
and dynamically turn them on/off in whatever combination is convenient
with ID, IP, baud, parity etc being runtime tweakable.
I am totally curious whether this is possible with codesys, or whether
its device configuration corrals one into a static cage which requires
re-building the code to support flexible variations.
Best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Kurtk, I am working through a very similar scenario. I am curious if you have had any success since your post in implementing dynamic modbus configurations? Thx!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Kurtk, I am working through a very similar scenario. I am curious if you have had any success since your post in implementing dynamic modbus configurations? Thx!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am CODESYS neophyte getting my wheels on.
My goal is to re-platform an existing PLC application written in 61131 ST
I've got the majority of the code/variables in a compilable form - excluding all the IO and comms nuances
I am not sure whether this the right forum
An important functionality which I implemented on the other platform was totally dynamic modbus devices...
Most configurations I have come across impose static MB configs in which
all configured devices MUST be present and functional...
I have monkeyed around with MB enough to know that herding a half dozen MB cats into a working config can be tricky. I just do them one at a time
and dynamically turn them on/off in whatever combination is convenient
with ID, IP, baud, parity etc being runtime tweakable.
I am totally curious whether this is possible with codesys, or whether
its device configuration corrals one into a static cage which requires
re-building the code to support flexible variations.
Best regards
Kurtk, I am working through a very similar scenario. I am curious if you have had any success since your post in implementing dynamic modbus configurations? Thx!
Kurtk, I am working through a very similar scenario. I am curious if you have had any success since your post in implementing dynamic modbus configurations? Thx!
Maybe the ModbusFB library is a good option for you.
See:
https://forge.codesys.com/prj/codesys-example/modbus/home/Home/