Handling Of Characters And Numeric Values In St Programs; Usable Characters - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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
Character Type
Alphanumeric
characters
Symbols
+ - * / = < > [ ] ( )
. , _ : ; $ # " ' { }
Space
Line feed code
TAB code
*1: For the characters that cannot be used in labels, refer to "Appendix 1 Character
*2: A double quotation (") cannot be used in a character string.
3 - 1
The following characters can be used in ST programs.
Program
statement
: Can be used.
Strings that cannot be Used as Labels and FB Names".
Doing so will result in a conversion error.
Locations of Application
Character
Comment
string
*2
: Cannot be used.
Character
*1
Examples
Label
ABC, IF, D0
(D0 * D1)
: Part cannot be used.
3 - 1
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents