String Array to Byte Array problem
CODESYS Forge
talk
(Thread)
String Array to Byte Array problem
Last updated: 2008-09-04
2 byte array convert to uint
CODESYS Forge
talk
(Thread)
2 byte array convert to uint
Last updated: 2019-04-30
Zahlenwert <256 in 1 Byte wandeln
CODESYS Forge
talk
(Thread)
Zahlenwert <256 in 1 Byte wandeln
Last updated: 2007-02-06
byte count with NBS UDP receive
CODESYS Forge
talk
(Thread)
byte count with NBS UDP receive
Last updated: 2021-06-01
Assigning array of byte
CODESYS Forge
talk
(Thread)
Assigning array of byte
Last updated: 2015-11-26
Codesys v3.5 Sint to byte
CODESYS Forge
talk
(Thread)
Codesys v3.5 Sint to byte
Last updated: 2024-04-24
German word button on the codesys WebVisualization...
CODESYS Forge
talk
(Thread)
German word button on the codesys WebVisualization...
Last updated: 2012-04-03
Writing a single unicode character into a WORD
CODESYS Forge
talk
(Thread)
Writing a single unicode character into a WORD
Last updated: 2013-11-01
Mit UNION Bit-Array auf WORD verknüpfen
CODESYS Forge
talk
(Thread)
Mit UNION Bit-Array auf WORD verknüpfen
Last updated: 2016-09-09
Write and read WORD from I/O modules adress?
CODESYS Forge
talk
(Thread)
Write and read WORD from I/O modules adress?
Last updated: 2021-02-13
Was ist der Unterschied zwischen WORD und UINT?
CODESYS Forge
talk
(Thread)
Was ist der Unterschied zwischen WORD und UINT?
Last updated: 2008-04-14
Real to word conversion for analog outputs
CODESYS Forge
talk
(Thread)
Real to word conversion for analog outputs
Last updated: 2013-06-14
Modbus-Word lässt sich nur schlecht mit FUP-EQ vergleichen
CODESYS Forge
talk
(Thread)
Modbus-Word lässt sich nur schlecht mit FUP-EQ vergleichen
Last updated: 2017-03-15
Re: Belonged to from the word lose.
CODESYS Forge
talk
(Thread)
Re: Belonged to from the word lose.
Last updated: 2017-03-27
Unwanted automatic insertion of the word FINAL in comments
CODESYS Forge
talk
(Thread)
Unwanted automatic insertion of the word FINAL in comments
Last updated: 2021-02-05
CODESYS bit count in a word
CODESYS Forge
talk
(Thread)
CODESYS bit count in a word
Last updated: 2021-01-10
How to Swap two Bytes in a word ?
CODESYS Forge
talk
(Thread)
How to Swap two Bytes in a word ?
Last updated: 2023-06-21
Codesys Newbie Convert Word to ASCII String
CODESYS Forge
talk
(Thread)
Codesys Newbie Convert Word to ASCII String
Last updated: 2015-04-29
How to convert 2 word into float - MODBUS
CODESYS Forge
talk
(Thread)
How to convert 2 word into float - MODBUS
Last updated: 2020-08-17
Trouble declaring variables - Add comment to bit in word
CODESYS Forge
talk
(Thread)
Trouble declaring variables - Add comment to bit in word
Last updated: 2018-05-29
Externe Datei z.B. Word oder mpeg oder mp3 starten
CODESYS Forge
talk
(Thread)
Externe Datei z.B. Word oder mpeg oder mp3 starten
Last updated: 2008-10-09
[SOLVE] Convert array of word to string
CODESYS Forge
talk
(Thread)
[SOLVE] Convert array of word to string
Last updated: 2023-06-30
How to control the Servo motor though the control word
CODESYS Forge
talk
(Thread)
How to control the Servo motor though the control word
Last updated: 2021-02-11
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
Conversion BYTE to ASCII String + SysLibFileStream.lib
CODESYS Forge
talk
(Thread)
Conversion BYTE to ASCII String + SysLibFileStream.lib
Last updated: 2008-10-31
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
.