3 - 1 3 - 1
3 HANDLING OF CHARACTERS AND NUMERIC VALUES IN ST PROGRAMS
3 HANDLING OF CHARACTERS AND NUMERIC VALUES IN ST PROGRAMS
3.1 Usable Characters
The ST language is a programming language described in text format.
It can be described as in document editing using a general text editor, but the grammar
and usable characters and symbols have been defined.
(1) Usable characters
The following characters can be used in ST programs.
Locations of Application
Character Type
Program
statement
Comment
Character
string
Label
*1
Character
Examples
Alphanumeric
characters
ABC, IF, D0
Symbols
+ - * / = < > [ ] ( )
. , _ : ; $ # " ' { }
*2
(D0 * D1)
Space
Line feed code
TAB code
: Can be used. : Cannot be used. : Part cannot be used.
*1: For the characters that cannot be used in labels, refer to "Appendix 1 Character
Strings that cannot be Used as Labels and FB Names".
*2: A double quotation (") cannot be used in a character string.
Doing so will result in a conversion error.
3
Summary of Contents for MELSEC L series
Page 1: ...Programming Manual Structured Text ...
Page 2: ......
Page 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Page 297: ......