Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
i created a new project and did what you said, but still the same problem unfortunately. The ADS1115 is constantly changing from running to not running.
Last updated: 2024-11-08
Post by timvh on File access operation denied
CODESYS Forge
talk
(Post)
Go in Windows to this location. Right click on this file and go to properties. Is it in Read-only state? Then CODESYS cannot open in Write mode.
Last updated: 2024-11-09
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
This is the operating system and has nothing to do with the runtime. Unless you use 64bit commands. You can see for yourself that you have errors with 64bit compilers
Last updated: 2024-11-09
Post by ellocco on Leitungsverzweigung mit einem existierenden Block (z.B. AND-Glied) zu verbinden
CODESYS Forge
talk
(Post)
Thanks for your response and your idea. To sum up, you also have no idea how to connect two existing blocks. Meanwhile I worked with "PLCnext engineer" and the result is:
Last updated: 2024-11-11
Post by timvh on Converting each character to a string into ASCII
CODESYS Forge
talk
(Post)
A standard string is actually a list of bytes that represent the ASCII code for each character. The following part of code will give you the ASCII code of one of the characters in the string: byChar := sInput[i];
Last updated: 2024-11-11
Post by kumareasu on Windows on ARM / Microsoft Surface
CODESYS Forge
talk
(Post)
I too need this information. Is it possible to install CoDeSys runtime and convert a ARM system installed Windows IoT as OS and convert as PLC?
Last updated: 2024-11-16
Post by ben1 on How to write multiple coils (Modbus FC15)
CODESYS Forge
talk
(Post)
Yeah that is odd - sometimes you have to do what you have to do unfortunately. Have you tried sending consecutive bits in the word instead - ie. instead of [0].0. [1].0, [2].0 etc, send [0].0,[0].1, [0].2 etc. ?
Last updated: 2024-11-17
Post by struccc on Bibliothek: floatingpointutils
CODESYS Forge
talk
(Post)
The issue s the byte order typically in this case. Can be especially problematic with floating point numbers - even more tricky if transferred with a word based protocol. It is a peasant way to try out the alternatives, dword order can be a-b-c-d, b-a-d-c, c-d-a-b, d-c-b-a where a is the most significant, d is the least significant byte. So all you need is to swap the bytes in your dword, until you get the expected result. If you don't want to mess writing code for this, I'd recommend CAA_Memory library for that: MEM.ReverseBYTEsInDWORD and MEM.ReverseWORDsInDWORD functions would definitively do the trick. Otherwise, can do like this: VAR dwIn : DWORD := 16#11223344; dwOut : DWORD; rOut : REAL; pIN : POINTER TO BYTE; pOUT : POINTER TO BYTE; END_VAR pIN := ADR(dwIn); //pOUt := ADR(dwOut); pOUt := ADR(rOut); pOut[0] := pIN[3]; pOut[1] := pIN[2]; pOut[2] := pIN[1]; pOut[3] := pIN[0]; Ugly, but does the job...
Last updated: 2024-11-19
Post by struccc on Checking or changing objects dimensions using code.
CODESYS Forge
talk
(Post)
That time it was not answered. But yes, it is possible. Search for "Relative movement" properties of the rectangle element. Might need to enable advanced features in the property browser. https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_elem_rectangle.html
Last updated: 2024-11-19
Post by ralfki on XMLWriteAsync
CODESYS Forge
talk
(Post)
Hello, I tried to write a XML file with XMLWriteAsync. Unfortunately after every Element it adds two CR and one LF. Is it possible to have only one CR and LF. Thanks for the support
Last updated: 2024-11-20
Post by yannickasselin on ControlWin 3.5.20.30 Issues
CODESYS Forge
talk
(Post)
Hello, I tried installing ControlWin 3.5.20.40 and still have the same issue. I tried on 2 different PCs running Win10 Enterprise 2016 LTSB So I then installed the Gateway from 3.5.20.20 and it works. Is there an issue using ControlWin 3.5.20.40 with Gateway from 3.5.20.20? Thank you
Last updated: 2024-11-25
Post by zatalian on Beckhoff EL7037 softmotion
CODESYS Forge
talk
(Post)
The SM3_Drive_ETC_Beckhoff_EL70xx library has descriptors for the EL7031, EL7041 and EL7047 but not the EL7037? Is there another library that has the one I need?
Last updated: 2024-11-26
Post by aikapan on Ethernet/IP Scanner Exception
CODESYS Forge
talk
(Post)
Same here. plcload in my case is about 7% while running. Watchdog ENIPScannerIOTask was about 200ms. Max cycle around 6ms, normal cycle time 4ms. Probably just increase the watchdog to 2000ms? or so... (Hardware: A Panel from Weintek)
Last updated: 2024-11-28
Post by gatto on library ModbusTCP Slave 4.1.0.0 - function block ModbusServer
CODESYS Forge
talk
(Post)
Hi, again after spending a lot of time finding more information with no results, by chance I changed the device ID from 1 to 255 and the transmission works. Unfortunately the documentation is very very poor.
Last updated: 2024-11-28
Post by totorovic on Project loses 'Download time' information
CODESYS Forge
talk
(Post)
I'm still having issue with this. I have the same code between my IDE and the runtime but I cannot connect because there is no download time indicated on the IDE side. Please Codesys how to solve this ?
Last updated: 2024-12-03
Post by andrax on Need help to get RS-485 signal in Cosesys .
CODESYS Forge
talk
(Post)
You need an SPI driver for the board. If there is nothing on the net, you will have to write one yourself
Last updated: 2024-12-03
Post by totorovic on Project loses 'Download time' information
CODESYS Forge
talk
(Post)
Hello, Codesys team, please can I have an explanation? It's frustrating and complicated on production machines to have to reload the entire program even though it's identical, just because of this missing information. How the information 'Download time' is saved?
Last updated: 2024-12-11
Post by durallymax on Cannot Start Application ControlWin
CODESYS Forge
talk
(Post)
Using V3.5.19.70 with ControlWin x64 V3.5.19.70. Can start ControlWin and login to ControlWin but play button is grayed out. Under Device>Status ControlWin shows red with "No Driver Found" New laptop just setting up Codesys, Windows 11 24H2 Tried to uninstall and re-install with no success.
Last updated: 2024-12-15
Post by faceplant on Energie price
CODESYS Forge
talk
(Post)
Given the response to your API request, I don't think this is a CODESYS issue. The response says ... Please provide a valid API token ... so you must get a valid API key from enever.nl
Last updated: 2024-12-18
Post by jeroenaero on MC_CamIn did not work properly with SMC_FreeEncoder on SoftMotion 4.17.0.0
CODESYS Forge
talk
(Post)
For what it is worth taking into account on version 4.18: Softmotion 4.17 doesn't work with the SMC_TRAFO_Scara2. Very small numbers come out of dA and dB. Going back to version 4.16 solves the issues.
Last updated: 2025-01-07
Post by teichhei on The selected container ... does not fit your ticket
CODESYS Forge
talk
(Post)
Don't I need a browser on the device for web depot? Could work on the Pi but not the Wago controller. Maximum I have is SSH.
Last updated: 2025-01-08
Post by winki on Not Possible to connect using control SL
CODESYS Forge
talk
(Post)
Thx for your help, I just Uninstall and install again codesys. I did it as admnistrator and now it is working... I did not change anything into the target configuration. Only my codesys on my computer. Loic,
Last updated: 2025-01-10
Post by mubeta on Strange problem with the ‘MC_SetPosition’ function
CODESYS Forge
talk
(Post)
Hi gseidel, before moving to HW implementation, I had created the same program in simulation mode with virtual drives and, as far as I remember, everything worked fine simulating process and the few useful inputs. So it does not seem to be a SoftMotion library problem, but rather a problem with dynamics or physical axis adjustments. What escapes me, however, is the fact that this function is supposed to perform a position shift virtually, in fact without interfering with the axis itself, thus independent of its adjustments. MC_SetPosition() is not a homing function, in fact it is clearly intended to be executed on the fly with the axis moving. Now I'll see if I can reduce the program, although I don't like it very much. In my life I have learned that problem searches should be done on the part, and not in a more or less similar way.
Last updated: 2025-01-10
Post by winki on Not Possible to connect using control SL
CODESYS Forge
talk
(Post)
Thx for your help, I just Uninstall and install again codesys. I did it as admnistrator and now it is working... I did not change anything into the target configuration. Only my codesys on my computer. Loic,
Last updated: 2025-01-10
Post by winki on OPCUA Server With COntrol For Linux Arm64
CODESYS Forge
talk
(Post)
Hello, I am wondering if it is possible to have OPCua Server with Control for linux ARM64. Indeed I am not able to add symbol configuration.
Last updated: 2025-01-13
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.