EasyManua.ls Logo

Omron NJ501-1500

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
Loading...
2-57
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Sequence Output Instructions
2
OutABit
OutABit
The OutABit instruction changes the specified bit in bit string data to TRUE or FALSE.
Instruction Name FB/FUN Graphic expression ST expression
OutABit Output A Bit FUN OutABit (InOut, Pos, BitVal);
Variables
Name Meaning I/O Description Valid range Unit Default
InOut Bit string In-out Bit string Depends on data type.
--- ---
Pos Bit position
Input
Specified bit position 0 to No. of bits in InOut
1
---
0
BitVal Set value Value to set Depends on data type. TRUE
Out Return
value
Output Always TRUE TRUE only
--- ---
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
InOut OKOKOKOK
Pos OK
BitVal OK
Out OK
(@)OutABit
EN ENO
InOut
Pos
BitVal
Out

Table of Contents

Related product manuals