Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Is it the same thing true when you have configured the PLC as slave?
I would really like to have the baudrates etc settable from Visualization.. (Change from ST code) but also i want the Com port etc in the device tree.
I mean there are a button in the development tool if you are online to write the parameters so surely we must be able to change these parameters from PLC code also??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
Is it possible to configure Modbus Serial Port/Master/Slave device properties (i.e. COM port, Baud Rate, Function Code....) by ST codes??
I need to configure the setting dynamically online.
Hi,
Not if the master is insert in the device tree.
You must handle everything via IEC code, an example you will find in the FAQ's:
https://faq.codesys.com/display/CDSFAQ/ ... figuration
Regards Thomas
Is it the same thing true when you have configured the PLC as slave?
I would really like to have the baudrates etc settable from Visualization.. (Change from ST code) but also i want the Com port etc in the device tree.
I mean there are a button in the development tool if you are online to write the parameters so surely we must be able to change these parameters from PLC code also??