Is there a string compare function in ST ?
CODESYS Forge
talk
(Thread)
Is there a string compare function in ST ?
Last updated: 2017-11-08
convert INT Type to STRING Type
CODESYS Forge
talk
(Thread)
convert INT Type to STRING Type
Last updated: 2009-10-22
XML-String an SOAP-Server mit HttpClient
CODESYS Forge
talk
(Thread)
XML-String an SOAP-Server mit HttpClient
Last updated: 2018-11-23
[SOLVE] Convert array of word to string
CODESYS Forge
talk
(Thread)
[SOLVE] Convert array of word to string
Last updated: 2023-06-30
Extract a memory adress from a string value
CODESYS Forge
talk
(Thread)
Extract a memory adress from a string value
Last updated: 2016-12-06
How to access to variable value through symbolic string name
CODESYS Forge
talk
(Thread)
How to access to variable value through symbolic string name
Last updated: 2024-06-15
Recipe definition, how to have the Name string in current language?
CODESYS Forge
talk
(Thread)
Recipe definition, how to have the Name string in current language?
Last updated: 2024-10-04
Post by bertcom on STRING conversions to DWORD
CODESYS Forge
talk
(Post)
@trusty-suire, The problem is not encoding. The problem is that codesys ands ' ' to the string. And the printer can't handle these character.
Last updated: 2025-01-30
Post by bertcom on STRING conversions to DWORD
CODESYS Forge
talk
(Post)
@trusty-suire, The problem is not encoding. The problem is that codesys ands ' ' to the string. And the printer can't handle these character.
Last updated: 2025-01-30
Post by davidbo on VisuElems.cmpDynamictext.DynamicTextGetTextW returns pointer to empty string
CODESYS Forge
talk
(Post)
I know it is old and I am using 3.5 18, but I cannot extract a txt string as seen:
Last updated: 2025-02-07
Post by damian177 on url String notation
CODESYS Forge
talk
(Post)
Hi, How to initialize following url: https://mydomain.pl/api/rce-lte?$filter=doba eq '2025-03-18' in sURL : STRING variable ? regards
Last updated: 2025-04-04
Post by damian177 on url String notation
CODESYS Forge
talk
(Post)
Probably I solved using below notation: sURL : STRING := 'https://mydomain.pl/api/rce-lte?$$filter=doba eq $'2025-03-18$'';
Last updated: 2025-04-04
Assign a value to a variable that is defined in a string
CODESYS Forge
talk
(Thread)
Assign a value to a variable that is defined in a string
Last updated: 2023-02-13
Convert and String to an expression read by the runtime
CODESYS Forge
talk
(Thread)
Convert and String to an expression read by the runtime
Last updated: 2012-01-09
Convert Json to String using Machine Expert base on Codesys plateform
CODESYS Forge
talk
(Thread)
Convert Json to String using Machine Expert base on Codesys plateform
Last updated: 2021-09-28
Is it possible to convert a string of 32-bit of binary to a float32?
CODESYS Forge
talk
(Thread)
Is it possible to convert a string of 32-bit of binary to a float32?
Last updated: 2023-03-23
Einzelnes Hochkomma in String, Lösungsvorschlag aus Codesys Online Hilfe funktioniert nicht
CODESYS Forge
talk
(Thread)
Einzelnes Hochkomma in String, Lösungsvorschlag aus Codesys Online Hilfe funktioniert nicht
Last updated: 2018-01-28
Convert from string containing HEX values to the corresponding chars (E.G. '414141' to 'AAA')
CODESYS Forge
talk
(Thread)
Convert from string containing HEX values to the corresponding chars (E.G. '414141' to 'AAA')
Last updated: 2023-07-19
I want to convert a WORD to a hex string like 15.432 to '3C48'
CODESYS Forge
talk
(Thread)
I want to convert a WORD to a hex string like 15.432 to '3C48'
Last updated: 2024-04-19
Post by sangram on Convert Array Of DINT To STRING
CODESYS Forge
talk
(Post)
Last updated: 2023-12-03
Post by timvh on Array to String
CODESYS Forge
talk
(Post)
The new (UTF8) string library is faster and can handle large strings. https://content.helpme-codesys.com/en/CODESYS%20String%20Libraries/_strlib_start_page.html PS, in CODESYS, the maximum string length is not 255 characters. The String functions of the standard library are limited to strings of 255 characters. But you can use other (memory) functions to handle strings larger than 255 characters.
Last updated: 2024-07-22
Post by timvh on Array to String
CODESYS Forge
talk
(Post)
The string_Util_Intern is not the library I referred to. With a CONCAT function (also with the string util library) a search is done for the NULL character. If you concatenate 20000 characters to one string, then the longer the string, the longer it takes to find this NULL character.
Last updated: 2024-07-24
Post by andreag0 on How to access to variable value through symbolic string name
CODESYS Forge
talk
(Post)
Hello, anyone know how to get valiable value using a symbolic string name? For example: - send string to runtime using TCP/IP contains "GVL.TestINT" and get back the value. I need function that will translate the string to symbolic variable. Thank you. Andrea
Last updated: 2024-06-13
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: 2024-11-11
Post by timvh on VisuElems.cmpDynamictext.DynamicTextGetTextW returns pointer to empty string
CODESYS Forge
talk
(Post)
Try this: VAR sTextList : STRING; END_VAR sTextList := 'NameOfTheTextList'; // call to the function with the address of the string variable which contains the name of the textlist : ... ADR(sTextList), ....
Last updated: 2025-02-07
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.