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-343
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Data Movement Instructions
2
CopyNumTo** (Signed Integer to Bit String)
CopyNumTo** (Signed Integer to
Bit String)
The CopyNumTo** instruction copies the content of a signed integer directly to a bit string.
The CopyNumTo** instruction copies the content of copy source In directly to copy destination Out.
There are four instructions depending on the data types of In and Out.
Instruction Name FB/FUN Graphic expression ST expression
CopyNumTo** Bit Pattern Copy
(Signed Integer to
Bit String) Group
FUN Out:=CopyNumTo**(In);
"**" must be a bit string data
type.
Variables
Name Meaning I/O Description Valid range Unit Default
In Copy
source
Input Copy source Depends on data type.
--- 0
Out Copy
destination
Output Copy destination 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
In OK OK OK OK
Out Must be a bit string data type that is the same size as the data type of In.
Function
In Out Instruction
SINT BYTE CopyNumToByte
INT WORD CopyNumToWord
DINT DWORD CopyNumToDword
LINT LWORD CopyNumToLword
"**" must be a bit string data type.
(@)CopyNumTo**
EN ENO
In Out

Table of Contents

Related product manuals