Post by talhaali on Persistent variables lost
CODESYS Forge
talk
(Post)
Hi, did you get any solution. I am facing similar problem. I lost all the values
Last updated: 2024-09-10
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
I took a look at the xml Is this even the right driver and where did you get it?
Last updated: 2024-11-07
Post by transmin01 on EL6751 Canopen_Manager issue
CODESYS Forge
talk
(Post)
Hi, I have a Beckhoff EL6751 EtherCAT / CANopen gateway which fails on the Canbus when the CANopen_Manager is added. Currently no devices are connected to the EL6751. If I add a device, I get the same issue. If I add a device and connect the bus, I get the same issue. Is there something I am doing wrong? Regards Trevor
Last updated: 2023-09-12
I don't know if this is where I should ask this, but I'm trying to get a Codesys OPC UA Client set up with a Kepware OPC UA Server
CODESYS Forge
talk
(Thread)
I don't know if this is where I should ask this, but I'm trying to get a Codesys OPC UA Client set up with a Kepware OPC UA Server
Last updated: 2023-10-19
Post by romrot on I don't know if this is where I should ask this, but I'm trying to get a Codesys OPC UA Client set up with a Kepware OPC UA Server
CODESYS Forge
talk
(Post)
Trying to create a Data Source under Data source manager, but I'm having issues with security. I get "BadUserAcessDenied" I don't know if there is something special I need to do on the Kepware server to make this work or what.
Last updated: 2023-10-19
Post by shabroz-gill on Unable to load boot application on ARMv7 device restart
CODESYS Forge
talk
(Post)
I download an application to an ARMv7 32 bit device. I start the applicatin and it all works fine. But when i restart the device the boot app is not able to start. I have to redownload the application from the development environment to get to run again. I get the following error messages in the log on the restart
Last updated: 2023-11-30
Post by davidbo on i2c How does CODESYS handle exception or error messages.
CODESYS Forge
talk
(Post)
For Raspberry Pi I have made a python script which regularly read a bulk of data over the ic2 from a device. Sometimes I get an Exception an IOError. I assume similar things can happen in CODESYS. So how does CODESYS handle that? Can I get any info about such an event?
Last updated: 2024-02-07
Post by bryandimino on OPC Da Server Code Meter Issues after Enabling License
CODESYS Forge
talk
(Post)
I'm trying to get the OPC server setup on my machine and currently I'm not having luck. I went ahead and got my license setup. However when I go to run WinCoDeSysOPC.exe I get an error message that I don't have the code meter licenses installed. Does anyone have any ideas on how I can fix this issue?
Last updated: 2024-05-02
Post by andreag0 on How to access to variable value through symbolic string name
CODESYS Forge
talk
(Post)
Hello, anyone know how to get valiable value using a symbolic string name? For example: - send string to runtime using TCP/IP contains "GVL.TestINT" and get back the value. I need function that will translate the string to symbolic variable. Thank you. Andrea
Last updated: 2024-06-13
Post by thedertom on Help with DynamicTextGetTextW
CODESYS Forge
talk
(Post)
Hi I try to get korean texts out of a textlist. For that I want to use DynamicTextGetTextW, but I am a little confused how it is supposed to work. The function returns POINTER TO STRING, but how do I get WSTRING? I succesfully used DynamicTextGetText with classical Strings. Thanks in advance!
Last updated: 2024-09-02
Post by anoori on Setting up Raspberry pi as an Opc ua Server with UaExpert as Client
CODESYS Forge
talk
(Post)
I am trying to set up my Raspberry Pi as an OPC UA server and use UaExpert on my Pc as the OPC UA client.However, Im encountering some certificate-related errors in UaExpert: 1.Unable to get local issuer certificate. 2. Unable to get certificate CRL. 3. Unable to verify the first certificate.
Last updated: 2024-09-11
Post by anoori on setting up Raspberry pi as an opc ua Server with UaExpert as Client
CODESYS Forge
talk
(Post)
I am trying to set up my Raspberry Pi as an OPC UA server and use UaExpert on my Pc as the OPC UA client.However, Im encountering some certificate-related errors in UaExpert: 1.Unable to get local issuer certificate. 2. Unable to get certificate CRL. 3. Unable to verify the first certificate.
Last updated: 2024-09-11
Post by lbartik on MPC predictive control
CODESYS Forge
talk
(Post)
Would this work? https://www.mathworks.com/hardware-support/codesys.html I'm also interested in real-world MPC and have no idea where to start. There is an exciting Python library that is also beyond my grasp: https://www.do-mpc.com/en/latest/index.html Step 1, get PhD(s). Step 2, get job in aerospace/robotics. Step 3, return 15 years later to share this knowledge?
Last updated: 2024-10-19
Post by eschwellinger on WAGO PFC200 FW25 unable to connect
CODESYS Forge
talk
(Post)
please double check if you have in the project the same plc type like online available. (untag the " Hide non matching device filter.."
Last updated: 2023-12-09
Post by lostcontrol on Remote Ethernet/ip Adapter communication with scanner running on codesys
CODESYS Forge
talk
(Post)
is the bus running.? what type of values/IO is the adaptor providing? do you have a map of the data layout? are you actually looking at the right offset?
Last updated: 2023-12-16
Post by dhumphries on Not able to see input data coming from eip adapter on codesys
CODESYS Forge
talk
(Post)
The green icon with an ! next to the device is concerning. Is the data type correct for the input, you are using a byte input but the description says string. Is there anything useful in the status tab?
Last updated: 2024-03-06
Post by eschwellinger on How to Connect / Go Online without re-downloading the project
CODESYS Forge
talk
(Post)
Which plc type is it: Either use Automationserver to do this or save the project archives instead of projects or use the source dowload function and reopen the application from plc. So you need to chose one of them.
Last updated: 2024-04-13
Post by kevinm on Data source and safety PLC
CODESYS Forge
talk
(Post)
I am having the same trouble. However, if I change the Login Configuration settings to 'Type: Login using the credentials determined at runtime' then the Connection information continues as 'Connection state: Connecting' and 'Error information: OK'. There is no User Management on the source PLC.
Last updated: 2024-05-16
Post by shabroz-gill on Data Sources Manager causing exception due to float or double type in OPC server
CODESYS Forge
talk
(Post)
Was this ever resolved? I see the same issue with the version 3.5.19.5
Last updated: 2024-07-01
Post by dekelec on Codesys 2.3 & Peak PCAN
CODESYS Forge
talk
(Post)
IF you have an USB interface type in "Peak_USB" for CAN card driver (Name of CAN card driver). No need to add libraries for communication via CoDeSys Gateway. For other card types contact PEAK support and they will help you. Regards,
Last updated: 2024-07-08
Post by dennisyhli on Ethernet IP Connection timeout
CODESYS Forge
talk
(Post)
I use ethernet ip scanner and the connection type is set to multicast. After running the PLC, the ethernet IP will have a connection timeout every 10 seconds. What is the reason for this error?
Last updated: 2024-08-16
Post by ph0010421 on How to manage variable types larger than 64 bits - Ethernet/IP
CODESYS Forge
talk
(Post)
So it's currently mapped to an array of BYTES? Can you create a UNION? TYPE sBytesString : UNION AsBytes: ARRAY[0..127] OF BYTE; AsString: STRING(128); END_UNION END_TYPE Map it to the bytes, read it in the STRING!
Last updated: 2024-09-23
Post by opineiro on How to manage variable types larger than 64 bits - Ethernet/IP
CODESYS Forge
talk
(Post)
Thanks, that's what I thought initially. The point is that I can't select a String type variable. See the attached image
Last updated: 2024-09-23
Post by timvh on Readable IO names
CODESYS Forge
talk
(Post)
IF you create an ENUM {attribute 'qualified_only'} {attribute 'strict'} TYPE E_IO : ( FIRST := 0, SECOND := 1 ); END_TYPE You should be able to access the array items like: IOCard_OUTPUT[E_IO.FIRST]
Last updated: 2024-09-28
Post by tmo21 on Automation server - trends stop recording - need to manually reconnect
CODESYS Forge
talk
(Post)
Hi Edwin, Thanks for your message. Edge controller Version: 4.4.0.0 based on 3.5.17.30 PLC version: Device Identification Name CODESYS Control for Raspberry Pi MC SL Vendor 3S - Smart Software Solutions GmbH Device type Softmotion3S Firmware version 4.4.0.0
Last updated: 2024-10-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
.