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: 7 days ago
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: 7 days ago
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: 7 days ago
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: 7 days ago
Post by timvh on Converting each character to a string into ASCII
CODESYS Forge
talk
(Post)
Nice puzzle for a Saturday afternoon :-). Here my suggestion: VAR sInput : STRING := 'R123'; byChar : BYTE; sOutput : STRING; i: INT; END_VAR sOutput := ''; IF LEN(sInput) = 0 THEN RETURN; END_IF FOR i := 0 TO LEN(sInput) - 1 DO byChar := sInput[i]; sOutput := Concat(sOutput, TO_STRING(byChar)); END_FOR
Last updated: 6 days ago
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Can you please make your project available? I'll take a look at it.
Last updated: 6 days ago
Display Units/Scale on Path3D visualization
CODESYS Forge
talk
(Thread)
Display Units/Scale on Path3D visualization
Last updated: 7 days ago
Post by trusty-squire on Display Units/Scale on Path3D visualization
CODESYS Forge
talk
(Post)
Hi, Is it possible to display the units along the X,Y axis of the Path3D element? It correctly shows the CNC path to be followed, but there's no indication of scale or size of what's being displayed. I looked at the documentation and my first inclination is that this is not possible, and the option option would be to somehow recreate the Path3D functionality into the XY Chart visu element - which is not ideal. Any suggestions or pointers would be appreciated!
Last updated: 7 days ago
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: 7 days ago
Post by timvh on Leitungsverzweigung mit einem existierenden Block (z.B. AND-Glied) zu verbinden
CODESYS Forge
talk
(Post)
A branch is a branch (doesn't grow back to the tree). But what you are trying to do is use several XORs. See attachement.
Last updated: 6 days ago
Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
We use a Compute module 4 it's 64bit based, so i cannot change it to sl.what are the possibilities to get the i2c working?
Last updated: 6 days ago
Compiling Errors with Ethernet/IP Scanner
CODESYS Forge
talk
(Thread)
Compiling Errors with Ethernet/IP Scanner
Last updated: 6 days ago
File access operation denied
CODESYS Forge
talk
(Thread)
File access operation denied
Last updated: 6 days ago
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
I took a look at your project. First of all, a Raspbery Pi4 is installed. You must use the GPIOs_A_B(GPIOs B+/Pi2). The error ULINT can't be set to IDINT.... with your project as well. If I change your project to ‘CODESYS_Control_for_Raspberry_Pi_SL’ the error is gone.
Last updated: 6 days ago
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: 6 days ago
Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
I included a project archive in the attachments
Last updated: 6 days ago
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Sorry, wrong expression. You have a 64bit system, so do I. You can also use the 64bit runtime, but most bib and commands are 32bit and are not properly supported. I had read somewhere that there are problems with I2C. That's why I recommend switching to PI_SL and using the correct gpio.
Last updated: 6 days ago
Post by marekxc on Compiling Errors with Ethernet/IP Scanner
CODESYS Forge
talk
(Post)
Update the Device: Right-click on the device icon in the project tree. Select the “Update Device” option. Recompile the Project: After updating the device, recompile the project from scratch to ensure that all changes are included. Check Task Settings: Go to the “Tasks” tab in the project. Check the priority settings for the tasks to ensure they are configured correctly.
Last updated: 6 days ago
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: 6 days ago
Codesys V2.3 🇬🇧
CODESYS Forge
talk
(Discussion)
Forum about V2.3
Last updated: 4 days ago
Post by tyronnosaurus on SysLibMem.lib Where To Download?
CODESYS Forge
talk
(Post)
It should come by default on a normal install of Codesys 2.3, but it's a bit hidden: Like for any other library, go to Resources > library Manager > Right click on list of libraries > Additional library. On the browser that opens, instead of looking in the default folder, use the dropdown menu at the bottom to change the folder (SysLibMem should be on the 3rd folder).
Last updated: 4 days ago
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: 4 days ago
SysLibMem.lib Where To Download?
CODESYS Forge
talk
(Thread)
SysLibMem.lib Where To Download?
Last updated: 4 days ago
Post by mae-rex on Anzeige von gelatchten Werten im Alarmmanager in anderen Zahlenformat
CODESYS Forge
talk
(Post)
Hallo, ich möchte den Alarmmanager verwenden und dabei einen generischen Fehlereintrag für meine Subkomponenten haben. Diese haben im allgemeinen einen Fehlercode, der hexadezimal dokumentiert ist und somit für den Anwender auch in der Form am sinnvollsten ist. Daher meine Frage: Gibt es eine Möglichkeit den Fehlertext in der Alarmkonfiguration wie folgt (in der Funktionalität) anzupassen: "Komponentenfehler hex(<latch1>)" oder wie auch immer.</latch1> Grüße
Last updated: 4 days ago
Post by gatto on Undertanding Application Based Licenses
CODESYS Forge
talk
(Post)
Hi, i think you are right. Did you press the key shopping cart? Codesys tells you the license. What I don't appreciate is that i need an additional license for communication. The system reports opc ua but this cheats you. This is communication that also concerns the tag symbols that codesys eth v3 exchanges with an operator panel. Attached is a screenshot of my case where you can see that communication opc ua is cheating you. 512 tags included in the program license are few. So, I had to buy 2 licenses. one for the program and one for communication. I don't like this policy.
Last updated: 4 days ago
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
.