Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 418

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

SIGN
Instruction
16-BIT TO 32-BIT SIGNED
BINARY
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
Source word
R
First result word
R: First result word
R: Contents of S
R+1: #0000 or #FFFF (hex)
Note R and R+1 must be in the same data area.
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
OK
OK
OK
R
Flags
Name
Error Flag
Equals Flag
Negative Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
SIGN
@SIGN
Block program areas
Step program areas
OK
OK
Description
Indirect DM/EM
@DM
AR
T
C
DM
EM
@EM
OK
OK
OK
OK
OK
OK
Label
ER
OFF
=
• ON if the result is 0000 0000.
• OFF in all other cases.
N
• ON if bit 15 of R+1 is ON.
• OFF in all other cases.
Function
code
Expands a 16-bit signed binary value to its 32-bit
600
equivalent.
SIGN
SIGN(600)
S: Source word
S
R: First result word
R
Subroutines
OK
Data type
WORD
DINT
Registers
addresses
Con-
stants
*DM
DR
*EM
OK
OK
OK
---
---
Operation
3. Instructions
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
1
2
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
3
TR
bits
---
381

Advertisement

Table of Contents
loading

Table of Contents