EasyManuals Logo
Home>Omron>Controller>SYSMAC CV Series

Omron SYSMAC CV Series User Manual

Omron SYSMAC CV Series
636 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 #237 background imageLoading...
Page #237 background image
(106)
SIGN D00500 D01000
0000
00
225
5-17-7 SIGN: SIGN(106)
(106)
SIGN S R
R: 1
st
result word CIO, G, A, DM
S: Source word CIO, G, A, T, C, #, DM, DR, IR
Operand Data AreasLadder Symbol
Variations
j SIGN(106)
When the execution condition is OFF, SIGN(106) is not executed. When the
execution condition is ON, SIGN(106) copies the 4-digit signed binary source
word (S) to R, extracts the sign from bit 15 of S, and outputs the result to R+1. If
bit 15 of S is ON, $FFFF is output to R+1, and if bit 15 of S is OFF, $0000 is output
to R+1. Refer to
3-2 Data Area Structure
for details on signed data.
In the following example, the content of S is 8000, so 8000 is transferred to R and
FFFF is transferred to R+1 because bit 15 of S is ON.
Source word (S)
1000000000000000
The content of S is
transferred “as is” to R.
1
st
result word (R)
1000000000000000
2
nd
result word (R+1)
1111111111111111
If bit 15 of S is 1, FFFF is transferred to R+1.
If bit 15 of S is 0, 0000 is transferred to R+1.
Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
EQ (A50006): Content of R and R+1 is 0 after execution
N (A50008): Content of R+1 is FFFF after execution.
Example When the CIO 000000 is ON in the following example, the 4-digit signed content
of D00500 is copied to D01000 and the sign from bit 15 of D00500 is output to bit
15 of D01001.
Address Instruction Operands
00000 LD 000000
00001 SIGN(106)
D00500
D01000
8 0 0 0
8 0 0 0F F F F
1 0 0 0
8
“1”
MSB
#FFFF
S: D00500
R: D01000R+1: D01001
Description
Precautions
Conversion Instructions Section 5-17

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CV Series and is the answer not in the manual?

Omron SYSMAC CV Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CV Series
CategoryController
LanguageEnglish

Related product manuals