Transforming GVL to string
CODESYS Forge
talk
(Thread)
Transforming GVL to string
Last updated: 2019-12-20
Array to String
CODESYS Forge
talk
(Thread)
Array to String
Last updated: 2024-07-18
Array to String
CODESYS Forge
talk
(Thread)
Array to String
Last updated: 2024-07-24
Converting an ASCII value to a character
CODESYS Forge
talk
(Thread)
Converting an ASCII value to a character
Last updated: 2019-04-27
Post by ph0010421 on Converting each character to a string into ASCII
CODESYS Forge
talk
(Post)
So the printer wants an ASCII conversion of the hex equivalent of ASCII characters?? They don't make it easy for us
Last updated: 2024-11-11
ASCII Strings ΓΌber GPIO COM-Port
CODESYS Forge
talk
(Thread)
ASCII Strings ΓΌber GPIO COM-Port
Last updated: 2019-07-03
Webvisu adn specials ASCII characters
CODESYS Forge
talk
(Thread)
Webvisu adn specials ASCII characters
Last updated: 2007-03-15
ASCII programming within CoDeSys
CODESYS Forge
talk
(Thread)
ASCII programming within CoDeSys
Last updated: 2006-05-31
WebVisu File Transfer non ASCII filename
CODESYS Forge
talk
(Thread)
WebVisu File Transfer non ASCII filename
Last updated: 2022-08-01
Convert Array Of DINT To STRING
CODESYS Forge
talk
(Thread)
Convert Array Of DINT To STRING
Last updated: 2023-12-03
Convert string to byte array.
CODESYS Forge
talk
(Thread)
Convert string to byte array.
Last updated: 2021-12-29
String to long for textbox
CODESYS Forge
talk
(Thread)
String to long for textbox
Last updated: 2020-08-21
Convert LWORD to STRING
CODESYS Forge
talk
(Thread)
Convert LWORD to STRING
Last updated: 2013-01-05
Date and time to String variable
CODESYS Forge
talk
(Thread)
Date and time to String variable
Last updated: 2022-05-30
string write to txt file
CODESYS Forge
talk
(Thread)
string write to txt file
Last updated: 2023-08-09
convert string to actual io?
CODESYS Forge
talk
(Thread)
convert string to actual io?
Last updated: 2014-07-09
Data STRING sending to serialComm
CODESYS Forge
talk
(Thread)
Data STRING sending to serialComm
Last updated: 2022-03-22
VisuElems.cmpDynamictext.DynamicTextGetTextW returns pointer to empty string
CODESYS Forge
talk
(Thread)
VisuElems.cmpDynamictext.DynamicTextGetTextW returns pointer to empty string
Last updated: 2018-09-18
String Array to Byte Array problem
CODESYS Forge
talk
(Thread)
String Array to Byte Array problem
Last updated: 2008-09-04
How to read string from CharBufferPtr?
CODESYS Forge
talk
(Thread)
How to read string from CharBufferPtr?
Last updated: 2024-02-21
CANOpen SDO to write VISIBLE STRING
CODESYS Forge
talk
(Thread)
CANOpen SDO to write VISIBLE STRING
Last updated: 2024-04-29
Post by alimans on Hex string
CODESYS Forge
talk
(Post)
Hi kdkwhite, for Word you still can use suggested code by using a union structure and crack down your Word to two byte as bellow: TYPE CrackWordToByte : UNION InWord : WORD; OutBytes : ARRAY [0..1] OF BYTE; END_UNION END_TYPE then define your variable as this type: udInput : CrackWordToByte; now assign your Word variable input to InWord and send OutBytes[x] to the mentioned method: udInput.InWord := WordVariableInput; Input := udInput.OutBytes[x]; Regarding your question about the code: actually 48 is ascii code of "0" and while 65 is the ascii code of "A" so in above code 55 + 10 would be 65.
Last updated: 2023-09-20
To implement G-code
CODESYS Forge
talk
(Thread)
To implement G-code
Last updated: 2012-10-31
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
Post by timvh on Converting each character to a string into ASCII
CODESYS Forge
talk
(Post)
Nice puzzle for a Saturday afternoon :-). Here my suggestion: VAR sInput : STRING := 'R123'; byChar : BYTE; sOutput : STRING; i: INT; END_VAR sOutput := ''; IF LEN(sInput) = 0 THEN RETURN; END_IF FOR i := 0 TO LEN(sInput) - 1 DO byChar := sInput[i]; sOutput := Concat(sOutput, TO_STRING(byChar)); END_FOR
Last updated: 2024-11-09
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
.