Search talk: json file reader

 
<< < 1 .. 20 21 22 23 24 .. 37 > >> (Page 22 of 37)

Post by imdatatas on Import from XML problem CODESYS Forge talk (Post)
Hello Everyone, When I try to import some POUs that were previously exported from another project as an XML file, I get an error like in attached image and the process does not complete. "There are no objects in the export file..." I am using SP21 Codesys IDE and I do not know which version this XML (*.export) file was previously exported with. Has anyone encountered the same problem? Regards, imdatatas
Last updated: 2025-04-26

Post by yann2021 on Execute a .py file with Codesys CODESYS Forge talk (Post)
Hello, I have a Raspberry Pi 3 which has a printer connected to his USB port. I have a PiFace Board on the Raspberry. I have a python script file (.py) to print a logo + a text. The script is working because when I execute it from the Raspberry terminal it works. Now, when I push a button on the PiFace I would like to execute the python script file to print. How can I do that ? Many thanks for your help and advices!
Last updated: 2025-08-26

Post by richard-wang on Codesys recipe manager - what does it do? CODESYS Forge talk (Post)
Hi All Thanks for sharing this information. For whom may not know why always get error code 16#4000 or 16#4002 while performing Recipe commands, the root cause is There is a line need to be inserted in CODESYSControl.cfg file, which is PlaceholderFilePath.1=/var/opt/codesys/PlcLogic/ I am using Pi, therefore the above path is set to my pi unit, after adding above line to my cfg file, all the Recipe commands work fine. But I still do not know how and when this file got modified though.
Last updated: 2024-04-29

Post by youness on CSVReaderInit returns error : INVALID_HANDLE CODESYS Forge talk (Post)
I have Already the same problem when i'm trying to write data more than 10 times in the same file. In fact, i send my data periodicaly to a file that i configured to have permission of W/R in my CodesysContol.cfg. When the Error occurs, i must reboot my machine to success. It means that the problem isn't realted to a limitation of size, but a problem in the function supposed to handle the file. totorovic : allow me to know if you've found a solution to your problem. Thanks.
Last updated: 2025-11-26

Post by amy123 on JSON Utilities ENUM to STRING CODESYS Forge talk (Post)
Hello, Is it possible to get the string returned from the ENUM JSONType? I read that with regular enumerations you can add '{attribute 'to_string'}' and access it. However, this is from the compiled library, so I can not add that attribute. When I try to use TO_STRING(JSONType) it returns the integer as a string. Ex. jsonType :=TO_STRING(pJSONData^._aJSONData[i].eType); gives '8' instead of NONE Thanks!
Last updated: 2024-12-09

Post by i-campbell on Publish a JSON payload via MQTT Publish (using IIot Libraries) CODESYS Forge talk (Post)
your are sending as a WSTRING which is UTF16, but your receiver is interpriting as UTF8. Change the receiver to use UTF16, or better change your sender to convert to UTF8. You publish the entire storage space (SIZEOF) Instead of the number of bytes of actual text (StrLenA) try using utf8JsonData : STRING(2000); JSON.Stu.ConvertUTF16toUTF8( ADR(wsJsonData), ADR(utf8JsonData), SIZEOF(utf8JsonData) ); and change your publish to mqttPublish( mqttClient:=mqttClient, pbPayload:=ADR(utf8JsonData), udiPayloadSize:=To_UDINT(JSON.Stu.StrLenA(ADR(utr8JsonData))), wsTopicName:=topic, mQTTPublishProperties:=mqttPublishProperties );
Last updated: 2024-04-10

Post by timvh on JSON CODESYS Forge talk (Post)
I don't know the details of jsonArrayWriter, but the common behaviour for an xExecute input is that the FB starts on the trigger that it gets TRUE. In your case xExecute is never FALSE, so it is never triggered again to start the jsonArrayWriter. So change the condition from TRUE to a variable which you set to TRUE with the "xFirst". Then when the jsonArrayWriter is done (xDone), or has an error (xError), then set this variable to FALSE.
Last updated: 2024-05-01

Post by aott33 on Webvisu NO load CODESYS Forge talk (Post)
Should I be looking for anything in particular in the PLC Log? Attached is the xml file from the PLC logger.
Last updated: 2023-09-26

Post by ronald-de-jonge on Codesys StructType in Device Description File CODESYS Forge talk (Post)
We have the same issue when using CODESYS V3.5 SP18 Patch 2. Is there a solution for this issue?
Last updated: 2023-10-30

Post by kumareasu on Runtime System Update CODESYS Forge talk (Post)
When I change the hardware Do I need to buy licence After three years ? Please refer the jpg file.
Last updated: 2023-11-26

Post by snhatton on Saving variable values on power cycle (RevPi Connect) CODESYS Forge talk (Post)
Have you tried using the persistence manager which uses the file system of the controller to store persistent variables?
Last updated: 2023-12-04

Post by wollvieh on Cannot Save CSV File on Windows Computer Using CODESYS and Control Win CODESYS Forge talk (Post)
https://forge.codesys.com/forge/talk/Runtime/thread/a113f7c93b/#5938
Last updated: 2024-07-04

Post by vladimirsmall on Send data to USB CODESYS Forge talk (Post)
Hello/ Need send some file ( for example Array of string) to USB. Which library need used for this. Thank you
Last updated: 2024-07-20

Post by mikek10 on Connection error to Wago 750-363 EtherNet/IP Adapter CODESYS Forge talk (Post)
This file is still useful but no longer available?
Last updated: 2024-07-22

Post by faceplant on Get the .git folder path via scripting CODESYS Forge talk (Post)
Using the git scripting API, is there any way to get the file path of the project's .git/ folder?
Last updated: 2024-08-08

Post by justthefacts77 on How to generate an "ENI" file CODESYS Forge talk (Post)
I think this is really now "Generate EtherCAT XML" command which gives the ENI topology info.
Last updated: 2024-08-08

Post by wbj0t on Raspberry Pi CM4. CoDeSyS files corrupted after hard reset. CODESYS Forge talk (Post)
Hello everyone. Raspberry Pi CM4 after some 1 week of work was hard reset mannualy several times and after these hard resets User Management file was missed (when click login button, enter login/password, error: User Management File missed). Also programm can not open file via SysFile library, but this file exists and size of him is 0 bytes, but must be more any way (I keep some kind of archive via this lib). What happens, how files corrupted? Where do I need try to find this error of the codesys or system whole? In the log files of codesys nothing interesting about this happens. Thanks for reading Is this enough hold PlcLogic and SysFileMap.cfg as reserve copy in another place for restoring the programm? And how automate restoring actions if programm files corrupted?
Last updated: 2024-09-16

Post by mubeta on Strange problem with the ‘MC_SetPosition’ function CODESYS Forge talk (Post)
Here is the archive of the simulation project: https://drive.google.com/file/d/1n74Qy-1yLPpI2OK4FaZO5q50y2uTa0Wr/view?usp=drive_link
Last updated: 2025-01-12

Post by eschwellinger on File Creation Issue CODESYS Forge talk (Post)
use the PLClogic directory to read / write files. /var/opt/codesys/PlcLogic this is due security reasons forced to use.
Last updated: 2025-03-04

Post by sakthivel on Library Files missing Issue CODESYS Forge talk (Post)
Whn opening the backup file in codesys it showing error (The following librarirs could not load - UNPACK16.lib, IEEE754 library_P.lib
Last updated: 2025-05-15

Post by nz-dave on Codesys 3.5.21 fails to copy file to USB CODESYS Forge talk (Post)
So did you get it working?
Last updated: 2025-05-27

Post by chsp on Frustration-Fueled Feedback on Project File Management and Git Integration CODESYS Forge talk (Post)
Hey CODESYS, we are in 2025. Did you hear about Gibhub Copilot and alternatives? Any ideas?
Last updated: 2025-06-08

Post by ranadheer on Add library .dll to project codesys. CODESYS Forge talk (Post)
As of my experience with Demo mode it is not possible to import the .dll file to the platform.
Last updated: 2025-10-15

Post by eschwellinger on Softmotion axis to CANopen Maxon IDX drive CODESYS Forge talk (Post)
I would try to use the EDS file of the maxon drive.
Last updated: 2024-01-06

Post by h4sanb on Load (or Read) File from PLC CODESYS Forge talk (Post)
I want to download program from existing PLC and upload to new PLC. How to do it?
Last updated: 2024-01-09

<< < 1 .. 20 21 22 23 24 .. 37 > >> (Page 22 of 37)

Showing results of 923

Sort by relevance or date