EtherNet/IP Device - Status "Diag string: 'Configure encapsulation Layer'"
CODESYS Forge
talk
(Thread)
EtherNet/IP Device - Status "Diag string: 'Configure encapsulation Layer'"
Last updated: 2025-02-11
Length of string and Array of bytes
CODESYS Forge
talk
(Thread)
Length of string and Array of bytes
Last updated: 2025-04-02
WebVisu Numpad dialog - Dialogtitle not accepting string variable
CODESYS Forge
talk
(Thread)
WebVisu Numpad dialog - Dialogtitle not accepting string variable
Last updated: 2025-05-29
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
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
Post by sangram on Convert Array Of DINT To STRING
CODESYS Forge
talk
(Post)
Last updated: 2023-12-03
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 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 dtamm on How to read string from CharBufferPtr?
CODESYS Forge
talk
(Post)
Solved it! The simple answer was to declare a variable as POINTER TO STRING and assign the GetMessage result to that variable. Then, the ^ operator can be used to extract the message as string.
Last updated: 2024-02-21
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
Post by ton on Length of string and Array of bytes
CODESYS Forge
talk
(Post)
When you use a string value 0 will be the end terminator. Everything after this will not be in the string. I guess byte 2394 has a value 0.
Last updated: 2025-04-01
Post by imdatatas on String length issue in GetRecipeNames method
CODESYS Forge
talk
(Post)
Hi, If the string length in the GetRecipeNames method is lower than the default value, there will be a problem with the resulting Recipe file names. For example; When the method in the link is called, let's say the defined string length is 19. In this case, the string content is corrupted as in the image. strArr: ARRAY[0..9] OF STRING(19); https://content.helpme-codesys.com/de/libs/Recipe%20Management/Current/pou-RecipeManCommands/GetRecipeNames.html The same problem does not occur when the string definition is made in the default size. strArr: ARRAY[0..9] OF STRING; FYI Regards, Imdat
Last updated: 2025-02-19
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
.