Post by janderson on OPC UA Server limitations, large array crashes runtime
CODESYS Forge
talk
(Post)
when using an array of structs, the runtime crashes. but when using an array of LREALS, it'll do 100k at least
Last updated: 2023-08-23
Post by tvm on Web Client (HMI) Disconnects from Webvisu (Weidmuller u-OS)
CODESYS Forge
talk
(Post)
We have seen this kind of thing before. I have two questions: 1. What kind of HMI are you using? 2. When this happens, are you able to connect using https, on port 8089?
Last updated: 2023-09-06
Post by sivakov on Change the default ssh port
CODESYS Forge
talk
(Post)
Of course there is! =) just edit file/etc/ssh/sshd_config and restart ssh service. but you'll lose the possibility of runtime management through "update Linux", so there enother question - how to change default port in codesys it-self?
Last updated: 2023-10-11
How to use more 4 instances of CANopen/Profibus/Modbus with The application-based license CODESYS Control
CODESYS Forge
talk
(Thread)
How to use more 4 instances of CANopen/Profibus/Modbus with The application-based license CODESYS Control
Last updated: 2023-11-02
Post by vincentd on Datasource OPC UA Client error ID:7012
CODESYS Forge
talk
(Post)
I had some help from Codesys to debug this problem. It seems there was a problem within the target (a bug?). I only used for a proof of concept. Possibly it will work with a new version of the target
Last updated: 2023-11-21
Post by imdatatas on Axis variable indicating modulo of finite setting
CODESYS Forge
talk
(Post)
You could try with "iMovementType" member of AXIS_REF_SM3 struct. https://content.helpme-codesys.com/en/libs/SM3_Basic/Current/SM3_Basic/DriveInterface/AXIS_REF/AXIS_REF_SM3.html https://content.helpme-codesys.com/en/libs/SM3_Basic/Current/SM3_Basic/DataTypes/DriveInterface/SMC_AXIS_TYPE.html
Last updated: 2023-11-25
Post by bossjosh21 on Codesys Modbus RTU (Modbus_Slave_Com_Port Not Running)
CODESYS Forge
talk
(Post)
Can someone help me about my problem of my Modbus_Slave_Com_Port Not Running. I am using RevPiConnect 4 and I connected my actuator to the RS485 of my RevPI.
Last updated: 2023-12-05
CSV_Write_read: a sample program for the CODESYS Control WinV3 writing and reading 1000 records of CSV data in a file ...
CODESYS Forge
talk
(Thread)
CSV_Write_read: a sample program for the CODESYS Control WinV3 writing and reading 1000 records of CSV data in a file ...
Last updated: 2023-08-08
Purchased the CODESYS SoftMotion SL License but the status of my SM_Drive_RaspiStepper shows license missing or invalid
CODESYS Forge
talk
(Thread)
Purchased the CODESYS SoftMotion SL License but the status of my SM_Drive_RaspiStepper shows license missing or invalid
Last updated: 2022-08-16
getting compile errors C0035 and C046 for instances of FB when using redundancy, without redundancy => no errors
CODESYS Forge
talk
(Thread)
getting compile errors C0035 and C046 for instances of FB when using redundancy, without redundancy => no errors
Last updated: 2022-10-19
Python Scripting: How to detect and handle "Object reference not set to an instance of an object" error
CODESYS Forge
talk
(Thread)
Python Scripting: How to detect and handle "Object reference not set to an instance of an object" error
Last updated: 2023-08-16
Post by damian177 on Persistence variables PFC200
CODESYS Forge
talk
(Post)
Hi, I using persistence variables like below: VAR_GLOBAL PERSISTENT RETAIN id_worker1: ARRAY [0..3] OF INT := [231,234,176,222]; id_worker2: ARRAY [0..3] OF INT := [211,129,125,221]; Initial values can cause some problems?
Last updated: 2023-12-08
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 dkugler on Ramp function
CODESYS Forge
talk
(Post)
The util.RAMP_INT and util.RAMP_REAL from Codesys have an input for the start value. What is the advantage of this OSCAT ramp instead of the Codesys util lib?
Last updated: 2024-01-10
Post by jdjennings1962 on Trouble accessing Math functions in OSCAT library
CODESYS Forge
talk
(Post)
Thank you seoerr for your suggestion. When I implement that line, I get this error: ** [ERROR] 'OSCAT_BASIC.ARRAY_SDV' is of type FUNCTION and cannot be instantiated** Any other thoughts about instantiating these sections of the library which seem to be provided as source only?
Last updated: 2024-01-16
Post by alexgooi on Codesys OPC DA server requires more then 2 GB of ram
CODESYS Forge
talk
(Post)
Dear Forum, We are currently running into a problem that the CODESYS OPC DA server is running out of RAM (larger than 2 GB). We have a setup of 10 Codesys controllers which features around 300.000 discoverable tags per controller. We are only interested in 10 percent of the tags to be communicated to the OPC-server, this is due to the fact the program consists of arrays of objects which on their part implements arrays of objects, simply reducing the number of discoverable tags is not an option The OPC-DA server loads all the discoverable tags, is it possible to: 1 let the OPC-DA server only load the tags that are requested by the SCADA/MES system. 2 let the OPC-DA server claim more memory. 3 run 2 OPC-DA servers in parallel? Thank you in advance
Last updated: 2024-01-25
Post by alexgooi on Codesys OPC DA server requires more then 2 GB of ram
CODESYS Forge
talk
(Post)
My colleague has found a tool online, Now it is possible to go to 4 GB instead of 2, which is plenty for now: https://www.techpowerup.com/forums/threads/large-address-aware.112556/ Use at own risk
Last updated: 2024-01-25
Post by otdeveloper on IEC 61499
CODESYS Forge
talk
(Post)
Hello all, I cannot find anything connecting IEC-61499 to CODESYS. Considering the quality of the CODESYS IEC-61131-3 implementation and that IEC-61499 expands on it, literally including as integral part, why is there no mention of CODESYS and IEC-61499 anywhere on the internet?
Last updated: 2024-02-08
Post by paro on OPCUA array max length?
CODESYS Forge
talk
(Post)
I think the amount of data is already relatively high and maybe it has something to do with that? Maybe also the CPU load of your device? an array with string(5000)? and have you tested with how many array elements it still works?
Last updated: 2024-02-17
Post by rckalex on Data Source Limit
CODESYS Forge
talk
(Post)
There appears to be a limit to the number of OPC Servers that can be connected simultaenously. 1-10 work but adding an 11th makes one of the previously linked ones unavailable. Is this a soft setting that can be adjusted? Using 3.5.18.30 on Win x64
Last updated: 2024-03-06
Post by fraccaroli on New Codesys Library Dependencies
CODESYS Forge
talk
(Post)
Hello, you probably fixed in this meanwile, but I think your problem comes from dependencies of other libraries. I see in the Project column of errors the "caa types extern" and "caa fb factory", that both have dependencies. Try to check there. Regards, Francesco
Last updated: 2024-03-21
Post by kuuki on Losing focus of variable
CODESYS Forge
talk
(Post)
Hi. Does anyone know how to fix a problem with losing focus of a variable in FBD editor. Sometimes when trying to edit variable name, array index, etc. in network, editor randomly exits "text edit mode" and variable is replaced by text you were typing.
Last updated: 2024-03-26
Post by squiggleypuff on Can't Add New Version of Modbus TCP Master
CODESYS Forge
talk
(Post)
Turns out Modbus was working despite the pre-compiler errors; I was reading the wrong addresses of the slave device, which was why I was seeing all 0s. Thanks for ignoring me.
Last updated: 2024-04-09
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 fless on FB having single input but initialized with Array
CODESYS Forge
talk
(Post)
with every call of the FB500 it keeps adding the INTs of the array to the sum variable. set sum to 0 before you start the loop.
Last updated: 2024-05-06
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
.