Post by rmaas on STRING conversions to DWORD
CODESYS Forge
talk
(Post)
Hi, The '' characters in Codesys are there only to indicate it is a STRING type. They are not actually added to the string, maybe you are adding them unintentionally in the concat function? You can send your data from Codesys to Hercules to verify... Another option is to send the data as an array of bytes instead of a string, with every byte representing 1 ASCII character. https://www.ascii-code.com/ This way you are 100% sure Codesys is not adding any unwanted characters.
Last updated: 2025-01-31
Conversion BYTE to ASCII String + SysLibFileStream.lib
CODESYS Forge
talk
(Thread)
Conversion BYTE to ASCII String + SysLibFileStream.lib
Last updated: 2008-10-31
Return value from a tag given a string literal
CODESYS Forge
talk
(Thread)
Return value from a tag given a string literal
Last updated: 2024-08-13
Converting each character to a string into ASCII
CODESYS Forge
talk
(Thread)
Converting each character to a string into ASCII
Last updated: 2024-11-08
Converting each character to a string into ASCII
CODESYS Forge
talk
(Thread)
Converting each character to a string into ASCII
Last updated: 2024-11-11
Post by dkugler on STRING size and reading STRING with Modbus
CODESYS Forge
talk
(Post)
Last updated: 2025-01-31
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
Special Chars in Visualizationfor QR code string
CODESYS Forge
talk
(Thread)
Special Chars in Visualizationfor QR code string
Last updated: 2025-09-29
Special Chars in Visualizationfor QR code string
CODESYS Forge
talk
(Thread)
Special Chars in Visualizationfor QR code string
Last updated: 2025-10-04
Specific Data from the device string
CODESYS Forge
talk
(Thread)
Specific Data from the device string
Last updated: 2010-12-06
Why SA0175: Suspicious operation on string: Possible index access
CODESYS Forge
talk
(Thread)
Why SA0175: Suspicious operation on string: Possible index access
Last updated: 2023-06-01
How do I convert string to array of bytes?
CODESYS Forge
talk
(Thread)
How do I convert string to array of bytes?
Last updated: 2010-04-09
String zusammensetzen der länger als 255 Zeichen ist?
CODESYS Forge
talk
(Thread)
String zusammensetzen der länger als 255 Zeichen ist?
Last updated: 2009-02-19
Converting Variable Symbol name in a STRING
CODESYS Forge
talk
(Thread)
Converting Variable Symbol name in a STRING
Last updated: 2008-12-09
Mathematische Formel aus einem String heraus berechnen
CODESYS Forge
talk
(Thread)
Mathematische Formel aus einem String heraus berechnen
Last updated: 2006-10-07
String to Real und in Bytes aufteilen
CODESYS Forge
talk
(Thread)
String to Real und in Bytes aufteilen
Last updated: 2007-12-05
STRING functions for more than 255 charater
CODESYS Forge
talk
(Thread)
STRING functions for more than 255 charater
Last updated: 2015-01-22
Get a instance name as string variable?
CODESYS Forge
talk
(Thread)
Get a instance name as string variable?
Last updated: 2010-02-27
Create a string by extracting value from a file
CODESYS Forge
talk
(Thread)
Create a string by extracting value from a file
Last updated: 2022-06-26
How to Convert ascii string to real value?
CODESYS Forge
talk
(Thread)
How to Convert ascii string to real value?
Last updated: 2023-02-16
Get symbol address and length from string of symbol name
CODESYS Forge
talk
(Thread)
Get symbol address and length from string of symbol name
Last updated: 2022-06-21
Convert combo box selected items into a string
CODESYS Forge
talk
(Thread)
Convert combo box selected items into a string
Last updated: 2020-04-20
Saving UINT data collected as String data to MMC
CODESYS Forge
talk
(Thread)
Saving UINT data collected as String data to MMC
Last updated: 2007-08-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.