Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dgdamt on Beaglebone Black OPC-UA Server
CODESYS Forge
talk
(Post)
Hello, In my case all was ok on the BeagleBone side (OPC server) but wrong on the client side (was OK with UA Expert who manage properly its own certificates. I finnaly removed all security settings
Last updated: 2024-04-16
Post by viktorr on ShareMemory library documentation
CODESYS Forge
talk
(Post)
Hello, I was wondering if there was further documentation on the SharedMemory library in CodeSys outside of the code example provided, or maybe a way to access the source code of the shared memory implementation. Thank you in advance for any advice. - Viktor
Last updated: 2024-07-03
Post by atakan on Problem importing ethercat config file
CODESYS Forge
talk
(Post)
Hi draeby, I spoke with the manufacturer of the product. We found out that the XML file was faulty. They sent a new XML file and the problem was solved.
Last updated: 2024-08-21
Post by camilloo on Control for Linux SL on Ubuntu Core
CODESYS Forge
talk
(Post)
(dhumphries) I followed your advice and tried it on Ubuntu Server. Was a good choice. Your material was also very helpful :). Thanks for Your help! I no longer have problems connecting to Ubuntu. However, I still cannot install Virtual PLC. I'm currently getting a missing path message: "C:\Program Files\CODESYS 3.5.19.60\CODESYS\CODESYS Virtual Control for Linux SL\Delivery\virtuallinux\VirtualControlAPI.py." It looks as the package: "CODESYS Virtual Control for Linux SL" was not installed. But, there isn't one in CODESYS Store or I'm doing something incorrectly.
Last updated: 2024-03-03
Post by docker on Webvisu client connection monitoring
CODESYS Forge
talk
(Post)
Hi mate, With this snippet i was able to see the lastusage variable count, but it would not iterate between clients? i was only able to access the data of the target visu. it threw an error with the array of pointers stating it was not able to convert etc. also when i tried it with the while loop it created an endless loop and crashed the program. any ideas? Thankyou
Last updated: 2024-09-10
Post by dkugler on TargetVisu Freezing
CODESYS Forge
talk
(Post)
The only weird situation i remeber with particular or complete frozen target visu was after the rtc clock was fallen or set back to the past. It looked like after running a while the alarm history database crashed during writing entries at a date lot of years in the past. After setting the rtc clock to actual date/time and deleting the alarm db every thing worked fine. I don't know, if this is/was a problem of our PLC hardware/firmware? Maybe check date/time at your system?
Last updated: 2024-09-13
Post by fabian on v3.5 SP19 - Modbus TCP Devices - Channel Limit?
CODESYS Forge
talk
(Post)
Hi all, Is there an update on this topic? Same problem here, I can not add more than 10 Modbus-Slave channels. Is there a workaround? Many thanks! Fabian Codesys 3.5.19 SP2, Modbus 4.3.0.0, Name: Modbus TCP Slave Hersteller: 3S - Smart Software Solutions GmbH Kategorien: Modbus TCP Slave Typ: 89 ID: 0000 0005 Version: 4.1.0.0 Bestellnummer: - Beschreibung: Ein Geraet, das als Slave fΓΌr einen Modbus TCP Master konfiguriert ist. Version Konfiguration 3.5.11.0
Last updated: 2023-08-28
Post by rh-pk on v3.5 SP19 - Modbus TCP Devices - Channel Limit?
CODESYS Forge
talk
(Post)
Hello Vincent, I don't have 75 channels but it works for me as described above without any problems. There is also a parameter MAX_MODBUS_CHANNELS in the library parameters for the IoDrvModbusTCP module. The default value there is 100. Perhaps you are reaching the limit there? The value can be adjusted accordingly. I assume that this value is not accepted in the input dialogue and therefore the 'fixed' limit value 10 is used.
Last updated: 2024-04-10
Post by yofi on Configuring an Encoder
CODESYS Forge
talk
(Post)
I have a raspberry pi trying to add encoder to it using that free encoder node. I simply dont understand where the encoder channel A/B suppoded to be mapped when i got to I/O mapping on encoder I get nothing to where to set the channels for the encoder or is there any blocks from a library or how is it that you use an encoder with Codesys it doesn't seem clear at all
Last updated: 2024-05-25
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
Post by smartcoco on Add visual background FB blocks.
CODESYS Forge
talk
(Post)
Can you add a background FB block to the visualization page, and loop through this FB block when the page is in display mode. This FB block requires two more functions, one for executing when the page is displayed and the other for executing when the page is closed.
Last updated: 2024-01-16
Post by dhumphries on install codesys runtime on linux
CODESYS Forge
talk
(Post)
Adding the command worked. I was able to deploy the runtime on an ubuntu server installation. Thanks!
Last updated: 2023-11-04
Post by imdatatas on Detecting if a client is connected to webvisu server
CODESYS Forge
talk
(Post)
Thank you @dgirard Your idea and above description helped me what i was looking for.
Last updated: 2023-11-08
Post by yang123 on EtherCAT Can't reconnect to servo drive
CODESYS Forge
talk
(Post)
I am using Ethercat Master 4.6.0.0 and have use the automatic restart slaves feature. But we found of after the Ethercat communication normal and slave drive power-off and power-on the slave can't reconnect sucess. The PLC Log show the drive was al status "6#34 : Invalid DC Timeout Error" and its was reconnection sucess first but seconced later the drive will show the "16#2C : Fatal Sync error" and then drive will can't reconnection. Other slave are reconnect sucess which was link after the can't reconnect's drive the drive was OMRON R88D-1SN
Last updated: 2024-01-23
Post by mariussandu on Codesys Control for Raspberry Pi 4.10.0.0 - Raspberry Pi OS > 2023-12-05
CODESYS Forge
talk
(Post)
Any update on 4.11? The release date was 20.02.
Last updated: 2024-02-21
Post by androidzz on Json Builder problem?
CODESYS Forge
talk
(Post)
I found my problem. The parentIndex from a new object was not connected to the root parent index
Last updated: 2024-03-11
Post by markl on Using wildcards with SysLibFile.lib
CODESYS Forge
talk
(Post)
I don't have an answer but I was wondering if you have found out more about using wildcards in Codesys?
Last updated: 2024-03-13
Post by j-a-y on PLC Login Credentials Suddenly not Working
CODESYS Forge
talk
(Post)
same here, was it an update or something?
Last updated: 2024-04-22
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
.