Search talk: codesys v3.5 10.11.2020

 
<< < 1 .. 34 35 36 37 38 .. 799 > >> (Page 36 of 799)

Codesys V2.3 🇬🇧 CODESYS Forge talk (Discussion)
Forum about V2.3
Last updated: 2024-11-11

Post by jari-koivuluoma on JSON_Utilities_SL JSONFileWriter error NULL_POINTER CODESYS Forge talk (Post)
FB jsonFileWriter gives a NULL_POINTER error, why? JSONByteArrayWriter works fine so the JSONData FB should be fine. The device is CODESYS Control Win V3 x64 in simulation mode. Codesys version is V3.5 SP16 Patch 5 JSON_Utilities_SL version is 1.3.0.0 Src: ST_TestStruct1a; TXT: WSTRING(10000); MakeJSON : BOOL := TRUE; SrcJSONData: JSON.JSONData; jsonFileWriter : JSON.JSONFileWriter; IF MakeJSON THEN MakeJSON := FALSE; // Struct data to JSONData FB F_TestStructToJSON(ADR(Src),ADR(SrcJSONData)); // Writing to file jsonFileWriter( xExecute := TRUE, sFileName := 'c:\JSONTEST\JSON.txt', eEncoding := JSON.Encoding.UTF_16, xAsyncMode := TRUE, jsonData := SrcJSONData ); // Waiting to finish WHILE jsonFileWriter.xBusy DO ; END_WHILE // To text jsonArrayWriter( xExecute := TRUE, pwData := ADR(TXT), udiSize := SIZEOF(TXT), jsonData := SrcJSONData, xAsyncMode := FALSE, ); END_IF
Last updated: 2023-09-08

Post by davidbo on Does the new license policy means I have to upgrade everything? CODESYS Forge talk (Post)
We have several old project written with 3.5.17 and 3.5.18 and also some older Until now when a customer ordered a product from us. We just installed (we have a tested image) and added a license Now the license policy has changed and we have to buy a License Control Basic S or M However it only works with CODESYS Development System Version 3.5.19.10 or higher Does that mean we have to upgrade all our old products? That is not a simple task as a previous post has explained with weird error messages from CODESYS V3.5. Next we have to do rigorous testing of our applications afterwards. It is very expensive
Last updated: 2024-01-11

Post by mp9876 on Device User Logon CODESYS Forge talk (Post)
Following up on the invalid user authentication on the target Not 100% sure what the problem was but following my post I managed to create an administrator level user. Then my next issue was that I could not connect to the device. I might have flipped the device from a 64 bit version to a 32 bit version so I did UPDATE DEVICE back to the 64 bit version; still could not connect somehow. Then I did two things at the same time that fixed my problem: Wiped the Codesys Control Win 64 bit version and installed the 32 bit version Installed latest Codesys Control Win V3.5 SP20 (released today) I wish I knew which one of these actions fixed the problem but at least the problem is solved. Hoping this post may help someone one day
Last updated: 2024-03-19

Post by bjarne-pagaard on Codesys v3.5 Sint to byte CODESYS Forge talk (Post)
Hi A SINT is a short (signed) integer. It is already only 1 byte - so you should have no problem casting it to a byte like so: bMyByte := TO_BYTE(sintMyShortInt); If you have a regular INT you want to put in 2 bytes - there are a lot of ways you can do this. A Union is certainly one of them. You could have a union with 2 memebers: An array of 2 bytes as one member, and an integer value as another member. Another way would be to look at MEMCPY to put the value into your CAN-message. .. or create a function to take your input value as input, and giving you 2 individual bytes as output. This could be handy if you need to change the byte-order. Integer data types: https://help.codesys.com/webapp/_cds_datatype_integer;product=codesys;version=3.5.17.0 -Bjarne
Last updated: 2024-04-24

Post by ellocco on Kann mich nicht am Gerät anmelden CODESYS Forge talk (Post)
CODESYS V3.5 SP18: Mit Hilfe eines anderen Forumsbeitrags von @automa konnte ich ein Problem lösen: Ich kann mich wieder beim (virtuellen) Gerät anmelden. :-) Die Lösung ist das Löschen bestimmter Dateien oder eines ganzen Ordners: Ich habe den ganzen Ordner (nachdem ich eine Sicherheitskopie angefertigt hatte) gelöscht. Es ist ein Ordner unterhalb von: c:\Users\All Users\CODESYS\CODESYSControlWinV3x64\ Es ist für mich ein wenig überraschend, den Ordner "c:\Users\All Users" kann ich bei mir gar nicht sehen und wenn ich ihn öffne, werde ich umgeleitet auf: "C:\ProgramData". Aber die andere Frage bleibt offen, wie kann ich die Sicherheitsverwaltung aktivieren?
Last updated: 6 days ago

Codesys - Como Resetar a senha do Codesys ControlWin CODESYS Forge talk (Thread)
Codesys - Como Resetar a senha do Codesys ControlWin
Last updated: 2023-08-21

Codesys Control for Linux & Codesys Control for Linux ARM CODESYS Forge talk (Thread)
Codesys Control for Linux & Codesys Control for Linux ARM
Last updated: 2021-08-03

Codesys <-> Logo OBA7 Kommunikation | C++, Java oder Codesys CODESYS Forge talk (Thread)
Codesys <-> Logo OBA7 Kommunikation | C++, Java oder Codesys
Last updated: 2016-12-22

CODESYS Security Key vs CODESYS Runtime Key CODESYS Forge talk (Thread)
CODESYS Security Key vs CODESYS Runtime Key
Last updated: 2016-09-13

Conversion from CoDeSys 2 to CoDeSys 3 CODESYS Forge talk (Thread)
Conversion from CoDeSys 2 to CoDeSys 3
Last updated: 2013-10-17

etablish communication between codesys 2 and codesys 3 CODESYS Forge talk (Thread)
etablish communication between codesys 2 and codesys 3
Last updated: 2017-08-18

Licensing Codesys control for raspi without using codesys software CODESYS Forge talk (Thread)
Licensing Codesys control for raspi without using codesys software
Last updated: 2023-04-12

Copy a program IL from codesys 2 to codesys 3 CODESYS Forge talk (Thread)
Copy a program IL from codesys 2 to codesys 3
Last updated: 2017-02-27

share data between codesys and non-codesys application CODESYS Forge talk (Thread)
share data between codesys and non-codesys application
Last updated: 2016-03-03

Library from codesys 2.3 to codesys 3.5 CODESYS Forge talk (Thread)
Library from codesys 2.3 to codesys 3.5
Last updated: 2022-01-28

Shortcuts (hot keys) from Codesys 2.3 to Codesys 3.5 CODESYS Forge talk (Thread)
Shortcuts (hot keys) from Codesys 2.3 to Codesys 3.5
Last updated: 2021-08-26

Codesys Profinet Controller - Codesys Profinet Device Communication CODESYS Forge talk (Thread)
Codesys Profinet Controller - Codesys Profinet Device Communication
Last updated: 2019-04-04

Problem install codesys 3.5.17 SP 30 with Codesys Installer CODESYS Forge talk (Thread)
Problem install codesys 3.5.17 SP 30 with Codesys Installer
Last updated: 2024-01-26

Codesys HMI with a non codesys programmed controller CODESYS Forge talk (Thread)
Codesys HMI with a non codesys programmed controller
Last updated: 2024-02-21

Python script: Launch Codesys, Execute Script, Exit Codesys CODESYS Forge talk (Thread)
Python script: Launch Codesys, Execute Script, Exit Codesys
Last updated: 2024-09-06

Post by jinlee on Dynamic I/Os Mapping CODESYS Forge talk (Post)
Hi guys, Recently, I am working at the Dynamic I/Os mapping feature in Ecockpit or Codesys v3.5. I have been trying the libraries. However, it looks like it will not work as I wanted. I want to build the PLC which can detect all the I/Os itself and from there, I can do something on these channels. For example, the current setup is one digital input card, one digital output card and one analogue input card. Then, I want to add one more card into the setup e.g. one more digital input. Then, wago screen can detect this and we can assign them to tasks for example to control digital output. May I know is it possible ? Kind regards
Last updated: 2023-08-18

Post by ewi04 on Recipe Manager - RecipeManCommands, load & write wrong values, Bug? CODESYS Forge talk (Post)
Hallo, I have a strange problem with the recipe manager. ISSUE: When using RecipeManCommands not all values are loaded correctly. Saving a recipe with CreateRecipe(), ReadAndSaveRecipe() or ReadAndSaveRecipeAs() works without any problems. BUT: LoadRecipe(), WriteRecipe() or LoadFromAndWriteRecipe() do not load the data correctly. It is Interesting that we have a different error pattern with LoadRecipe() than with WriteRecipe() or LoadFromAndWriteRecipe(). LoadRecipe() does not load all data and WriteRecipe() or LoadFromAndWriteRecipe() overwrites some data or assigns it incorrectly. And it is also strange that LoadRecipe() writes the values to the PLC. Normally it doesn’t do it. It makes no difference whether the memory type is textual or binary. I have an object consisting of STRUCTs which is inserted in the recipe definition. Environment: Codesys V3.5 SP19 Patch 4 (64Bit), Recipe Management 4.2.0.0 *Add a project (reduced to the problem)
Last updated: 2023-11-15

Post by rh-pk on v3.5 SP19 - Modbus TCP Devices - Channel Limit? CODESYS Forge talk (Post)
Hi, i found a solution for me. I had installed a 'old' version of CoDeSys (3.5.18 P5). I tried to add channels there, which works fine. I created a new project, added an Ethernet-Port, added a Modbus-Master and then I copied the ModBus-Slave from my working project to the new project. Now I could add more channels. I add the channels 10 and 11. Then I deleted (please make a backup before :-) the original ModBus-Slave in my working project and copied the extended Slave back to my working project. Surprisingly it is now possible to add new channels. Maybe this will help you.
Last updated: 2024-02-14

Post by timl on Application has invalid license metrics CODESYS Forge talk (Post)
Hallo, ich habe eine Control for Linux SL auf der ich einen TCP Modbus Master anlege, mit dem ich einen Slave auslesen möchte. Das Anlegen funktioniert soweit alles, sobald ich beim ModbusTCPSlaveE/A-Abbild in den Channel eine Variable einfüge, damit ich den Channel auslesen kann, kommt es beim übertragen auf die SPS zu einem Ausnahmefehler. Im Anhang noch eine Bilder der Fehlermeldung und der installierten Lizenzen. CODESYS Version ist V3.5 SP19 Patch 4 Meinem Verständnis nach ist die Modbus Lizenz mit in der Control Standard L inbegriffen und auch in der Lizensierten Softwaremetrik sehe ich keine überschreitung meiner Lizenzbegrenzungen. Daher verstehe ich nicht wieso ich diesen Fehler bekomme und eine auslesung via Modbus nicht möglich ist. Gruß Tim
Last updated: 2024-05-08

<< < 1 .. 34 35 36 37 38 .. 799 > >> (Page 36 of 799)

Showing results of 19968

Sort by relevance or date