EasyManuals Logo

Omron NJ Series User Manual

Omron NJ Series
668 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 #264 background imageLoading...
Page #264 background image
6-77
6 Programming
NJ-series CPU Unit Software User’s Manual (W501)
6-5 Programming Languages
6
6-5-2 Ladder Diagram Language
Restriction
You cannot create closed loops or intersect connecting lines.
Example:
NOT Inputs
You can reverse the value of a BOOL input variable when you input it to an instruction.
Introduction
Inline ST is a ladder diagram programming element in which you can write ST language code in a
box called an inline ST box (a blank text input area) within a ladder diagram. This allows you to eas-
ily code numeric data processing and text string processing within ladder diagrams. The connecting
line to an inline ST box becomes its execution condition. The ST code inside of the box is executed
based on that connecting line. Refer to the following figure.
Inline ST is treated as a rung element in a ladder diagram. Therefore, unlike functions and function
blocks, they have no input, output, or in-out variables.
Restrictions for Inline ST
You can write ST language code in inline ST boxes.
Inline ST
FB2
EN ENO
IN OUT
EN ENO
IN1 OUT1
IN2 OUT2
FB1
No closed loops
NG
NOT input
FB
(BOOL) (BOOL)
TRUEFALSE
FALSETRUE
Q
IN
i1 i2
taiseki := 4.0 * 3.14 * radius *radius * radius / 3.0;
Inline ST
Execution Condition for Inline ST
Inline ST box
Enter the ST language code here.

Table of Contents

Other manuals for Omron NJ Series

Questions and Answers:

Question and Answer IconNeed help?

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

Omron NJ Series Specifications

General IconGeneral
Program CapacityUp to 128 MB
SD Card SlotYes
Power Supply Voltage24 VDC
Motion ControlYes
USB Ports1
Operating Temperature0°C to 55°C
Communication InterfacesEthernet/IP, EtherCAT, USB
Safety FunctionOptional
Storage Temperature-20°C to 75°C
Communication PortsUSB
DimensionsVaries by model
WeightVaries by model

Related product manuals