Post by ryusoup on OPC UA Client certificate for datasource link
CODESYS Forge
talk
(Post)
Hello, I'm looking for a way to set my client certificate, not one which self-signed cert generated with CODESYS, for OPC UA connection via datasource linking. Does anyone know how to archive that? BR,
Last updated: 2024-03-08
Post by wiresplus on Remote connection to ifm PLC & HMI
CODESYS Forge
talk
(Post)
I use these Teltonika routers with ZeroTier rather than OpenVPN - works better for me. I can show you how if you like?
Last updated: 2024-04-13
Post by timvh on Remote connection to ifm PLC & HMI
CODESYS Forge
talk
(Post)
Maybe also good to know that you could use the CODESYS installer to switch between gateways. - open the CODESYS installer - Select the (hamburger) menu - Select Settings - Select Services Then select the Gateway you would like to use.
Last updated: 2024-04-23
Post by guilhermeleao on How to communicate 2 pcs that are using CODESYS
CODESYS Forge
talk
(Post)
I need to connect 2 computers on the same network that are running codesys, so that they can receive and change variable values from each other. This connection must preferably be made using Modbus.
Last updated: 2024-05-06
Post by tortilla on J1939 connection between two devices
CODESYS Forge
talk
(Post)
Hey, I'm pretty new to CoDeSys so I don't know a lot of things yet. I have to create a connection between two devices (CANbus - J1939 connection). The idea for now is to send a message from one to another (one operates on 3.5 SP11 the other one on 2.3) I watched a few videos, worked with the documentation and worked with chatGPT 4o and was able to build the attached file. This part is about the device on 3.5.11: I'm using the J1939LocalECUDiag, TransmitParameterGroup, TransmissionTrigger Function blocks to send the message but my TransmitPG.xBusy / .xDone never turns to True and therefore my message is not sent while TransmitPG.xExcecute is True. I added the two devices in the CANbus in the J1939Manager and addapted the options like I've seen in the documentation. Can anyone explain what's wrong with my code in this casse or give me advices how to properly create a connection between my two devices? Thanks in advance!
Last updated: 2024-05-23
Post by justthefacts77 on How to generate an "ENI" file
CODESYS Forge
talk
(Post)
An ENI file is needed for a 3rd party software solution that is being used over EtherCAT connection that emulates multiple Slave devices. This one cant be that complex, seen some legacy posts but no answers. Thank you! Bruce
Last updated: 2024-08-08
Post by elayaraj on Codesys Soft PLC OPC UA server
CODESYS Forge
talk
(Post)
Hi guys, I also facing the same issue on my project, trying to connect server (Codesys) to UA Expert but the connection keep failed(attached). Im running out of idea right now..please help!
Last updated: 2024-08-22
Post by dkugler on Webvisu client connection monitoring
CODESYS Forge
talk
(Post)
is your pointer set to the correct visu client? set a breakpoint in your client iteration and step through the active visu clients like programming system, targetvisu, webvisu,... and check the last usage value of each client
Last updated: 2024-08-30
Post by reinier-geers on Syssockping hang up V3.5.9.2
CODESYS Forge
talk
(Post)
For data logging on a server i check the connection with Syssockping. When i do that it seems to hang uo the system once a while for 13 seconds. Why ??
Last updated: 2024-09-02
Post by dengsberg on Check Connection Status of the OPC-UA Server for Data Source Manager with OPC-UA Client
CODESYS Forge
talk
(Post)
Another question is how to test the quality of the individual variable?
Last updated: 2024-09-07
Post by docker on Webvisu client connection monitoring
CODESYS Forge
talk
(Post)
can you send me some code snippets of the declarations and code need i am unsure of how to set the pointer to the correct visu client. Thanks i appreciate your help.
Last updated: 2024-09-09
Post by dkugler on Webvisu client connection monitoring
CODESYS Forge
talk
(Post)
https://forge.codesys.com/forge/talk/Visualization/thread/b12815b7cd/#877a there was a discussion about this thematic searching in the talk helps to learn from others... good luck, Dave
Last updated: 2024-09-10
Post by karel-bas on Loosing connection to emulation running on Linux
CODESYS Forge
talk
(Post)
Ok. I ran the vm twice until it failed and from log it seems like my OPC UA fails becouse I am not able to get HTTPs certificate ? I dont really see any other reason.
Last updated: 2024-09-20
Post by jari-koivuluoma on Problem trying Net Base Services 3.5.15.0 TCP connection
CODESYS Forge
talk
(Post)
Solved. Just in case that someone else is now to this also. It seems that the xDone of the TCP_Connection FB goes true once client disconnects and then you need to reset the FB by setting the xEnable to false.
Last updated: 2024-10-04
Post by gabor-n on PNIO Connect Parameter Error
CODESYS Forge
talk
(Post)
Hello, I have the same issue, but with 2 Raspberry Pi3b+ in connection with Profinet. Has it been solved yet? Thank You all! Gabor
Last updated: 2024-10-08
Post by tobthi on Ethernet/IP Connection -> Nicht aktualisiert(Tooltip prüfen)
CODESYS Forge
talk
(Post)
Hallo, ich versuche einen Roboter über Ethernet/IP in Codesys einzubinden, die Verbindung scheint auch vorhanden zu sein, allerdings erscheint ein Fehler, mit dem ich nichts anfangen kann. Kann mir jemand sagen, was der Feheler "nicht aktualliesiert (Tooltip prüfen ) bedeutet?
Last updated: 2024-10-11
Post by tobthi on Ethernet/IP Connection -> Nicht aktualisiert(Tooltip prüfen)
CODESYS Forge
talk
(Post)
Hallo, ich versuche einen Roboter über Ethernet/IP in Codesys einzubinden, die Verbindung scheint auch vorhanden zu sein, allerdings erscheint ein Fehler, mit dem ich nichts anfangen kann. Kann mir jemand sagen, was der Feheler "nicht aktualliesiert (Tooltip prüfen ) bedeutet?
Last updated: 2024-10-11
Post by eschwellinger on Ethernet/IP Connection -> Nicht aktualisiert(Tooltip prüfen)
CODESYS Forge
talk
(Post)
du musst die IO's auf Variablen mappen die dan auch in den Pou's verwenden. CODESYS aktualisiert IO's die auch verwendet werden.
Last updated: 2024-10-11
Post by gatto on Profinet Exor connection drop
CODESYS Forge
talk
(Post)
did you try setup two eth ? on ethO you set ip to communicate with pc, example 192.168.0.1 on eth1 ip to communicate with weidmuler I/O, example 192.168.100.1 note : ip need the same of ip setup under system setting of hmi.
Last updated: 2024-10-16
Post by timvh on Modbus TCP & RTU with Control for Linux SL
CODESYS Forge
talk
(Post)
Most likely your IP address is set to 172.... because you use a VPN connection to your device. Probably best to use the other Ethernet interface for your modbus communication.
Last updated: 2024-10-24
Post by dogulas on OPC UA C# client connecting to OPC UA CODESYS server
CODESYS Forge
talk
(Post)
mainak, sorry, just saw your post. I have done that and I still get the same exception. the innerResult says "BadSecureChannelClosed 'Remote side closed connection'". Any other tips? Pointers are welcome.
Last updated: 2 days ago
Post by andrax on Mux I2C
CODESYS Forge
talk
(Post)
the TCA9548a does not work in Codesys. In Pyton this is only queried once and in Codesys cyclically. Of course you can also insert a terminating resistor in each port, then you should have no problems. I use this one: https://botland.de/8-bit-multiplexer/12723-qwiic-mux-breakout-8-kanal-modul-mit-i2c-multiplexer-tca9548a-sparkfun-bob-16784-5904422341428.html You can simply set the library to the latest version. You do not need Oscat. Do you need an example project for the BMP280?
Last updated: 2024-01-02
Post by andrax on Mux I2C
CODESYS Forge
talk
(Post)
the TCA9548a does not work in Codesys. In Pyton this is only queried once and in Codesys cyclically. Of course you can also insert a terminating resistor in each port, then you should have no problems. I use this one: https://botland.de/8-bit-multiplexer/12723-qwiic-mux-breakout-8-kanal-modul-mit-i2c-multiplexer-tca9548a-sparkfun-bob-16784-5904422341428.html You can simply set the library to the latest version. You do not need Oscat. Do you need an example project for the BMP280?
Last updated: 2024-01-02
Post by androidzz on Json Builder problem?
CODESYS Forge
talk
(Post)
Dear reader, I am using the codesys JSON utilities SL, 1.9.0.0 library. And then specifically the FB JSONBuilder. I need to create a main object with at least 2 objects in it. The first object is no problem, but I cannot insert the second object into the main object. See attached my code and the result I get. I am assuming that I am doing something wrong with the parent index but have tried a lot and can't get it done. Kind regards, Rob
Last updated: 2024-03-11
Post by mozed on Connection to device closed
CODESYS Forge
talk
(Post)
Hello I am using an OpusA3 with version 3.5 SP17 Patch 3 as part of a project. I had no real problem before I encountered a problem that blocked me. The detection of the OpusA3 from Codesys is done correctly. The gateway is well configured and if I ping the gateway or the OpusA3 I receive the response correctly. The problem is that when I try to connect, the Opus screen freezes and a few moments later Codesys displays an error message ("connection to device closed"). I tried to change PC, to update the runtime, to change OpusA3 but the problem remains the same. I'm a little lost knowing that before it worked without problem. I went back to a previous version of the project (where it worked correctly) but the message still appears. Do you have any clues to solve the problem? Sincerely,
Last updated: 2023-08-23
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
.