Post by mmpl on Array to String
CODESYS Forge
talk
(Post)
I would like to create one large JSON string from an array of objects, where each object contains a value. My current approach involves using a for loop and string concatenation, but with 20,000 elements in the array, this method takes almost 7 seconds and negatively affects the PLC scan time. Is there a more efficient way to accomplish this?
Last updated: 2024-07-18
Post by timvh on Converting each character to a string into ASCII
CODESYS Forge
talk
(Post)
A standard string is actually a list of bytes that represent the ASCII code for each character. The following part of code will give you the ASCII code of one of the characters in the string: byChar := sInput[i];
Last updated: 5 days ago
Post by tvm on Timer On Vijeo
CODESYS Forge
talk
(Post)
Vijeo doesn't support TIME variables, so the easiest thing to do is convert to a STRING in your program, and use that variable. You could use TimeAsString:= TIME_TO_STRING(TimeVar) to get a string that looks like this: T#5h10m45s200ms
Last updated: 2024-05-07
Post by ph0010421 on How to manage variable types larger than 64 bits - Ethernet/IP
CODESYS Forge
talk
(Post)
So it's currently mapped to an array of BYTES? Can you create a UNION? TYPE sBytesString : UNION AsBytes: ARRAY[0..127] OF BYTE; AsString: STRING(128); END_UNION END_TYPE Map it to the bytes, read it in the STRING!
Last updated: 2024-09-23
String type object length in CANopen OD?
CODESYS Forge
talk
(Thread)
String type object length in CANopen OD?
Last updated: 2010-01-09
Specific Data from the device string
CODESYS Forge
talk
(Thread)
Specific Data from the device string
Last updated: 2010-12-06
Why SA0175: Suspicious operation on string: Possible index access
CODESYS Forge
talk
(Thread)
Why SA0175: Suspicious operation on string: Possible index access
Last updated: 2023-06-01
String zusammensetzen der länger als 255 Zeichen ist?
CODESYS Forge
talk
(Thread)
String zusammensetzen der länger als 255 Zeichen ist?
Last updated: 2009-02-19
Converting Variable Symbol name in a STRING
CODESYS Forge
talk
(Thread)
Converting Variable Symbol name in a STRING
Last updated: 2008-12-09
Mathematische Formel aus einem String heraus berechnen
CODESYS Forge
talk
(Thread)
Mathematische Formel aus einem String heraus berechnen
Last updated: 2006-10-07
STRING functions for more than 255 charater
CODESYS Forge
talk
(Thread)
STRING functions for more than 255 charater
Last updated: 2015-01-22
Get a instance name as string variable?
CODESYS Forge
talk
(Thread)
Get a instance name as string variable?
Last updated: 2010-02-27
Create a string by extracting value from a file
CODESYS Forge
talk
(Thread)
Create a string by extracting value from a file
Last updated: 2022-06-26
Get symbol address and length from string of symbol name
CODESYS Forge
talk
(Thread)
Get symbol address and length from string of symbol name
Last updated: 2022-06-21
Convert combo box selected items into a string
CODESYS Forge
talk
(Thread)
Convert combo box selected items into a string
Last updated: 2020-04-20
String Constants CoDeSys => Tera Term Pro
CODESYS Forge
talk
(Thread)
String Constants CoDeSys => Tera Term Pro
Last updated: 2006-11-07
STRING-Arrays as data-points in a graph
CODESYS Forge
talk
(Thread)
STRING-Arrays as data-points in a graph
Last updated: 2021-03-16
SVN - Revision-String von Bibliothek und Projekt
CODESYS Forge
talk
(Thread)
SVN - Revision-String von Bibliothek und Projekt
Last updated: 2018-05-15
problem with unicode string input into text field
CODESYS Forge
talk
(Thread)
problem with unicode string input into text field
Last updated: 2018-11-26
List of string pointed by value in visualization
CODESYS Forge
talk
(Thread)
List of string pointed by value in visualization
Last updated: 2018-01-31
read string from a web site (https)
CODESYS Forge
talk
(Thread)
read string from a web site (https)
Last updated: 2019-08-08
Einen String Wert in einer csv. Datei speichern
CODESYS Forge
talk
(Thread)
Einen String Wert in einer csv. Datei speichern
Last updated: 2011-05-25
reading string from file issue (more than 255 bytes)
CODESYS Forge
talk
(Thread)
reading string from file issue (more than 255 bytes)
Last updated: 2023-08-02
EtherNet/IP Device - Status "Diag string: 'Configure encapsulation Layer'"
CODESYS Forge
talk
(Thread)
EtherNet/IP Device - Status "Diag string: 'Configure encapsulation Layer'"
Last updated: 2022-01-02
NBS.IPv4Address.SetInitialValue input should not be STRING(15)
CODESYS Forge
talk
(Thread)
NBS.IPv4Address.SetInitialValue input should not be STRING(15)
Last updated: 2022-12-12
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
.