Structured Text (St) Language Specifications - Omron CX-PROGRAMMER V8.1 Operation Manual

Function blocks/ structured text
Table of Contents

Advertisement

This section provides specifications for reference when using structured text programming, as well as programming
examples and restrictions.
5-1
Structured Text Language Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1-1
Overview of the Structured Text Language . . . . . . . . . . . . . . . . . . .
5-2
Data Types Used in ST Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-1
Basic Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2-2
Derivative Data Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3
Inputting ST Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3-1
Syntax Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3-2
CX-Programmer's ST Input Screen Display. . . . . . . . . . . . . . . . . . .
5-4
ST Language Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4-1
Statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4-2
Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4-3
Inputting Constants. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4-4
Operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4-5
Standard Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4-6
OMRON Expansion Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-5
Statement Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-5-1
Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-5-2
Control Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6
ST-language Program Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6-1
Using an ST Program in a Function Block. . . . . . . . . . . . . . . . . . . .
5-7
Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7-1
Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7-2
Commonly Asked Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Structured Text (ST) Language Specifications

SECTION 5
136
136
137
137
137
138
138
140
141
141
142
142
142
143
146
148
148
148
166
166
167
167
167
135

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-cxpc1-v8Sysmac cx-programmer 8.1

Table of Contents