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 #397 background imageLoading...
Page #397 background image
2-349
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Data Movement Instructions
2
Copy**ToNum (Real Number to Signed Integer)
Copy**ToNum (Real Number to
Signed Integer)
The Copy**ToNum instruction copies the content of a real number directly to a signed integer.
The Copy**ToNum instruction copies the content of copy source In directly to copy destination Out.
There are two instructions depending on the data types of In and Out.
Instruction Name FB/FUN Graphic expression ST expression
Copy**ToNum Bit Pattern Copy
(Real Number to
Signed Integer)
Group
FUN Out:=CopyRealToNum(In);
or
Out:=CopyLrealToNum(In);
Variables
Name Meaning I/O Description Valid range Unit Default
In Copy
source
Input Copy source Depends on data type.
--- 0.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
Out Must be DINT if the data type of In is REAL and LINT if the data type of In is LREAL.
Function
In Out Instruction
REAL DINT CopyRealToNum
LREAL LINT CopyLrealToNum
(@)CopyLrealToNum
EN ENO
In Out
(@)CopyRealToNum
EN ENO
In Out

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
ModelNJ501-1500
CPU TypeIntel Atom
SD Memory Card SlotYes
Power Supply Voltage24 V DC
Power Consumption30 W
Operating Temperature0 to 55 °C
USB PortYes
Power SupplyBuilt-in

Related product manuals