Codesys and error messages, warnings exceptions etc.
CODESYS Forge
talk
(Thread)
Codesys and error messages, warnings exceptions etc.
Last updated: 2024-11-06
Webvisu cliënt responsiveness
CODESYS Forge
talk
(Thread)
Webvisu cliënt responsiveness
Last updated: 2024-11-06
Post by pixsys on loading delay with the option "check client animations and overlay of native elements"
CODESYS Forge
talk
(Post)
Hi, the option "Support client animations and overlay of native elements" needs a very powerful graphics accelerator in the system. I'm using the Pixsys srl "TC series" HMI with the code "P3" (so a 4+4 cores CPU) that runs very well also with this option active.
Last updated: 2024-11-06
Trying to pull Logged In user details and certain other variable values and in turn log to a database
CODESYS Forge
talk
(Thread)
Trying to pull Logged In user details and certain other variable values and in turn log to a database
Last updated: 2024-11-07
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Last updated: 2024-11-07
Post by varshag on Trying to pull Logged In user details and certain other variable values and in turn log to a database
CODESYS Forge
talk
(Post)
Hello All, I am new to Codesys and am trying to create a simple project which would let me log to a 6 column database table. I can use a push button on Visualization to initiate the logging. Column 1:Timestamp Column 2:Full name or Initials of Logged in operator Column 3,4,5,6: Certain variables Any help is highly appreciated. Thank you.
Last updated: 2024-11-07
Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Hello, We have a problem with CodeSys on a raspbery pi with an ADS1015 analog to I2C module. It can't find the I2C device on the i2c bus, it says No I2C Driver Found. When we use the RPI terminal we can find the I2C device and read it out. The i2c-1 bus is also accessible from codesys. The device address of the Analog to I2C module is 0x48. Can someone have a look what the problem is? i submitted the screenshots in the attachments. i also include the device description and library.
Last updated: 2024-11-07
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 xabier on BUG CODESYS-NO WORK AUTOMATICALLY RESTARSLAVES
CODESYS Forge
talk
(Post)
I detect a Bug of Codesys....NO WORK AUTOMATICALLY RESTARSLAVES. I explain the secuence: I have click in my project the option AUTOMATICALLY RESTARSLAVES In the moment start my Ipc, the network ethercat start correctly I disconnect the wire of my first slave and later connect again the wire..(see the screen Bug Codesys restart slave1) NO work the restart automatic slaves...and is not possible execute of FB MC_REset beacuause appear this error (see the screen Bug Codesys restart slave2) The only way for resolver this problem is execute the FB SMC3ReinitDrive I replay the same with PLC BECKHOFF in Twincat3 and I havent this problem...In the moment connect the wire again in the slave the comunication of ehterCat restart and the slave comunication again with out problem
Last updated: 2024-11-07
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
take a look here. there is a working driver in the collection https://forge.codesys.com/forge/talk/Deutsch/thread/87bfe42cbb/?limit=25#514f
Last updated: 2024-11-07
Post by hemuv on Open Numpad with VU.FbOpenDialogExtended
CODESYS Forge
talk
(Post)
Hello Barton, I try to log the changes in Numpad (upon Ok button pressed) that an Element name/Element text variable is changed from so to so. How to get the Element name (or text fields Text Variable) from where the Numpad is called? Numpad is Invoked from Inputconfiguration->onMouseDown->Write a variable. Thanks
Last updated: 2024-11-07
BUG CODESYS-NO WORK AUTOMATICALLY RESTARSLAVES
CODESYS Forge
talk
(Thread)
BUG CODESYS-NO WORK AUTOMATICALLY RESTARSLAVES
Last updated: 2024-11-07
Open Numpad with VU.FbOpenDialogExtended
CODESYS Forge
talk
(Thread)
Open Numpad with VU.FbOpenDialogExtended
Last updated: 2024-11-07
Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
yes i took the library from another forum: https://forge.codesys.com/forge/talk/Runtime/thread/f1400b71b6/, it is made for the ads1115 but the ads1015 is almost the same device with same adresses i only changed the divide value of the analog value, because thats the only difference between the ads1115 and ads1015.
Last updated: 2024-11-07
Post by ellocco on Leitungsverzweigung mit einem existierenden Block (z.B. AND-Glied) zu verbinden
CODESYS Forge
talk
(Post)
Is it possible under CODESYS V3.5 SP18, to connect a split (german Leitungsverzweigung) with an existing block (e.g. AND-module)? Or to connect the output of an existing block to the input of an existing block (e.g. OR-block)? Any ideas? P.S.: Sorry for the german title, I do not know how modify the title.
Last updated: 2024-11-07
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Note: if you do not get any values. Check the correct wiring again. The board seems to be running and you have no error.
Last updated: 2024-11-07
FUP: Ausgang eines existierenden Blocks mit dem Eingang eines existierenden Block verbinden
CODESYS Forge
talk
(Thread)
FUP: Ausgang eines existierenden Blocks mit dem Eingang eines existierenden Block verbinden
Last updated: 2024-11-07
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Ok, this is a test programme with ADS1115. It is currently configured for the TCA9548 muxboard. If you want to run the ADS1115 single, then change the settings to the default values: ‘Is Multiplex:’ False ‘Stage mux channel numbers:’ [0,0,0,0,0,0,0,0,0] It is also important that the libraries are installed correctly here. But should be in this project
Last updated: 2024-11-07
Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
thank you, i tried your library and device description but i don't get analog values. Do i something wrong? i also got an library error at the I2C_BASE functionblock the calcCycleTime gave an variable size error, so i added thet conversion from ULINT_TO_UDINT.
Last updated: 2024-11-07
Post by ellocco on FUP: Ausgang eines existierenden Blocks mit dem Eingang eines existierenden Block verbinden
CODESYS Forge
talk
(Post)
Ist es unter dem FUP-Editor von CODESYS V3.5 SP18 möglich, eine Leitungsverzweigung mit einem existierenden Block (z.B. AND-Glied) zu verbinden? Oder den Ausgang eines existierenden Blocks mit dem Eingang eines existierenden Blocks (z.B. OR-Block) zu verbinden? Gibt es dazu Vorschläge?
Last updated: 2024-11-07
Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Okay i will try. I tried already the different settings. The CodeSys version i use, is CodeSys 3.5 SP20 Patch 3. The device which i use is CodeSys Control For Raspberry PI 64 SL version 4.13.0.0. The wiring should be okay because i'm using the Edatec ED-CM4IND-1432-4C(EU).
Last updated: 2024-11-07
Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
The voltage what i want to measure is 3.286v. I can check the voltage through terminal, see screenshots.
Last updated: 2024-11-08
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Hi, Communication with the ADS1115 is actually simple. 1. write config 2. write address pointer 3. read conversation register The ADS1115 works like a multiplexer. This means that you do this individually for each channel that you want to read. e.g: Channel 1: write config > write address pointer > read conversation register Channel 2: write config > write address pointer > read conversation register Channel 3: write config > write address pointer > read conversation register Channel 4: write config > write address pointer > read conversation register then you start again from the beginning You can also omit individual channels or read only one. It doesn't matter. I have written the driver so that I can also use it on the TCA9548. The driver is from Stefan Dreyer. In your case, the driver works and communication with the ADS1115 is running. As you can see, the cfgWrong:=FALSE If you could not write or read data, cfgWrong:=TRUE; This means that either something is wrong with your ADS1115 or you have connected something incorrectly. Question: what voltage do you want to measure?
Last updated: 2024-11-08
Post by jeroenaero on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
I tested your project but with same results i am still not seeing analog values. I also included the library list, the mainprogram.
Last updated: 2024-11-08
Post by lsislsis on SIGABRT Error
CODESYS Forge
talk
(Post)
After many tests i see that problem comes when serial communication established for modbus rtu. If the slave device not connected we don't see the exception. If the slave device connected at serial port then we have exception about 1 hour after startup and every 10 or 15 minutes. Any suggestion?
Last updated: 2024-11-08
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
.