Search talk: NOT ISTL'

 
<< < 1 .. 793 794 795 796 797 .. 799 > >> (Page 795 of 799)

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

Post by andrax on CodeSys Raspberry pi I2C driver not found CODESYS Forge talk (Post)
Ok, with debug you suppress the errors, but that doesn't help you any further. You can find information about the missing drivers here https://forge.codesys.com/forge/talk/Runtime/thread/8981ce928a/ and here https://github.com/stefandreyer/I2C-Multiplex I'll have to have another look at which library you need. But you can easily find out. Create a completely empty project and insert the TCA9548. You don't need the board. Then look in the library and resolve all conflicts If you can compile the project without errors, delete the TCA9548 and insert the ADS1115. The driver should then also run. Small bonus: with the TCA9548 you can expand your network as you wish and use identical sensors multiple times
Last updated: 2024-11-08

Post by jeroenaero on CodeSys Raspberry pi I2C driver not found CODESYS Forge talk (Post)
okay, the weird thing is the driver is only continuous running when i enable debug output. if debug is not enabled it's continuous switching from running to not running. i will check again and download the libraries Which versions of libraries do you use, can you send a screenshot?
Last updated: 2024-11-08

Post by andrax on CodeSys Raspberry pi I2C driver not found CODESYS Forge talk (Post)
your driver is not running. All libraries must be present first! Then you can try the following. Delete the ADS1115 and the I2C_maseter from the device tree. Create everything again.
Last updated: 2024-11-08

Post by andrax on CodeSys Raspberry pi I2C driver not found CODESYS Forge talk (Post)
You are also missing the libraries. No library should be grayed out or highlighted in blue
Last updated: 2024-11-08

Post by jeroenaero on CodeSys Raspberry pi I2C driver not found CODESYS Forge talk (Post)
I also have a screenshot of the library versions under your library
Last updated: 2024-11-08

Post by ellocco on XOR with four Inputs with OR-, NON- and AND-Operators CODESYS Forge talk (Post)
My topic is more of academic nature, I would like to implement an XOR-operation with four inputs on my own (without the predefined XOR-operator) in a function block diagram (FBD). I have two proposals. One works fine and the other one is just an idea, but I do not know, if it is possible to code it in CODESYS V3.5 SP18 in form of a FBD. Here the one that works: And here an idea, which I have not managed to code it as an FBD: Any ideas? Is the 2nd diagram a correct interpretation of the coding task? And is there a way to implement it in form of an FBD in CODESYS V3.5 SP18? Followup (08-Nov-2024): Also in the current version of CODESYS (V3.5SP20Patch3) I have not managed to connect the existing blocks. In the alternative SPS-IDE PLCnext Engineer it is possible.
Last updated: 7 days ago

SIGABRT Error CODESYS Forge talk (Thread)
SIGABRT Error
Last updated: 7 days ago

Post by bertcom on Converting each character to a string into ASCII CODESYS Forge talk (Post)
Good afternoon, I have a project where i need to split a string and send it in ascii code to an Domino Printer. Concept: i get an String from an Zebra scanner looking like this : " R002043;5410761402862;Oil Plus 2C Comp.A - Gris Belge;1286193824;" To start is the ";" the seperator. i found some functions to delete the ";" in a string. this is okay but now i want to convert each digit in the string into ascii like this: R=82 0=48 0=48 2=50 0=48 ... This because the printer wants to receive a string like this: <esc>OQ001TE 82 48 48 50 48 ...<eot></eot></esc> Anyone who can help me with setting me on the right track with some advice?
Last updated: 2024-11-08

Post by bertcom on Converting each character to a string into ASCII CODESYS Forge talk (Post)
Good afternoon, I have a project where i need to split a string and send it in ascii code to an Domino Printer. Concept: i get an String from an Zebra scanner looking like this : " R002043;5410761402862;Oil Plus 2C Comp.A - Gris Belge;1286193824;" To start is the ";" the seperator. i found some functions to delete the ";" in a string. this is okay but now i want to convert each digit in the string into ascii like this: R=82 0=48 0=48 2=50 0=48 ... This because the printer wants to receive a string like this: <esc>OQ001TE 82 48 48 50 48 ...<eot></eot></esc> Anyone who can help me with setting me on the right track with some advice?
Last updated: 2024-11-08

Post by s1ack on Undertanding Application Based Licenses CODESYS Forge talk (Post)
Can anyone confirm my thinking here that this project will require Control Standard M because of the I/O channel count under the fieldbus?
Last updated: 2024-11-08

Converting each character to a string into ASCII CODESYS Forge talk (Thread)
Converting each character to a string into ASCII
Last updated: 2024-11-08

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 lsislsis on SIGABRT Error CODESYS Forge talk (Post)
2024-11-08T13:39:07.354Z, 0x00000103, 65544, 1, 0, runtime received SIGABRT - system may be in an inconsistent state* We recommend a reboot of the controller now! 2024-11-08T13:39:07.354Z, 0x00000111, 8, 260, 3, #### Exception: More than 2 exceptions in CH_COMM_CYCLE: Stop logging 2024-11-08T14:36:33.126Z, 0x0000100d, 1, 0, 0, Demo mode expired. 2024-11-08T15:35:49.253Z, 0x00000103, 65544, 1, 0, runtime received SIGABRT - system may be in an inconsistent state We recommend a reboot of the controller now! 2024-11-08T15:42:54.664Z, 0x00000103, 65544, 1, 0, runtime received SIGABRT - system may be in an inconsistent state We recommend a reboot of the controller now! *
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

<< < 1 .. 793 794 795 796 797 .. 799 > >> (Page 795 of 799)

Showing results of 19953

Sort by relevance or date