Post by solidlogicguy on Little endian to Float from Modbus RTU
CODESYS Forge
talk
(Post)
Just tried and returns the same value but in scientific notation.
Last updated: 2024-01-08
Post by bfunk on Wago 750-8101 (mit Codesys V3) als Profinet device
CODESYS Forge
talk
(Post)
Moin, ich habe da ein Problem und komme einfach nicht weiter... Ich moechte eine Wago 750-8101 (mit Codesys V3) zu einem ModBus TCP Slave und einem Profinet slave machen. ModBus habe ich hinbekommen, Profinet bekomme ich einfach nicht hin. habt ihr das evtl. einen hilfreichen Tip fuer mich? Programmiert wird mit Codesys V3.5 SP19 Patch 2 Auf dem Zielsystem (PFC100) ist die Zielsystemversion 4.6.0.0 Das es nicht optimal ist PN und ModBus TCP auf einer Schnittstelle zu haben ist mir bewusst. Wollte aber erstmal ModBus und Profinet zum laufen bekommen bevor ich das Profinet auf die 2. Ethernet-Schnittstelle bringe. /etc/CODESYSControl_User.cfg [SysSocket] Adapter.0.Name="br0" Adapter.0.EnableSetIpAndMask=1 Adapter.1.Name="br1" Adapter.1.EnableSetIpAndMask=1 ist eingetragen. so sieht der Status fuer das PN-device aus. Anbei ein Screenshot.
Last updated: 2024-01-16
Post by jbarrio on v3.5 SP19 - Modbus TCP Devices - Channel Limit?
CODESYS Forge
talk
(Post)
Also, this solution is not valid for the RTU, I imagine that this bug should be a high priority...
Last updated: 2024-01-22
Post by rh-pk on v3.5 SP19 - Modbus TCP Devices - Channel Limit?
CODESYS Forge
talk
(Post)
Hi, i found a solution for me. I had installed a 'old' version of CoDeSys (3.5.18 P5). I tried to add channels there, which works fine. I created a new project, added an Ethernet-Port, added a Modbus-Master and then I copied the ModBus-Slave from my working project to the new project. Now I could add more channels. I add the channels 10 and 11. Then I deleted (please make a backup before :-) the original ModBus-Slave in my working project and copied the extended Slave back to my working project. Surprisingly it is now possible to add new channels. Maybe this will help you.
Last updated: 2024-02-14
Post by tokamk on Dynamic setting of the modbus tcp/ip slave ip address
CODESYS Forge
talk
(Post)
Hello, I'm working on a project which includes Panel-PC which communicates with a PLC through Modbus TCP/IP. On the PLC I have a CODESYS code which has Modbus slave objects. The Modbus slave objects have to have manually set IP address in order for them to work properly and the Ip address has to be the PC-Panels's IP. This project is going to a customer and they're using their own IP address realm. So, my question is that is it possible to configure these slaves in some other way, so that the customer doesn't need to modify the CODESYS project? I was thinking that would it be possible to set the IP address of these slaves from external source?
Last updated: 2024-02-15
Post by tomast on Siemens V20 Frequenzumrichter ΓΌber Modbus RTU
CODESYS Forge
talk
(Post)
Hi Tim, Have you sorted out your problem because i have also problems with i?
Last updated: 2024-03-21
Post by dawidr on Timeout Error in Modbus Communication with WAGO PFC200 and iEM2050 Meter using 750-652 Module
CODESYS Forge
talk
(Post)
Last updated: 2024-04-07
Post by csanderson on IoDrvModbusTCP_Diag not defined when using MODBUS
CODESYS Forge
talk
(Post)
I am also having this same issue after upgrading to 3.5.20.0. Any help Codesys?
Last updated: 2024-04-17
Post by santana on IoDrvModbusTCP_Diag not defined when using MODBUS
CODESYS Forge
talk
(Post)
I'm having this same issue. I upgraded to 3.5.20.0 from 3.5.19.20. Now I have the precompile errors shown above.
Last updated: 2024-04-17
Post by eschwellinger on IoDrvModbusTCP_Diag not defined when using MODBUS
CODESYS Forge
talk
(Post)
error need to be solved by CODESYS. hopefully next release
Last updated: 2024-05-01
Post by zer0g on Modbus Client Request Not Processed
CODESYS Forge
talk
(Post)
Hi, Thank you for your suggestion but the problem is fixed after I disabled and enabled the network adapter from Windows settings.
Last updated: 2024-05-30
Post by wbj0t on Global variable access by Programms and Modbus Devices (attach device to bus)
CODESYS Forge
talk
(Post)
Hi everyone. I use Raspberry Pi 4, one core codesys SL. I have a question about global variable access via programm when I glued the same variable to MODBUS SERIAL/TCP DEVICE holding register. So, the question: what behavior of this modifying? When I set "Always update variables (in bus cycle)" and set some task as bus for the Device, then in another task I cant change this varible (can, but immediatly the old value setted again). But the same things works with MODBUS SLAVE: again "Always update..." and master attached to some task, then I change variable in another task and all works. I cant set up my variables from retains file at PrepareStart event because of this behavior with MODBUS SERIAL/TCP DEVICE. Thanks, wbj0t.
Last updated: 2024-07-18
Post by shrikantp007 on new to codesys help on modbus with ardunio modbus rtu
CODESYS Forge
talk
(Post)
Hello , I am new to codesys ,working with it for just 15-17 days so ,i think i am able to installed it and configure it ,not i want to use ardunio program (smart dustbin ,college project using motor and Ultrasonic Module HC-SR04 and servo motor). i use ardunio program to write code with chatgpt to work ardunio as a modbus rtu as i dont have ethernet or wifi shild ,i wrote program in ariduno but now don have idea what change i have to make in codesys to comunicate as modbus slave it give error with bus error ,where i can get all errors ? Thanks in advance :)
Last updated: 2024-07-21
Post by mystx on Timeout Error in Modbus Communication with WAGO PFC200 and iEM2050 Meter using 750-652 Module
CODESYS Forge
talk
(Post)
Hello I have the same problem, anyone have some idea?? Regards
Last updated: 2024-07-30
Post by mystx on Timeout Error in Modbus Communication with WAGO PFC200 and iEM2050 Meter using 750-652 Module
CODESYS Forge
talk
(Post)
Hello I have the same problem, anyone have some idea?? Regards
Last updated: 2024-07-30
Post by mystx on Timeout Error in Modbus Communication with WAGO PFC200 and iEM2050 Meter using 750-652 Module
CODESYS Forge
talk
(Post)
Hello I have the same problem, anyone have some idea?? Regards
Last updated: 2024-07-30
Post by thysonfury on OPTO22 Groov Epic PR2 Modbus Comms Dropping out every 2 hours and 4 Mins
CODESYS Forge
talk
(Post)
OPTO22 Codesys Activation license not active.
Last updated: 2024-09-11
Post by winki on Modbus TCP & RTU with Control for Linux SL
CODESYS Forge
talk
(Post)
I made a mistake it is not end0 but eth0. But I have the same error.
Last updated: 2024-10-23
Post by winki on Modbus TCP & RTU with Control for Linux SL
CODESYS Forge
talk
(Post)
No, my vpn is 10.0.0.12. The docker interface is 172.17.0.1.
Last updated: 2024-10-24
Post by winki on Modbus TCP & RTU with Control for Linux SL
CODESYS Forge
talk
(Post)
Your right, much easier with Linux control SL ARM. Everything is working.
Last updated: 2024-10-24
Post by nano on Modbus TCP/IP slave communication errow
CODESYS Forge
talk
(Post)
please tell us the exact error message from diagnostic. U can view it at devicetree in the node-element diagnostic from modbus-configuration. u also can activate the function auto-reconnect in master and increase a little bit the timeout and the repetition to male thw communication a little bit more robust
Last updated: 2024-02-04
Post by ahuckphin on Issues with Modbus Slave with Raspberry Pi
CODESYS Forge
talk
(Post)
codesyscontrol_user.cfg [SysCom] Linux.Devicefile.1 = /dev/ttyUSB0 portnum:=COM.SysCom.SYS_COMPORT1; **parameters are used in the python-script ** method: "rtu" port: "COM8" baudrate: 9600 stopbits: 1 bytesize: 8 parity: 'N' timeout: 1 register address for humidity: 0x000 register address for temperature: 0x001 unit ID: 1 **parameteized in the modbus-master-comport ** see attached files
Last updated: 2024-07-11
Post by nltheves on Raspberry PI4 Serial Port
CODESYS Forge
talk
(Post)
Hi Ricardo. I was having the same problem with Codesys and a Raspberry Pi 2W while using the GPIO uart. Your post helped me a lot. Thanks! But could not understand why MODBUS parity bit makes Codesys MODBUS COM driver stopping to work after first request transmission. Did you see this @eschwellinger ? Regards, Nelson
Last updated: 2024-07-18
Post by oymyakon on Modbus Lockup
CODESYS Forge
talk
(Post)
Hi i have a project where i am communicating with many modbus devices using TCP to serial. This is all working extremely well except when i turn one of the remote devices off. If i leave the auto reconnect on it still doesn't talk to the rmianing devices and if i turn Auto reconnect off it locks up. Any help would be appreciated. Paul.
Last updated: 2024-08-07
Post by oymyakon on Modbus Lockup
CODESYS Forge
talk
(Post)
Hi i have a project where i am communicating with many modbus devices using TCP to serial. This is all working extremely well except when i turn one of the remote devices off. If i leave the auto reconnect on it still doesn't talk to the rmianing devices and if i turn Auto reconnect off it locks up. Any help would be appreciated. Paul.
Last updated: 2024-08-07
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
.