I ran into a problem. Uploaded an example (https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_uacapi_example.html) After launch. on the emulator. I see that I am having problems: - UaExpert does not connect. There are many servers but no connection. - I canβt transfer the certificate from quarantine to trusted ones. There is some problem with creating the certificate. CS 19.2. If anyone has had similar problems, please give me advice. Thank you.
What version of codesys? Need to avoid in any specific element? Try writing %s in the text, it should work. Or better yet, attach a screenshot.
Hello, the task is not entirely clear. You can make it a dial indicator or a loading slider.
Tell me, are there ways to remove the white background from the page loading? I want to change it to a black background. I think there are options with changing /home/codesys_root/PlcLogic/visu/webvisu.htm Perhaps you have already encountered a similar situation. I hope to find the answer to my question.
There was an exact mistake. I did as they wrote. I created a visualization and transferred it from the old one and everything works. CS 3.5 SP 19. Thank you.
Judging by the responses, no one has done this. Apparently I'm the first?
Target 4.7.0.0 Codesys SP 19
When adding an alarm configurator, it does not write to the log. Problem with logging. Who thread faced such a problem?
@ codesys.com ?
Thanks for the suggestion, I'll definitely check it out. But the fact is that on the 19th version of the firmware from wago everything is in order. Maybe it's the wago firmware?
Hello. Faced such a problem that when creating an alarm log, it does not save data. Perhaps you need to install something or specify the path to save? in /etc/CODESYSControl_User.cfg There are lines: [sysfile] PlcLogicPrefix=1 Perhaps you need to specify the path here?
Good afternoon, I encountered such a problem, the PFC200 controller (750-8208) has firmware 03.10.10(22) installed. Before that it was 19. Installed target 4.8.0.0. Codesys SP 19. In the license manager, I can not install, it writes an error. Maybe someone faced such a problem? Thank you.
It is great! Now everything works! Thank you for your help!
If I choose: (udiParameterId := COM.CAA_Parameter_Constants.udiPort, udiValue := 0), I get an error: WRONG_PARAMETER (5005) Or (udiParameterId := COM.CAA_Parameter_Constants.udiPort, udiValue := 1), I get an error: ERROR_UNKNOWN (5004) Which port should be opened? I think the problem is in the port number. Right I think?
Thanks a lot! Now everything works! It remains to deal with USB - Com port.
I have already tried different options, here is a screenshot of the program and file settings, in response I see result = 1. What could this mean? Target version 4.7.0.0 CS SP18 P4. The visualization and the code itself work, the only problem is getting the temperature request command.
CS 18 SP 4 target 4.7.0.0 this method does not work, I tried to download it as root, the result was unsuccessful. Can't get temperature. It seems to me that after version 4.3.0.0 you changed something and this something breaks the system.
tried on version CS 18 SP4 with targeter 4.7.0.0?
Could it be a file permission issue? Does the CODESYSControl_User file need sudo rights?
cuteCom sees the device and transmits the data.
Deleted all settings, made such settings for com port '1', error ERROR_UNKNOWN 5004. MyComOpen : COM.Open; aParamsB115200 : ARRAY [1..7] OF COM.PARAMETER := (udiParameterId := COM.CAA_Parameter_Constants.udiPort, udiValue := 1), (udiParameterId := COM.CAA_Parameter_Constants.udiBaudrate, udiValue := 115200), (udiParameterId := COM.CAA_Parameter_Constants.udiParity, udiValue := COM.PARITY.NONE), (udiParameterId := COM.CAA_Parameter_Constants.udiStopBits, udiValue := COM.STOPBIT.ONESTOPBIT), (udiParameterId...
Deleted all settings, made such settings for com port '1', error ERROR_UNKNOWN 5004. MyComOpen : COM.Open; aParamsB115200 : ARRAY [1..7] OF COM.PARAMETER := (udiParameterId := COM.CAA_Parameter_Constants.udiPort, udiValue := 1), (udiParameterId := COM.CAA_Parameter_Constants.udiBaudrate, udiValue := 115200), (udiParameterId := COM.CAA_Parameter_Constants.udiParity, udiValue := COM.PARITY.NONE), (udiParameterId := COM.CAA_Parameter_Constants.udiStopBits, udiValue := COM.STOPBIT.ONESTOPBIT), (udiParameterId...
good afternoon, I edited the settings file, but when I open it, an error pops up, maybe I'm not opening the port correctly? Attached are files with settings.
good afternoon, I edited the settings file, but when I open it, an error pops up, maybe I'm not opening the port correctly? Attached are files with settings.
Installed version 4.7.0.0. This option does not work unfortunately. Maybe there are other options?
I have a raspberry pi 4 with a USB cable connected to it (USB to RS232 converter). Can I somehow use it and make data exchange?
4.5.0.0 Do you need 4.7.0.0?
4.5.0.0 Do you need 4.7.0.0?
I did, the result is the same. Does not work...
Thanks for the example, but I still can't run it. In the application, what does result = 1 show There are also screenshots of configurations in the application.
Thanks for the example, but I still can't run it. In the application, what does result = 1 show
Faced with such a problem that this project does not work on target 4.5.0.0 and new versions of Raspberry Pi OS. In the CODESYSControl_User.cfg file, I inserted [SysProcess] Command=AllowAll Confuses the path that is in the example: command1 : STRING := '/opt/vc/bin/vcgencmd measure_temp'; command2 : STRING := 'cat /proc/cpuinfo';
Faced with such a problem that this project does not work on target 4.5.0.0 and new versions of Raspberry Pi OS. In the CODESYSControl_User.cfg file, I inserted [SysProcess] Command=AllowAll
I have a general problem with temperature. Raspberry 4. I did everything as in the settings but does not show. Maybe I'm editing the file in the wrong way?
On target 4.5.0.0 and raspberry PI4 does not work. Maybe you need to apply the new versions in a different way?
Did you manage to solve the issue?
I noticed that this view does not work on new versions. I have a target of 4.5.0.0. I can't get the temperature
Tell me who has encountered, CAN and ProfiBus ports are available on the wago 8208 PLC, how can they be used? Or are they not available?
Thanks, I did. But my question is why is the data being transmitted for so long? The yikl of the program is 200 ms, but I see that the FB processes the sending for a very long time. I get sending in the region of 1 second between messages.
Good afternoon, I ran into such a problem. Wago 8208 installed Codesys Control PFC200 4.5.0.0 I'm trying to use the Com port that he has. I use the COM library.Open and COM.Write. When sending the message, error: HANDLE_INVALID Code: PROGRAM PLC_PRG VAR MyComOpen : COM.Open; aParamsB115200 : ARRAY [1..7] OF COM.PARAMETER := (udiParameterId := COM.CAA_Parameter_Constants.udiPort, udiValue := 0), (udiParameterId := COM.CAA_Parameter_Constants.udiBaudrate, udiValue := 115200), (udiParameterId := COM.CAA_Parameter_Constants.udiParity,...
Good instructions, did everything according to the points. I never saw an OPC with a password... Probably did it wrong at some stage.
Apparently this is exactly it! Thanks!
Thanks! Everything worked! Now the question is how to make an OPC with a password? Is there such a setting?
I have a raspberry with Rasp OS latest version (April). target codesys 4.5.0.0 Projects are working and the program loading is also working, I can see the visualization. I can't configure OPC UA. Whatever I do OPC UA did not appear in the search for OPC UA Expert. CODESYS V3.5 SP18 Patch 2 is installed. Tell me what's the matter? Maybe someone has faced a similar problem?
What is it about? About the eCocopit platform ? Or codesys control PFC200 SL ?
Tell me have you used RS interfaces?
The fact is that if I add a symbolic configuration, I immediately have a bunch of errors, and accordingly it does not compile.
Good afternoon, who has encountered how in PFC200 - Work with the COM port and choose the mode (232 or 485) - Does OPC UA from codesys work? - The demo version in 4.5.0.0 of the LED control does not work for me, writes an error accessing the library.
I installed the package, but I can't find the built-in modules, CAN and RS485, are they not supported?
In the test use mode, it is impossible for 15-30 days? If everything suits me, I'll buy it.
I don't have this folder, how do I find it or download it?
I do not quite understand, the temperature is visible in the browser or not? I launched everything as I wrote, but I did not see the result. What am I doing wrong?
Thanks, I'll try! But when you start the script somehow you need to call automatically how to do it?
Hi. Not as I can not figure out with I2C. Found another way to obtain data via I2C. Performed everything according to the instructions: https://github.com/hendrychjan/valt-rpi. Now I see in the console: PI @ Raspberrypi: ~ $ Python3 Sensor.py Temperature: 27.42578125 Β° C How can I see this line from the console in Codesys? Thanks.
Hi. Tell me where you can read about the commands that send from Codesys in Raspberry ?
I wanted to read all bytes using the i2C_Master.Read method. I could not get. On the I2C devices tab, I see at the beginning of the address -1 after the i2c_master.read method is performed in the address changed. The variable from the bytes is 0, then the bytes are not received. What to do? How to get bytes?
Hi, why not an example with I2C?
Hi, did you see bytes?
I want to receive data in Codesys on I2C, I didn't find examples. Tell me there is info how to get data? Data in the Raspberry itself through the console I see. But how to see bytes in Codesys?
Thanks! Saw everything! Excellent example. It is a pity in the project description there is no description that it is to write in codesyscontrol_usr.cfg
I went over the link. The project did not find. Links do not pass As I understood the whole thing in the sysprocessexecutecommand2 function. Using it, you can call commands?
Thanks! After clicking on the link I did not find the instruction. Can you describe in more detail?
I want to measure and see the processor temperature in Codesys code. Tell me how to do it? Command request comes to the mind in SSH -VcGencmd Measure_Temp But I do not know whether you can call such commands from Codesys? Maybe there is an alternative way measuring temperature? Thanks.
These examples will accurately work on Raspberry PI 3?
Thanks. I'm going to try now!
Good afternoon, tell me how can I from Codesys use the serial port on Raspberry?