Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 44

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Programming Concepts
Data
Operand
16-bit con-
All binary data or
stant
a limited range of
binary data
All BCD data or a
limited range of
BCD data
32-bit con-
All binary data or
stant
a limited range of
binary data
All BCD data or a
limited range of
BCD data
Data form
Symbol
Unsigned binary
#
Signed decimal
±
Unsigned deci-
&
mal
BCD
#
Unsigned binary
#
Signed binary
+
Unsigned deci-
& (See Note.)
mal
BCD
#
Range
Application example
#0000 to #FFFF
MOV(021)
#5A
D100
–32768 to
+(400)
+32767
D200
D300
&0 to &65535
CMP(020)
D400
&999
#0000 to #9999
B(414)
D500
#2000
D600
#00000000 to
MOVL(498)
#FFFFFFFF
#17FFF
D100
–2147483648 to
+L(401)
+2147483647
D200
65536
D300
&0 to
CMPL(060)
&429467295
D400
&99999
#00000000 to
BL(415)
#99999999
D500
#1000000
D600
Section 1-1
128
11

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CP - PROGRAMMING MANUAL 05-2007 and is the answer not in the manual?

Questions and answers

Table of Contents