Post by kislov on Change modbus server parameters from program
CODESYS Forge
talk
(Post)
Use in IEC-code: Modbus_Serial_Device.UpdateComPortSettings(...) https://content.helpme-codesys.com/en/libs/IoDrvModbusSerialSlave/Current/pou-ModbusSerialDeviceDiag/UpdateComPortSettings.html Take note: "Only possible if server is disabled (see xEnable Input)" So: Modbus_Serial_Device.xEnable := FALSE; Modbus_Serial_Device.UpdateComPortSettings(...) Modbus_Serial_Device.xEnable := TRUE; Please note that after PLC reboot the values from the GUI (from your screenshot) will be applied again. So you need to save values from HMI in RETAIN and restore them after start of application.
Last updated: 2024-07-17
Post by mavitia on Application based license problem - Modbus TCP
CODESYS Forge
talk
(Post)
I am running ubuntu on a raspberry pi, and installed an application based license Control Basic M on it, it runs a demo program fine, does not timeout etc. however, when I add a modbus TCP device, I start getting errors: <Entry severity="error" component="CmpApp" user="nobody" timestamp="12/18/2023 3:49:42 PM" infoId="24">Online change denied. Application Application is in exception state!</Entry> <Entry severity="error" component="CmpApp" user="nobody" timestamp="12/18/2023 3:49:42 PM" infoId="68">Download failed: Application=Application</Entry> <Entry severity="exception" component="CmpApp" user="nobody" timestamp="12/18/2023 3:49:41 PM" infoId="0">Application app=Application has invalid license metrics!</Entry> the modbus tcp slave runs, and the counter ticks up, however, when I call the variables on the %IX0.0 in my program, and try to upload the changes, I am getting the error messages which stop the program as far as I understand, the application based, M includes 2 fieldbus instances, but on the other side is fairly new, anything obvious I am missing out here?
Last updated: 2023-12-18
Need help to figure out Running an AC motor with modbus RTU
CODESYS Forge
talk
(Thread)
Need help to figure out Running an AC motor with modbus RTU
Last updated: 2021-02-03
Enable more than one COM port in raspberry for more modbus channels with USB
CODESYS Forge
talk
(Thread)
Enable more than one COM port in raspberry for more modbus channels with USB
Last updated: 2020-02-07
RTS signals are misaligned to Modbus COM port packets when using the RaspberryPi
CODESYS Forge
talk
(Thread)
RTS signals are misaligned to Modbus COM port packets when using the RaspberryPi
Last updated: 2022-09-05
Is it possible to send a real value close to 0 through modbus?
CODESYS Forge
talk
(Thread)
Is it possible to send a real value close to 0 through modbus?
Last updated: 2023-02-25
PM564 ETH for reading data from modbus serial slave using COM1 port
CODESYS Forge
talk
(Thread)
PM564 ETH for reading data from modbus serial slave using COM1 port
Last updated: 2017-11-28
Hallo, hat hier schon mal jemand einen Siemens V20 Frequenzumrichter in Codesys mit Modbus RTU gesteuert?
CODESYS Forge
talk
(Thread)
Hallo, hat hier schon mal jemand einen Siemens V20 Frequenzumrichter in Codesys mit Modbus RTU gesteuert?
Last updated: 2022-12-22
Hallo, hat hier schon mal jemand einen Siemens V20 Frequenzumrichter in Codesys mit Modbus RTU gesteuert?
CODESYS Forge
talk
(Thread)
Hallo, hat hier schon mal jemand einen Siemens V20 Frequenzumrichter in Codesys mit Modbus RTU gesteuert?
Last updated: 2022-12-22
How can I convert a 2 word modbus address to real?
CODESYS Forge
talk
(Thread)
How can I convert a 2 word modbus address to real?
Last updated: 2014-11-22
How do you change the 'read offset' of a Modbus channel on the fly?
CODESYS Forge
talk
(Thread)
How do you change the 'read offset' of a Modbus channel on the fly?
Last updated: 2021-04-14
How to read the status of one Modbus Slave in the codesys program
CODESYS Forge
talk
(Thread)
How to read the status of one Modbus Slave in the codesys program
Last updated: 2021-08-15
Write float value in modbus register and Read value whit comma from codesys
CODESYS Forge
talk
(Thread)
Write float value in modbus register and Read value whit comma from codesys
Last updated: 2018-05-28
What is the equivalent in codesys of Modbus M flag?
CODESYS Forge
talk
(Thread)
What is the equivalent in codesys of Modbus M flag?
Last updated: 2011-12-02
OPTO22 Groov Epic PR2 Modbus Comms Dropping out every 2 hours and 4 Mins
CODESYS Forge
talk
(Thread)
OPTO22 Groov Epic PR2 Modbus Comms Dropping out every 2 hours and 4 Mins
Last updated: 2024-04-15
OPTO22 Groov Epic PR2 Modbus Comms Dropping out every 2 hours and 4 Mins
CODESYS Forge
talk
(Thread)
OPTO22 Groov Epic PR2 Modbus Comms Dropping out every 2 hours and 4 Mins
Last updated: 2024-04-15
Global variable access by Programms and Modbus Devices (attach device to bus)
CODESYS Forge
talk
(Thread)
Global variable access by Programms and Modbus Devices (attach device to bus)
Last updated: 2024-07-18
Timeout Error in Modbus Communication with WAGO PFC200 and iEM2050 Meter using 750-652 Module
CODESYS Forge
talk
(Thread)
Timeout Error in Modbus Communication with WAGO PFC200 and iEM2050 Meter using 750-652 Module
Last updated: 2024-07-30
Connecting to SoftPLC Only Works By Turning Off Modbus Ethernet Port
CODESYS Forge
talk
(Thread)
Connecting to SoftPLC Only Works By Turning Off Modbus Ethernet Port
Last updated: 2024-08-08
OPTO22 Groov Epic PR2 Modbus Comms Dropping out every 2 hours and 4 Mins
CODESYS Forge
talk
(Thread)
OPTO22 Groov Epic PR2 Modbus Comms Dropping out every 2 hours and 4 Mins
Last updated: 2024-09-11
Post by kislov on CODESYS Modbus 4.4.0.0 - Modbus network redundancy
CODESYS Forge
talk
(Post)
Solved. Enable this feature by editing C:\ProgramData\CODESYS\Devices\89\0000 0005\4.4.0.0\device.xml (config params 9105 and 9106).
Last updated: 2024-10-08
Modbus: Is there a way to get the channel index from the channel name?
CODESYS Forge
talk
(Thread)
Modbus: Is there a way to get the channel index from the channel name?
Last updated: 2024-10-21
Modbus RTU (serial port) does not work with new kernel version
CODESYS Forge
talk
(Thread)
Modbus RTU (serial port) does not work with new kernel version
Last updated: 2025-05-13
How to configure CODESYSControl_User.cfg in order to use a specific network card for OPCUA Server
CODESYS Forge
talk
(Thread)
How to configure CODESYSControl_User.cfg in order to use a specific network card for OPCUA Server
Last updated: 2023-08-28
Post by eschwellinger on CODESYS Automation Server Connector for 3.5 SP11
CODESYS Forge
talk
(Post)
https://store.codesys.com/en/codesys-automation-server-connector.html Programming System CODESYS Development System V3.5.15.0 or higher
Last updated: 2023-08-30
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.