Search talk: system bits

 
<< < 1 .. 8 9 10 11 12 .. 14 > >> (Page 10 of 14)

Post by greenwood on CODESYS Control Raspberry Pi mit Servotreiber T6 von StepperOnline CODESYS Forge talk (Post)
Hallo, ich versuche, eine Modbus-RTU-Kommunikation zwischen meinem Raspberry Pi mit CODESYS Control für Raspberry Pi 64 SL und einem Servotreiber von StepperOnline, Typ T6, herzustellen. Die Verbindung ist wie folgt: RJ45-Stecker am Servotreiber -> Kabel mit RJ45 an einem Ende und USB-A-Stecker am anderen Ende -> Seriell-zu-USB-Konverter -> Raspberry Pi. Der Seriell-zu-USB-Konverter und die Kabel habe ich zusammen mit dem Motor und Treiber von StepperOnline gekauft und sie sind dafür gedacht, den Servotreiber mit einem Computer zu verbinden, auf dem deren Setup-Software läuft. dmesg | grep tty auf dem Pi sagt mir, dass der USB-zu-Seriell-Konverter auf ttyusb0 ist. Ich weiß nicht, wie man das in einen COM-Port übersetzt, ich habe COM 1 genommen. Ich habe ein Projekt in Codesys erstellt und ein Modbus_COM-Gerät hinzugefügt, einen Modbus_Master_COM_Port und einen Modbus_Slave_COM_Port angehängt. Auf der Registerkarte "Allgemein" des Modbus_COM habe ich die folgenden Werte eingestellt: Slave address 1 Baud rate 9600 Parity None Data bits 8 Stop bits 2 Ich habe den Servotreiber auf die gleichen Werte eingestellt. (Ich habe auch andere Werte getestet, aber mit dem gleichen Ergebnis). Auf der Registerkarte "Modbus Slave Channel" des Modbus_Slave_COM_Port habe ich einen Kanal hinzugefügt und die folgenden Werte eingetragen: Access type Read Holding Registers (Function Code 3) Read Register offset 0x0000 Length 1 Ich habe noch keinen Code geschrieben, weil ich noch nicht herausgefunden habe, wie man die Kommunikation programmiert. Wenn ich das Projekt zum Raspberry Pi herunterlade scheint der Modbus_Master_COM_Port zu laufen (grünes Symbol), aber der Modbus_Slave_COM_Port nicht (rotes Dreiecksymbol). Wenn ich einen anderen COM-Port eintrage, haben sowohl der Master als auch der Slave das rote Dreiecksymbol. Ich habe dies auch mit meinem Windows-PC unter Verwendung von Codesys Control Win 64 versucht und die gleichen Ergebnisse bekommen. Ich wäre dankbar für jede Hilfe oder Tipps, wie ich den Grund dafür herausfinden kann, warum der Servotreiberreiber nicht reagiert.
Last updated: 2024-05-31

Post by rossanoparis on After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working CODESYS Forge talk (Post)
For those who will step on this thread. Everything is fine, I had only to increase by 1 my place holders number. For sure the system is occupying the number 1 without being declared ... Below the modification I made to get my code working. [SysFile] PlaceholderFilePath.2=/home/pi/hpca/bin, $hpcabin$ PlaceholderFilePath.3=/home/pi/hpca/cfg, $hpcacfg$ PlaceholderFilePath.4=/home/pi/hpca/logs, $hpcalogs$ PlaceholderFilePath.5=/home/pi/hpca/resources, $hpcares$
Last updated: 2023-08-22

Post by mmoncada on Dinamically loading recipes CODESYS Forge talk (Post)
I'm having trouble with the initial loading of recipes. I can create them and load one or the other, but when the program restarts the recipes are not listed. I'm calling: RecipeManCommands.ReloadRecipes and then RecipeManCommands.GetRecipeCount which returns 0 recipes. None of the methods returns error and if i call them again after RecipeManCommands.CreateRecipe RecipeManCommands.ReadAndSaveRecipe getRecipeCount returns the number of recipes created. When i restart the system, once again they are not listed even though the recipe files are there. Any ideas? Martin Btw, Codesys 3.5 SP 16 Path 9
Last updated: 2023-12-06

Post by mg0815 on Codesys Control log "eventbuffer full" CODESYS Forge talk (Post)
Device: RPI 3b or 3B+ System: Wheezy Codesys: 3.5.16.2 I got the Log: 2023-12-13T00:38:43Z, 0x00000054, 2,6,11, !!!! Warning: Eventbuffer full for app=<app>Application</app>; an inputevent with the tag <tag>128</tag> has been dropped This log happens aroud 10 times a second. Sometimes the controller stopped working any more. What is the reason for this? I will update this controller soon (I hope so, but in the meantime I should at least know hoe to prevent this issue) Mario
Last updated: 2023-12-14

Post by martinlithlith on Mux I2C CODESYS Forge talk (Post)
hi! this is also a delayed answer, sorry for this. when coding in python i get the TCA9548a working. Is there someone who knows how big of a effort it would be to update Stefan's original code to make it work with a more up to date version of codesys or should i downgrade my system? andrax - are you using a downgraded version of codesys or have you downgraded all the libraries? What Oscat lib are you using? what version? thanks for your reply! Martin
Last updated: 2023-12-31

Post by hermsen on Control Runtime Toolkit CODESYS Forge talk (Post)
Hi, there is a plethora of hardware available for it to be succesful on. In theory every ARM32/64 or x86/64 device is a potential target. Next to this there are embedded device platforms for which specific toolchains are available. A good starting for manufactureres of CODESYS capable devices is available here: https://www.codesys.com/the-system/codesys-inside.html. That should give you a good reference point.
Last updated: 2023-12-31

Post by wehling-h on PI Input value CODESYS Forge talk (Post)
Hi geoweil, have you tried to save changed values to remanent area or using a VAR RETAIN? After restart you have to initialize Counter with last remanent value. Depending on changes per cycle and the possibilitiy of your control unit to write remanent storage. Otherwise you need a buffering system to ensure save backup of last PI_Counter value. May you could read this Thread to get further help: https://forge.codesys.com/forge/talk/Engineering/thread/31e1c8349e/#bf48
Last updated: 2024-01-12

Post by timvh on Minimum system requirements for codesys control standard S CODESYS Forge talk (Post)
It depends on your application which CPU speed and RAM size you need. If you think the Control Standard S license is sufficient then my guess is that your selected PC has no problem running your application. There are no more "hardware" based single licenses available anymore, only application based licenses. So this "Raspberry Pi" restriction for home automation is not applicable anymore. For more information see: https://store.codesys.com/en/howto_applicationbasedlicenses
Last updated: 2024-01-14

Post by ofey on two different OPC clients with different privileges CODESYS Forge talk (Post)
Hi! I have usually only connected one OPC client (our system) to an OPC server created in the codesys environment on a PLC. This OPC client has a lot of write privileges. A customer also want OPC access, but I want to restrict his access to only read certain values. Do you know if this is possible inside the single codesys runtime running on a controller?
Last updated: 2024-02-01

Post by tvm on VisuFbFrameBase.SetInputPositionData: The element id for the input position cannot be determined CODESYS Forge talk (Post)
I'm getting this error on one of my projects. Searching for it I came across this https://www.codesys.com/fileadmin/data/Images/System/Releaseinformation/Patch-Note-CODESYS-Visualization-4300.html which says it was a bug VIS-1394, fixed in Visualization 4.3.0.0. I'm using a previous visu version, what is the cause of this error, and what can be done to work around it?
Last updated: 2024-02-08

Post by roccom1910 on variablen inhalt in datei schreiben bei system event CmpApp.EventIDs.EVT_PrepareStop CODESYS Forge talk (Post)
Hallo, ich möchte meine Variablen vor dem stoppen der CPU in eine Datei schreiben. Das schreiben der Datei dauert ca. 1 minute (sehr viele Daten). Ich habe versucht das mittels Szstemevent zu bewerkstelligen leider kreiert er nur die datei sofern nicht vorhanden. Ich vermute das die Zeit nicht ausreicht um die daten zu schreiben. Anbei mal der Entsprechende FB. Kann mir da eventuell jemand weiterhelfen?
Last updated: 2024-02-15

Post by remcoborghuis on C0032 Error to type Pointer to IoConfigParameter CODESYS Forge talk (Post)
Hi All, I'm using codesys on a raspberry PI. I use V3.5 SP18 Patch 2 development system and codesys for raspberry pi 4.8.0.0. Sometimes when I build the project I get error messages C0007: Expression expected instead of ',' and C0032: Cannot convert type 'Unknow type: '!!!'ERROR'!!!" to type 'POINTER TO IoConfigParameter'. I can't click on the message to bring me to the fault. After I do a "Clean all" the build finishes successful. Anyone who can help me with this problem? Thanks! Remco Borghuis
Last updated: 2024-03-25

Post by schnepper on Error building Extension SDK Linux code CODESYS Forge talk (Post)
I'm installed the CODESYS Control for Linux SL package and am trying to use the Extension API to call a simple C function. When I get to the step to run "make all" on the Linux machine, I get the error: build interface header: out/CmpFirstTestItf.h from CmpFirstTestItf.m4 ERROR: This functionname does not contain _cext (this is mandatory, see help for details): DEF_API(void',CDECL',external_struct__fb_init',(external_struct_fb_init_struct *p)',1,0x1F77E075,0x00000001) Why does "Generate Runtime System Files" create a function that does not have cext in the name? What am I missing?
Last updated: 2024-04-01

Post by gseidel on CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that? CODESYS Forge talk (Post)
Hi peterned, the start position given in the CNC properties is only used if you use the compile mode OutQueue. With compile mode SMC_CNC_REF, you need to provide the start position in the IEC application. The function block SMC_NCInterpreter has an input piStartPosition. You can initialize it with the output of the forward kinematic transormation FB for your machine. In your case probably SMC_TRAFOF_Gantry2. Best regards, Georg
Last updated: 2024-04-30

Post by installwhat on What is the solution for "Application stopped on recovery switch request"? CODESYS Forge talk (Post)
<Entry severity="information" component="<10>" user="nobody" timestamp="2024-07-04 ?? 5:10:47" infoId="1">Axis#=121 , Error=30014 , Emergency 2 <Entry severity="information" component="<10>" user="nobody" timestamp="2024-07-04 ?? 5:10:23" infoId="1">TCP Server : WaitClient <Entry severity="information" component="<10>" user="nobody" timestamp="2024-07-04 ?? 5:10:23" infoId="1">TCP Server : Init What is "component="<10>"? Is this system a vanilla CODESYS RTE or is it a modified installation. I think more details are required.
Last updated: 2024-07-08

Post by mira on Bibliotheksentwicklung: Ältere Compiler-Version auswählen CODESYS Forge talk (Post)
Bisher war ich es gewohnt, dass ich vor dem "als übersetzte Bibliothek speichern" die Compiler-Version eingestellt habe, die mindestens erforderlich ist. In meinem aktuellen SP20-Development-System ist dies aber nicht mehr möglich. Wenn ich das Bibliotheksprojekt unter SP16 öffne, kann ich eine ältere Compiler-Version einstellen, aber ich kann die Bibliothek nicht als ".compiled-library-v3" speichern. Das "CODESYS Compiler Versions Archive" Addon ist installiert. Wie ist aktuell die Vorgehensweise für die Entwicklung von Bibliotheken mit dem Ziel auch ältere Versionen zu unterstützen?
Last updated: 2024-07-11

Post by alexgooi on OPC-UA Boolean format CODESYS Forge talk (Post)
Dear Forum, We are currently making the switch from OPC-DA (Codesys server) to OPC-UA (Running on a Codesys controller). We are using Codesys version 3.5 SP 20. Our Scada system is expecting Boolean's to be represented as a 0/1 (True Boolean) but the OPC-UA server is representing a boolean as False/True This indeed matches the OPC-UA standard, but is there a way to configure the OPC-UA server's boolean representation? Thank you in advance
Last updated: 2024-08-06

Post by anuj9326 on OPC-UA Client connection, Linux SL /Raspberry Pi CODESYS Forge talk (Post)
hello edwin i have did the same and i could connect the opc-ua server but i dont see anything in the resources tree, in the application i linked my variables to the symbol configuration but i dont see that in the uaexpert. if i use the same application with a non linux system i can get those variables values and see the complete tree structure. What could be the problem ?
Last updated: 2024-08-21

Post by anuj9326 on OPC-UA Client connection, Linux SL /Raspberry Pi CODESYS Forge talk (Post)
hello edwin i have did the same and i could connect the opc-ua server but i dont see anything in the resources tree, in the application i linked my variables to the symbol configuration but i dont see that in the uaexpert. if i use the same application with a non linux system i can get those variables values and see the complete tree structure. What could be the problem ?
Last updated: 2024-08-21

Post by dkugler on TargetVisu Freezing CODESYS Forge talk (Post)
The only weird situation i remeber with particular or complete frozen target visu was after the rtc clock was fallen or set back to the past. It looked like after running a while the alarm history database crashed during writing entries at a date lot of years in the past. After setting the rtc clock to actual date/time and deleting the alarm db every thing worked fine. I don't know, if this is/was a problem of our PLC hardware/firmware? Maybe check date/time at your system?
Last updated: 2024-09-13

Post by davidbo on RPI can system operation like rm in a shell have an impact on a Task cycle time CODESYS Forge talk (Post)
CODESYS Control for Raspberry Pi MC SL v4.4.0.0 CANopen_Manager 4.2.0.0 I did not call rm directly from my TASK-i2c, it was trough the attached python script. It is not always a problem happens, but sometimes a rm takes a long time. I reduced the amount of calls to logi2c.py but I don't understand why TASK-i2c sometimes can cause problems for TASK-CAN
Last updated: 2024-09-27

Post by davidbo on RPI can system operation like rm in a shell have an impact on a Task cycle time CODESYS Forge talk (Post)
CODESYS Control for Raspberry Pi MC SL v4.4.0.0 CANopen_Manager 4.2.0.0 I did not call rm directly from my TASK-i2c, it was trough the attached python script. It is not always a problem happens, but sometimes a rm takes a long time. I reduced the amount of calls to logi2c.py but I don't understand why TASK-i2c sometimes can cause problems for TASK-CAN
Last updated: 2024-09-27

Post by garmusd on Raspberry Pi 5 GPIO not working. CODESYS Forge talk (Post)
I paid money for the RPi runtime because the Product Description says that GPIO is supported. It is also written in the Versions that since 4.11 RPi5 is supported. And I use 4.13. Nowhere is it mentioned that GPIO is still not supported... It's a pity that the Codesys developers still can't find a way to fix it. Are there plans for when it will be fixed or are the developers too weak? Just wondering, is there anyone with a working GPIO? Can you share the details of your system?
Last updated: 2024-09-27

Post by pernockham on Persistence Manager: Config File not found? CODESYS Forge talk (Post)
Thats what I did. The files existed originally, but when I had problems logging in as described I deleted those files (if they in some way had been corrupted causing my problems to login?). After that I have not managed to get the system to re-created these def-files. I manually created the folder structure (from CODESYS file browser) but this has not helped.
Last updated: 2024-11-02

Post by bruceae on Ethernet/IP Scan CODESYS Forge talk (Post)
Hello, I have a robot configured as a Generic Ethernet Module under Ethernet/IP Scanner. I can not see the change of state of the outputs coming from the robot on the codesys side in real-time. (The robot has it's own internal program that would changes the values of remote outputs 0-3 off and on). Also when I send data down to the inputs of the robot it doesn't transfer over as expected. As an example I'll send to the robot's input bit 0 a value of 1. It doesn't see that value change. However, when I write that input bit 0 back to a value of 0, the robot changes state and shows a value of 1. And if I change the state of a different bit, the other bits update properly, except for the bit that I changed. Any advice would be greatly appreciated, and if anything else is needed let me know.
Last updated: 2024-09-10

<< < 1 .. 8 9 10 11 12 .. 14 > >> (Page 10 of 14)

Showing results of 349

Sort by relevance or date