String constants, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 509

Advertising
background image

L-force | PLC Designer

Operands in PLC Designer



DMS 3.2 EN 02/2011 TD29

507

10.1.8

STRING Constants

A string is a sequence of characters. STRING constants are preceded and followed by
single quotation marks. You may also enter blank spaces and special characters
(umlauts for instance). They will be treated just like all other characters.

In character sequences, the combination of the dollar sign ($) followed by two
hexadecimal numbers is interpreted as a hexadecimal representation of the eight bit
character code. In addition, the combination of two characters that begin with the
dollar sign are interpreted as shown below when they appear in a character sequence:

$$ Dollar

signs

$'

Single quotation mark

$L or $l

Line feed

$N or $n

New line

$P or $p

Page feed

$R or $r

Line break

$T or $t

Tab

Examples:

'w1Wüß?'

' Abby and Craig '

':-)'

Advertising