Standard Format - Mitsubishi Electric MELSEC Q Series Structured Programming Manual

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

Advertisement

5.1
ST
The ST language is a text language with a similar grammatical structure to the C language.
Controls such as conditional judgement and repetition process written in syntax can be
described.
This language is suitable for programming complicated processes that cannot be easily
described by a graphic language (structured ladder/FBD language).
5.1.1

Standard format

Operators and syntax are used for programming in the ST language.
Syntax must end with ';'.
Spaces, tabs, and line feeds can be inserted anywhere between a keyword and an identifier.
Comments can be inserted in a program. Describe '(*' in front of a comment and '*)' in back of a
comment.
Entering a comment in a comment causes the following compile error.
Compile error content: "Parser error" Error code : C1200
5.1 ST
5-2
5.1.1 Standard format
Assignment syntax
syntaxes
Calling the function
Calling the function block
Comment
Enter ';' at the end.
Space
Tab
Line feed
Comment

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l seriesMelsec-f

Table of Contents