Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Talk

FAQ - Frequently asked Questions about CODESYS
FORUM LATEST POST # TOPICS
Engineering πŸ‡¬πŸ‡§

Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition

http data in JSON format - encoding
by damian177
36 minutes ago
3664
Runtime πŸ‡¬πŸ‡§

Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms

Raspberry Pi read only
by matthew
13 hours ago
1801
Visualization πŸ‡¬πŸ‡§

Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu

Button with "pressed" image
by matthijsvs
3 hours ago
619
Motion πŸ‡¬πŸ‡§

Realizing single or multi axis motion control, CAM, CNC and Robotic applications

Raspberry Beckhoff Stepper Motor
by gurke258
1 day ago
332
Codesys V2.3 πŸ‡¬πŸ‡§

Forum about V2.3

Unable to receive data over RS232 (using serial_interface_01.lib)
by alanvs
2022-01-13
2058
Deutsch πŸ‡©πŸ‡ͺ

German forum

Nach Lizenz keine Gateway verbindung zum PI
by eschwellinger
17 hours ago
4186
Automation Server πŸ‡¬πŸ‡§

The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers

Add server status: User management needs to be activated.
by sarwono
2022-01-03
16
Forge πŸ‡¬πŸ‡§

Discussions about CODESYS Forge projects and features of the CODESYS Forge website

JSON parsing and composing library:
by damian177
45 minutes ago
88

Recent Activities

    CODESYS Forge

  • damian177 damian177 modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I have a problem. I get data from http get request in JSON format. When I use http_sys.hTTPClient_0.httpResult.wsContent (WSTRING) everything with chars (UTF-8) is ok. But for the needs JSON Parse I must use http_sys.hTTPClient_0.httpResult.sContent (STRING) data and in this case I have problem with Polish characters. After parse I create variables to print on HMI(webvisu): description:= STRING_TO_WSTRING(NewJSONObj.description.AsString); And the result is that I have no Polish characters. How...

  • damian177 damian177 modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I have a problem. I get data from http get request in JSON format. When I use http_sys.hTTPClient_0.httpResult.wsContent (WSTRING) everything with chars (UTF-8) is ok. But for the needs JSON Parse I must use http_sys.hTTPClient_0.httpResult.sContent (STRING) data and in this case I have problem with Polish characters. After parse I create variables to print on HMI(webvisu): description:= STRING_TO_WSTRING(NewJSONObj.description.AsString); And the result is that I have no polisch characters. How...

  • damian177 damian177 posted a comment on discussion Forge πŸ‡¬πŸ‡§

    Hi, I have a problem. I get data from http get request in JSON format. When I use http_sys.hTTPClient_0.httpResult.wsContent (WSTRING) everything with chars (UTF-8) is ok. But for the needs JSON Parse I must use http_sys.hTTPClient_0.httpResult.sContent (STRING) data and in this case I have problem with Polish letters. After parse I create variables to print on HMI(webvisu): description:= STRING_TO_WSTRING(NewJSONObj.description.AsString); And the result is that I have no polisch letters. How resolve...

  • damian177 damian177 posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I have a problem. I get data from http get request in JSON format. When I use http_sys.hTTPClient_0.httpResult.wsContent (WSTRING) everything with chars (UTF-8) is ok. But for the needs JSON Parse I must use http_sys.hTTPClient_0.httpResult.sContent (STRING) data and in this case I have problem with Polish letters. After parse I create variables to print on HMI(webvisu): description:= STRING_TO_WSTRING(NewJSONObj.description.AsString); And the result is that I have no polisch letters. How resolve...

  • matthew matthew posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I'm still working on this, but if you use the code here https://forge.codesys.com/forge/talk/Engineering/thread/1f8eee253c/ I'm using a struct to store all my different variables and then using the pointer to the struct memory location and then setting the data length greater than what is in the struct. My plan is to modify the FB so it automatically reads the length of the data and so you can assign the struct directly to it. Have not had time to do this yet. Your next issue will be the SD card...

  • damian177 damian177 posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    so, what should I do on event the power failure to keep my values ?

  • matthew matthew posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I think I have it sorted now... looks like something may have gone wrong with the upgrade. I removed everything with sudo dpkg -r codesyscontrol and then reinstalled via codesys and everything seems to be working as it should now. So during the package upgrade from 4.1.0.0 to 4.2.0.0 something must have gone wrong or not installed correctly.

  • eschwellinger eschwellinger posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    .. seems to run from my point of view. .../01/2022 5:17:54 am" infoId="10">Application [Application] started infoId="6">Bootproject of application [Application] loaded...

  • matthijsvs matthijsvs posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Many thanks, this seems to work. Dank je wel Tim!

  • matthew matthew posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I have attached the PLC Log after a reboot Note: I had to start runtime using " sudo service codesyscontrol start " No the system is not read only. Everything was working fine and then upgraded to v3.5.17.30 and that's when the auto start stopped working.