Omron CJ - 10-2005 Manual page 92

Programming consoles
Table of Contents

Advertisement

Inputting Instructions
Designating Constants
66
Type
Single-word constants
CONT
Long constants
The display format of constants can be changed by pressing the,–IR/TR Key.
CONT
#
,–IR
TR
DISP
,–IR
TR
DISP
,–IR
TR
DISP
When the signed decimal display is used, the value can be changed between
positive and negative using the SET/RESET Keys.
RESET
Note Changes such as those illustrated above cannot be made for BCD data con-
stants such as Timer/Counter set values, JMP/Subroutine numbers etc.
Key sequence
Number
#
4-digit hexadecimal
CONT
Number
#
8-digit hexadecimal
Number
000202 MOV
#
SV A
+
000202 MOV
(–)
SV A
000202 MOV
&
SV A
000202 MOV
SV A
Positive
000202 MOV
SV A
Negative
Section 4-1
Display example
000202 MOV
SV A
#1234
Hexadecimal
000202 MOVL
SV A
#12345678
Hexadecimal
#FFFF
Hexadecimal
-1
Signed decimal
&65535
Unsigned decimal
+4660
SET
-4660

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents