Convert Array Of DINT To STRING
CODESYS Forge
talk
(Thread)
Convert Array Of DINT To STRING
Last updated: 2023-12-03
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
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
JSON Utilities ENUM to STRING
CODESYS Forge
talk
(Thread)
JSON Utilities ENUM to STRING
Last updated: 2024-12-09
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 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
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
Transfer array of byte to i2c-device
CODESYS Forge
talk
(Thread)
Transfer array of byte to i2c-device
Last updated: 2022-08-12
Pointer ARRAY BYTE to ARRAY BOOL
CODESYS Forge
talk
(Thread)
Pointer ARRAY BYTE to ARRAY BOOL
Last updated: 2008-06-06
Convert array of 4 byte to real
CODESYS Forge
talk
(Thread)
Convert array of 4 byte to real
Last updated: 2021-06-30
Ascii Daten ΓΌber ttyUSB0 senden und empfangen
CODESYS Forge
talk
(Thread)
Ascii Daten ΓΌber ttyUSB0 senden und empfangen
Last updated: 2022-05-05
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
"Byte Swapping"
CODESYS Forge
talk
(Thread)
"Byte Swapping"
Last updated: 2005-10-11
0-255 Byte umkehren
CODESYS Forge
talk
(Thread)
0-255 Byte umkehren
Last updated: 2020-08-30
Network Byte Orders
CODESYS Forge
talk
(Thread)
Network Byte Orders
Last updated: 2021-01-12
Convert Byte into Array
CODESYS Forge
talk
(Thread)
Convert Byte into Array
Last updated: 2019-01-21
bits into Byte
CODESYS Forge
talk
(Thread)
bits into Byte
Last updated: 2022-11-28
High-/Low-Byte vertauschen
CODESYS Forge
talk
(Thread)
High-/Low-Byte vertauschen
Last updated: 2007-09-17
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
.