Hello everyone, I am facing an issue when working with MCP4725 and raspberry pi. I have downloaded the MCP4725 library from this forum. No matter what value I put in the MCP4725.xdacIn, the voltage is always at 0V. iDacValue : INT; MCP4725.xdacIn := iDacValue; (screenshot = Issue DAC 1) I am using a hardware that has raspberry pi core. The Codesys version I am using is Ver3.5 SP17 Patch3. I tried putting 97 in I2C Bus Parameters for MCP4725 (screenshot = Issue DAC 2) based on a conversation thread...
Hello, I am facing an issue when working with MCP4725 and raspberry pi. Considering this thread was based on working MCP4725 with RPi, I am posting my concern here. I have downloaded the MCP4725 library from this forum. No matter what value I put in the MCP4725.xdacIn, the voltage is always at 0V. iDacValue : INT; MCP4725.xdacIn := iDacValue; (screenshot = Issue DAC 1 or based on your screenshot solution as well) I am using a hardware that has raspberry pi core. The Codesys version I am using is...
Hello, I am facing a when working with MCP4725 and raspberry pi. Considering this thread was based on working MCP4725 with RPi, I am posting my concern here. I have downloaded the MCP4725 library from this forum. No matter what value I put in the MCP4725.xdacIn, the voltage is always at 0V. iDacValue : INT; MCP4725.xdacIn := iDacValue; (screenshot = Issue DAC 1) I am using a hardware that has raspberry pi core. The Codesys version I am using is Ver3.5 SP17 Patch3. I tried putting 97 in I2C Bus Parameters...
Hi! I am facing a similar problem like you. I have downloaded the MCP4725 library from this forum. No matter what value I put in the MCP4725.xdacIn, the voltage is always at 0V. iDacValue : INT; MCP4725.xdacIn := iDacValue; (screenshot = Issue DAC 1) I am using a hardware that has raspberry pi core. The Codesys version I am using is Ver3.5 SP17 Patch3. I tried putting 97 in I2C Bus Parameters for MCP4725 (screenshot = Issue DAC 2) but still I am facing the same issue. I have been using ADC in I2C...
Hi, Yes, reinstalling the OS of the plc is also a way. Good to hear that your issue is resolved. :) Have a good day! Best Regards!
Hi, Yes, reinstalling the OS of the plc is also a way. Good to hear that your issue is resolved. :) Have a good day! Best Regards!
Hello All, I have bought two raspberry pi based plc units sometime back. Last month I bought a runtime license 'Codesys Control for Raspberry Pi SL' and got an activation ticket from the team. I activated the license and installed it in one of the raspberry units which was successful. Now this morning I tried to load the same license in the other unit but I got an error '10957 [10957] - Ticket contains no open licenses for this firmcode' Can anyone tell me what it means or what am I supposed to do?...
First of all, I am so sorry for late reply. I just saw your message. Yes, I was able to fix it. But it was with Codesys V3.5 Patch 3 SP17. However, I don't think this issue has anything to do with codesys version. Here is what I did. Since my plc is based on linux system (raspberry pi), I had to first stop the plc then remove a few files and then start the plc again. The detailed description is given below. I first went into file manager in pi. There, I navigated through the folders in the path /var/opt/codesys....
Thank you so much for writing back to me. I will go through your suggestion and try it. Meanwhile, I created my own password logic using flags in structured text and worked it out. However, I will try what you suggested and get back to you. Best Regards!
hello all, i am using raspberry pi based plc and Codesys version is v3.5 patch 3 sp 17. i want to use user management for visualization change. i created admin, service and operator passwords under the tag visualization manager > user management. then i ceeated an input which has the access rights assigned accordingly. then in the properties menu of the visualization, i selected the access control option. but here is the issue. i cant grant the permission because it asks me some username and password...
hi, could you please help me with this issue. i am suddenly unable to download the code into my plc and i have no clue what is wrong. i am pasting the link that describes the issue here. https://forge.codesys.com/forge/talk/Engineering/thread/7053c43207/#7c33
by the way, could you please helpe through this issue. i am suddenly unable to download the code into my plc. and i have no clue what is going on. i have pasted the link that elaborates the problem here. https://forge.codesys.com/forge/talk/Engineering/thread/7053c43207/#7c33
Hello All, I am using a Raspberry Pi based PLC and Codesys version is Version 3.5 SP 17 Patch 3. I have been working on the unit for over three months now. I was able to login using the device logon credentials every time before downloading the code into PLC. But now today, I found a very weird issue. When I wanted to login to download like every other time, it asked me to enter the credentials and I did. The device got highlighted in green that means the credentials i entered were right and now...
Hello, Thank you so much. I will check this and get back to you.
Hello All, I am using a PLC based on raspberry Pi and the Codesys version I am working on is Codesys SP17 Patch 3. I have connected an USB drive to the Rasp Pi and I am given a file patch 'ls -al /media/pi' that I have to type somewhere in Codesys so that I can store results in this path. I am new to both Rasp Pi and Codesys. I am figuring out where to write this command. Can anyone help me? Or is there any other way I can access the USB drive connected to Rasp Pi using Codesys? Best Regards!
Hi all! I am using a PLC that is based on Raspberry Pi. My Codesys version is SP17 Patch 3. My question is about Runtime license. I will be buying the license but what I want to know is will I have reload all the libraries, GPIO, I2C and Raspberry Pi update configurations all over again because I bought a runtime license now? The reason I am buying runtime license is because after 2 hours the Raspberry Pi hangs stating there is an error in web visualization. On studying about it I came to know that...
Hi! Yes, this worked. Thank you so much for your help. I could switch in between the screens successfully. :) Best Regards!
Hello All, I am using Raspberry Pi based PLC with Codesys SP17 Patch3. I am planning on changing the visualization screen when an Input that is connected at GPIO4 of raspberry Pi is pressed. Is there a way I can do it? I am confused. Thanking you all!
Hi, definitely. I will check it out.
Hi, I tried your code and oh my god, you were right! It worked. YAY! I am so glad it worked because I was trying hard for the past 4 days but nothing clicked. However, I observed that to retain the changed values, the raspberry has to be shutdown properly instead of direct plug off. I mean when I directly turned off the supply and switched it back on, the pi showed me the previous values but not the changed ones. So, I shut it down properly and it worked!! Thank you so much for sharing this critical...
Hi! Thank you so much for your reply and for sharing this. I will check the project example too and write back to you. Fingers Crossed.
Hello all, I have a plc based on raspberry pi. I use Codesys v3.5.17.30 version for my programming. I want to create a variable whose value must be retained in the memory so that the plc must remember it even after the power failure. I often work on Persistent Variables in Codesys for the same and it works but for some reason with this raspberry pi hardware, it doesn't work. Could someone please help me how to get this done?