EasyManuals Logo
Home>Omron>Controller>NX1P

Omron NX1P User Manual

Omron NX1P
106 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #19 background imageLoading...
Page #19 background image
19
1-2-4 Structured Text Language for Easy Mathematical Processing
Structured Text Language
The structured text (ST) language is a high-level structured language, similar to Pascal. It is
ideal for mathematical processing and nested conditional branching that are difficult to write
in ladder diagrams.
Features of ST Language
You can create easy to read programs by using two different programming languages,
ladder diagram language for sequence control and ST language for mathematical
processing.
Example: Calculating the area of a trapezoid
(Top length + bottom length) * height / 2
The ST language simplifies this code.
You can use ST as an element in a ladder diagram or create a program in ST only.
ST is ideal for:
1. Arithmetic operations and function calculation
+, -, *, /, SIN, COS, TAN, etc.
2. Loop and condition constructs
IF THEN, FOR NEXT, etc.
3. Text string processing
Joining, extracting, searching, and replacing text strings
The next section gives more detailed explanation about programming with variables.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX1P and is the answer not in the manual?

Omron NX1P Specifications

General IconGeneral
BrandOmron
ModelNX1P
CategoryController
LanguageEnglish

Related product manuals