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-379
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Conversion Instructions
2
LineToColm
LineToColm
The LineToColm instruction takes the bits from a bit string and outputs them to the specified bit position
in array elements.
* If you omit the input parameter, the default value is not applied. A building error will occur.
The LineToColm instruction takes the bits from a bit string and outputs them to the specified bit position
in array elements.
Instruction Name FB/FUN Graphic expression ST expression
LineToColm Line to Column
Conversion
FUN LineToColm(In, InOut, Size,
Pos);
Variables
Name Meaning I/O Description Valid range Unit Default
In Data to
convert
Input
Data to convert Depends on data type.
---
*
Size Number of
elements in
result
Number of elements in
result
0 to No. of bits in In 1
Pos Conver-
sion bit
position
Bit position to receive the
conversion
0 to No. of bits in
InOut[] 1
0
InOut[]
(array)
Conver-
sion result
array
In-out Conversion result Depends on data type.
--- ---
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
In OK OK OK OK
Size OK
Pos OK
InOut[]
(array)
OK OK OK OK
Out OK
Function
(@)LineToColm
EN ENO
In Out
InOut
Size
Pos

Table of Contents

Related product manuals