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 #387 background imageLoading...
Page #387 background image
2-339
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Data Movement Instructions
2
Copy**ToNum (Bit String to Signed Integer)
Copy**ToNum (Bit String to
Signed Integer)
The Copy**ToNum instruction copies the content of a bit string directly to a signed integer.
The Copy**ToNum 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
Copy**ToNum Bit Pattern Copy
(Bit String to Signed
Integer) Group
FUN Out:=Copy**ToNum(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 signed integer data type that is the same size as the data type of In.
Function
In Out Instruction
BYTE SINT CopyByteToNum
WORD INT CopyWordToNum
DWORD DINT CopyDwordToNum
LWORD LINT CopyLwordToNum
"**" must be a bit string data type.
(@)Copy**ToNum
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
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals