88
Notation and Layout of Instruction Descriptions Section 3-1
• 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.
The input methods for constants for the CX-Programmer are given in the fol-
lowing table.
Note When operands are input on the CX-Programmer, the input ranges will be dis-
played along with the appropriate prefixes.
Condition Flags 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.
Precautions for DM
Area Addresses in
CP1L L CPU Units
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.
Operand CX-Programmer
Operands specifying bit strings (normally
input as hexadecimal)
Input as decimal with an & prefix or input
as hexadecimal with an # prefix. (See
note.)
Operands specifying numeric values
(normally input as decimal)
Operands specifying control numbers
(except for jump numbers)
Input as decimal with an # prefix. (See
note.)
XFER
&10
D100
D200
Flag name
(Used in this section.)
CX-Programmer label
Error Flag P_ER
Access Error Flag P_AER
Carry Flag P_CY
Greater Than Flag P_GT
Equals Flag P_EQ
Less Than Flag P_LT
Negative Flag P_N
Overflow Flag P_OF
Underflow Flag P_UF
Greater Than or Equals Flag P_GE
Not Equal Flag P_NE
Less Than or Equals Flag P_LE
Always ON Flag P_On
Always OFF Flag P_Off