Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 196

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Notation and Layout of Instruction Descriptions
Condition Flags
• 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 Programming Devices are given in the
following table.
Operand
Operands specify-
ing bit strings (nor-
mally input as
hexadecimal)
Operands specify-
ing numeric values
(normally input as
decimal)
Operands specify-
ing control numbers
(except for jump
numbers)
Note When operands are input on the CX-Programmer, the input ranges will be dis-
played along with the appropriate prefixes.
Programming Console labels are used for condition flags in this section. With
the CX-Programmer, the condition flags are registered in advance as global
symbols with "P_" in front of the symbol name.
Flag
Error Flag
P_ER
Access Error
P_AER
Flag
Carry Flag
P_CY
Greater Than
P_GT
Flag
Equals Flag
P_EQ
Less Than Flag
P_LT
Negative Flag
P_N
Overflow Flag
P_OF
Underflow Flag
P_UF
Greater Than or
P_GE
Equals Flag
Not Equal Flag
P_NE
XFER
&10
D00100
D00200
CX-
Programmer
Input as deci-
The Cont/# Key can be pressed to input hexa-
mal with an &
decimal values by default with an # prefix. The
prefix or input
CHG Key can then be pressed to rotate
as hexadeci-
between hexadecimal (with # prefix), signed
mal with an #
decimal (with +/–), and unsigned decimal (with
prefix. (See
& prefix).
note.)
Input as deci-
Input directly in decimal form.
mal with an #
If the & prefix is automatically added, the CHG
prefix. (See
Key can be pressed to rotate between
note.)
unsigned decimal (with & prefix), hexadecimal
(with # prefix), and signed decimal (with +/–).
If no prefix is displayed, the value must be
entered in decimal form.
CX-Programmer label
Section 3-1
Programming Console
Programming Console label
ER
AER
CY
>
=
<
N
OF
UF
=
<>
157

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents