6 Programming
6-78
NJ-series CPU Unit Software User’s Manual (W501)
Execution Conditions for Inline ST
The execution conditions for inline ST are shown in the following table.
Scope of Variables in Inline ST
The scope of variables that you can access from inline ST is the same as the POU of the ladder dia-
gram that contains the inline ST.
Restrictions for Inline ST
The ST (structured text) language is a high-level language code for industrial controls (mainly PLCs)
defined by the IEC 61131-3 standard. The standard control statements, operators, and functions make
the ST language ideal for mathematical processing that is difficult to write in ladder diagrams. The fea-
tures of ST are described below.
• Loop constructs and control constructs such as IF THEN ELSE are provided.
• You can write programs like high-level languages such as C, and you can include comments to make
the program easy to read.
Status Operation
TRUE execution condition Operation follows the execution condition. You can use the execution condi-
tion at any point in the power flow (e.g., you can connect the inline ST
directly to the left bus bar). To specify a change to TRUE or a change to
FALSE, specify it for an input in the execution condition.
FALSE execution condition Nothing is done.
Resetting in a master control
region
Nothing is done.
Item Description
Number of inline ST boxes per rung 1
6-5-3 Structured Text Language