EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 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 #348 background imageLoading...
Page #348 background image
2 Instruction Descriptions
2-300
NJ-series Instructions Reference Manual (W502)
MUX
The MUX instruction selects one of three to five selections.
*1 If you omit an input parameter, the default value is not applied. A building error will occur.
*2 If you omit the input parameter that connects to InN, the default value is not applied, and a building error will occur. For
example, if N is 2 and the input parameters that connect to In0 and In1 are omitted, the default values are applied, but if
the input parameter that connects to In2 is omitted, a building error will occur.
The MUX instruction selects one of three to five selections, In0 to InN.
Selector K specifies which of In0 to InN to select.
Instruction Name FB/FUN Graphic expression ST expression
MUX Multiplexer FUN Out:=MUX(K, In0, In1, ···,
InN);
Variables
Name Meaning I/O Description Valid range Unit Default
K Selector
Input
0: Selects In0.
1: Selects In1.
2: Selects In2.
3: Selects In3.
4: Selects In4.
0 to N
---
*1
In0 to InN Selections Selections
N is 2 to 4.
Depends on data type.
0
*2
Out Selection
result
Output Selection result Depends on data type. --- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
KOK
In0 to InN OKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOK
Out OKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOK
Function
(@)MUX
EN ENO
K Out
In0
In1
InN
â‹…â‹…â‹…
â‹…â‹…â‹…

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals