xLadder user manual-V2.0.0.6

Format of ASCII Constant STRING Data Type: A string is a sequence of characters, with each character being stored as a byte. The first byte of the string defines the length of the string, which is the number of characters. If the constant string is entered directly in the program editor or data block, then the string must begin and end with double quote characters ("string constant"). The memory map below shows the format of a STRING data type. The string can have a length of 0 to 254 characters. The maximum length for a string is 255 bytes (254 characters plus the length byte).

You need to convert the received SMS characters into a string, as shown in the following example:

296

Made with FlippingBook - Online magazine maker