Post by thewizard8 on Raspberry PI4 Serial Port
CODESYS Forge
talk
(Post)
Hi Dear All, I'm using my raspberry PI4 as a CoDeSyS PLC (Build from scratch with custom electronics). I was able to implement all fieldbuses with the exception of Modbus Serial. I'm using the internal Port (GPIO) and I configured it in /etc/Codesyscontrol_user.cfg the following away: [SysCom] Linux.Devicefile.1=/dev/ttyUSB0 Linux.Devicefile.2=/dev/ttyS0 I'm using COM2 on Master configuration. I'm using a interface board from TTL/RS485 (bidirectional board), and it's works perfectly with other devices but not in CoDeSyS. I'm able to send data with python script and read it on my pc using putty, but when I use a modbus slave simulator to interface with codesys I always get red icons on master and slave. (Please find image attached). I'm pretty shure that this might be a bad parameter on my CoDeSyS runtime configurstion file. Can someone help me? I'm stuck and this is for my master degree certification.
Last updated: 2024-03-18
Post by thewizard8 on Raspberry PI4 Serial Port
CODESYS Forge
talk
(Post)
Hi thanks once again, Yes it supports because using python scripting I'm able to send data from the rasberry raspberry and receive it on my pc and vice versa (Image attached). But when using the CoDeSyS I just got red flags. Any light on this problem?
Last updated: 2024-03-19
Post by dakshakrd45 on Upload program
CODESYS Forge
talk
(Post)
when im trying to read/upload program from 1000nexgien plc its showing - The upload directory 'C:\Program Files (x86)\Messung Systems\CoDeSys V2.3\Upload\PLCCONF\' already contains configuration files (*.cfg). These will be deleted now to be able to proceed. what should i do please help!
Last updated: 2024-03-26
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 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 simonh on Datasource OPC UA Client error ID:7012
CODESYS Forge
talk
(Post)
Hello, did you find the solution for the communication?Has the communication between the two been successful? if yes, can you please share me your solution since i have similar issue now. Thanks.
Last updated: 2024-04-04
Post by dawidr on Timeout Error in Modbus Communication with WAGO PFC200 and iEM2050 Meter using 750-652 Module
CODESYS Forge
talk
(Post)
Did you manage to solve the problem with time out? I got the same issue and I've no idea what I'm doing wrong.
Last updated: 2024-04-07
Post by dawidr on Timeout Error in Modbus Communication with WAGO PFC200 and iEM2050 Meter using 750-652 Module
CODESYS Forge
talk
(Post)
Did you manage to solve the problem with time out? I got the same issue and I've no idea what I'm doing wrong.
Last updated: 2024-04-07
Post by joschi2804 on Licensing info not available.
CODESYS Forge
talk
(Post)
Hi, I am facing the same issues. I've tried it with codesyscontrol version 4.10.0.0 (codemeter version 7.60.5625.503) and with version 4.11.0.0 (codemeter version 8.0.5967.500). @eschwellinger, can you send me also a preliminary version of it, please? Thanks in advance
Last updated: 2024-04-09
Post by mibkid17 on Ethernet Adapter message: Adapter configured. Open all connections
CODESYS Forge
talk
(Post)
Trying to control 525 with codsys the info from C-4 section. i should input the value in user defined parameters? in the generic device
Last updated: 2024-04-09
Post by januar on Trend recording build error - the variable "arrTraceMgrVariablesImpl" is too large
CODESYS Forge
talk
(Post)
Hi Adel, No, I just update all to the latest version and it is working. Kind regards, Januar
Last updated: 2024-04-10
Post by joschi2804 on Licensing info not available.
CODESYS Forge
talk
(Post)
Hello, I've added some additional log output. Maybe this helps in figuring out the root cause. I've turned logging and verbose mode on for the CodeMeterLin application and I get the error, that some entry is not found.
Last updated: 2024-04-11
Post by marcolim on Slow modbus digital input response
CODESYS Forge
talk
(Post)
Hi francoinf, I've the similar problem and similar configuration. I did with an Arduino Board loaded by a ModbusRTUServer application on it. What I've notice is the slowly acquisition when release the digital signal (e.g. pin2) when it gets off. Anyone have suggestion?! Thanks
Last updated: 2024-04-13
Post by marcolim on Slow modbus digital input response
CODESYS Forge
talk
(Post)
[Update]. My issue's solved, I applied the resistors in Pull-down configuration on each digital input. In thus configuration never happened "floating or delaying" acquisition on SoftPLC/Arduino Board.
Last updated: 2024-04-15
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 dkugler on I want to convert a WORD to a hex string like 15.432 to '3C48'
CODESYS Forge
talk
(Post)
you try to convert a WORD with BYTE_TO_HEX directly? Using https://de.helpme-codesys.com/ lead to the SM3_shared lib. There is a function: https://content.helpme-codesys.com/en/libs/SM3_Shared/Current/SM3_Shared/StringFormat/Word_To_HexString.html
Last updated: 2024-04-19
Post by damian177 on RevPi piBridgeRight not found in project.
CODESYS Forge
talk
(Post)
Hi, Like in tpoic I hahe a problem with running DIO on RevPi Core SE working with Codesys. Look in attachments. Any idea how solve the problem ?
Last updated: 2024-04-27
Post by k2saki on Discontinuity of A/B/C axis movement.
CODESYS Forge
talk
(Post)
Hello. Good morning. I have a same problem with short-segment G01 in GCode even in XY Axis. ( I'm using SMC_ReadNcFile2, SMC_NcInterpreter, SMC_CheckVelocities before IPO , watching Youtube tutorial video.. ) How did you solve this problem ?
Last updated: 2024-04-29
Post by alex2 on Codesys SVN
CODESYS Forge
talk
(Post)
Thank you for your answer. So i assumed correctly... And yes thats pretty expensive... Having to pay that much only for SVN / Git. we will look for that.
Last updated: 2024-04-29
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
.