trusted certificate for data encryption in OPC Server
CODESYS Forge
talk
(Thread)
trusted certificate for data encryption in OPC Server
Last updated: 2020-11-05
Reading a Certificate data from .PEM file
CODESYS Forge
talk
(Thread)
Reading a Certificate data from .PEM file
Last updated: 2023-05-30
CodeSys 3 Send/Receive data with GET and POS
CODESYS Forge
talk
(Thread)
CodeSys 3 Send/Receive data with GET and POS
Last updated: 2016-05-01
Saving huge amounts of data on PLC
CODESYS Forge
talk
(Thread)
Saving huge amounts of data on PLC
Last updated: 2016-02-10
Store different data types in same array
CODESYS Forge
talk
(Thread)
Store different data types in same array
Last updated: 2020-01-29
Writing data to a file with Wago CP-57
CODESYS Forge
talk
(Thread)
Writing data to a file with Wago CP-57
Last updated: 2014-04-04
Get IN_OUT data from dialog opened by ST code
CODESYS Forge
talk
(Thread)
Get IN_OUT data from dialog opened by ST code
Last updated: 2020-10-14
Cannot start config mode + position data from AKD
CODESYS Forge
talk
(Thread)
Cannot start config mode + position data from AKD
Last updated: 2018-11-15
Reading Profinet I&M data in Codesys Profinet Master
CODESYS Forge
talk
(Thread)
Reading Profinet I&M data in Codesys Profinet Master
Last updated: 2020-12-01
Saving Data in the Simplest Way
CODESYS Forge
talk
(Thread)
Saving Data in the Simplest Way
Last updated: 2008-01-10
[Windows] How to synchronize "Persistent Data" among Filesystem ?
CODESYS Forge
talk
(Thread)
[Windows] How to synchronize "Persistent Data" among Filesystem ?
Last updated: 2020-05-18
Best way to save data for later analysis!
CODESYS Forge
talk
(Thread)
Best way to save data for later analysis!
Last updated: 2015-06-22
Data source manager runs in demo mode
CODESYS Forge
talk
(Thread)
Data source manager runs in demo mode
Last updated: 2022-08-29
Codesys automatic Data transfer to USB on rasberry pi
CODESYS Forge
talk
(Thread)
Codesys automatic Data transfer to USB on rasberry pi
Last updated: 2024-01-03
Data Transferring between 2 PLCs in a same PC
CODESYS Forge
talk
(Thread)
Data Transferring between 2 PLCs in a same PC
Last updated: 2024-02-06
Data logging from codesys to Microsoft Access
CODESYS Forge
talk
(Thread)
Data logging from codesys to Microsoft Access
Last updated: 2024-04-04
Git - User identification data is lost when codesys is closed
CODESYS Forge
talk
(Thread)
Git - User identification data is lost when codesys is closed
Last updated: 2024-04-04
Data logging from codesys to Microsoft Access
CODESYS Forge
talk
(Thread)
Data logging from codesys to Microsoft Access
Last updated: 2024-04-04
NMEA Serial data read in Control win v3 x64
CODESYS Forge
talk
(Thread)
NMEA Serial data read in Control win v3 x64
Last updated: 2025-10-16
NMEA Serial data read in Control win v3 x64
CODESYS Forge
talk
(Thread)
NMEA Serial data read in Control win v3 x64
Last updated: 2025-10-16
SoftMotion, accessing PDO input data via object ref/pointer
CODESYS Forge
talk
(Thread)
SoftMotion, accessing PDO input data via object ref/pointer
Last updated: 2025-10-29
Post by levih on FbHTTPs_Get how to get data from a website and use it in codesys
CODESYS Forge
talk
(Post)
You get an array of DWORD into your receive buffer. You need to process this into usable data, before you can fit it into your DUT. I've made it work using FbWrite_ToIEC_ByRule in stead of Fb_JSON_ParseAndModify. I've attached images of the code. You receive the data into ARRAY[0..1023] OF DWORD. Then you use that array as the input for fbWrite_ToIEC_ByRule. To get the output from this you define a rule to fit the expected data structure including nesting levels. The you feed the rule into FbWrite_ToIEC_ByRule and then you can set the output to be of your DUT type.
Last updated: 2025-06-16
Function block that after 2 rising edge it gives a bool and resets every 3 seconds
CODESYS Forge
talk
(Thread)
Function block that after 2 rising edge it gives a bool and resets every 3 seconds
Last updated: 2023-04-07
Post by rmaas on STRING conversions to DWORD
CODESYS Forge
talk
(Post)
Hi, The '' characters in Codesys are there only to indicate it is a STRING type. They are not actually added to the string, maybe you are adding them unintentionally in the concat function? You can send your data from Codesys to Hercules to verify... Another option is to send the data as an array of bytes instead of a string, with every byte representing 1 ASCII character. https://www.ascii-code.com/ This way you are 100% sure Codesys is not adding any unwanted characters.
Last updated: 2025-01-31
Post by fefefede on Get the numer of day
CODESYS Forge
talk
(Post)
Hello i tro to create a program to turn on or off the air condition in relationship temperature and numer of day. I can't get the number of day. I try this after installing SysTime library but this not work and have this error on debug ------ Build started: Application: Device.Sim.Device.Application ------- Typify code... Generate code... [ERROR] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0032: Cannot convert type 'Unknown type: 'SysTimeCore(TRUE)'' to type 'TIME' [ERROR] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0035: Program name, function or function block instance expected instead of 'SysTimeCore' [ERROR] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0032: Cannot convert type 'Unknown type: 'DayOfWeek(CurrentTime)'' to type 'INT' [ERROR] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0035: Program name, function or function block instance expected instead of 'DayOfWeek' [INFORMATION] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0181: Related position Build complete -- 4 errors, 0 warnings : No download possible PROGRAM PLC_PRG VAR Temperatura: UDINT; AriaCondizionata: BOOL := FALSE; CurrentDayOfWeek: INT; //Variabile Giorno CurrentTime: TIME; GiornoDellaSettimana: INT; DayOfWeek: INT; END_VAR CurrentTime := SysTimeCore(TRUE); // Ottieni l'ora corrente CurrentDayOfWeek := DayOfWeek(CurrentTime); CASE GiornoDellaSettimana OF 1: // Azioni per Lunedì 2: // Martedì se più 10° accend altrimenti spegni IF Temperatura >= 10 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 3: // Mercoledì se più di 50° accendi altrimenti spegni IF Temperatura >=50 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 4: // Giovedì se più di 40° accendi altrimenti spegni IF Temperatura >=40 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 5: // Venerdì se più di 50° accendi altrimenti spegni IF Temperatura >=50 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 6: // Sabato se più di 25° accendi altrimenti spegni IF Temperatura >=25 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 7: // Domenica sempre spenta AriaCondizionata := FALSE; END_CASE
Last updated: 2023-09-14
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND or OR.