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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Notation and Layout of Instruction Descriptions
Note
Condition Flags
Precautions for DM
Area Addresses in
CP1L L CPU Units
88
• Operands Indicating Control Numbers (Except for Jump Numbers):
The decimal form is given for control numbers, e.g., "0 to 1023" is given
for the N operand for the SBS(091) instruction.
Examples
In the examples, constants are given using the CX-Programmer notation, e.g.,
operands specifying numeric values are given in decimal for with an & prefix,
as shown in the following example.
XFER
&10
D100
D200
The input methods for constants for the CX-Programmer are given in the fol-
lowing table.
Operand
Operands specifying bit strings (normally
input as hexadecimal)
Operands specifying numeric values
(normally input as decimal)
Operands specifying control numbers
(except for jump numbers)
When operands are input on the CX-Programmer, the input ranges will be dis-
played along with the appropriate prefixes.
Flag names are used for condition flags in this section. With the CX-Program-
mer, the condition flags are registered in advance as global symbols.
Flag name
(Used in this section.)
Error Flag
Access Error Flag
Carry Flag
Greater Than Flag
Equals Flag
Less Than Flag
Negative Flag
Overflow Flag
Underflow Flag
Greater Than or Equals Flag
Not Equal Flag
Less Than or Equals Flag
Always ON Flag
Always OFF Flag
The DM Area is smaller in the CP1L L CPU Units, in comparison to the other
CP-series CPU Units. The operand specifications listed in this Programming
Manual are for CP1H and CP1L M (30 or 40-I/O point) CPU Units, so the
entire listed DM Area address ranges may not be usable in the CP1L L (14 or
20 I/O point) CPU Units.
When programming with the CX-Programmer, out-of-range DM Area
addresses cannot be specified. In addition, if an invalid DM Area is set in the
program, an error will occur when the program is transferred to the PLC.
CX-Programmer
Input as decimal with an & prefix or input
as hexadecimal with an # prefix. (See
note.)
Input as decimal with an # prefix. (See
note.)
CX-Programmer label
P_ER
P_AER
P_CY
P_GT
P_EQ
P_LT
P_N
P_OF
P_UF
P_GE
P_NE
P_LE
P_On
P_Off
Section 3-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents