Instruction Search - Omron CPM2A - 11-2005 Manual

Programmable controllers
Table of Contents

Advertisement

Programming Console Operations

4-2-10 Instruction Search

1, 2, 3...
104
15. The second operand is input as a signed integer.
CONT
SHIFT
#
Input the value of the operand from –32,768 to 32,767. Use the SET Key to
input a positive number, and use the RESET Key to input a negative number.
B
RESET
Note If an erroneous input is made, press the CLR Key to restore the status
prior to the input. Then enter the correct input.
16. Restore the hexadecimal display.
SHIFT
• Writing a Word Address (DM 0000)
17. Input the final operand and then press the WRITE Key. (It isn't necessary to
input leading zeroes.)
This operation is used to find occurrences of the specified instruction in the pro-
gram and is possible in any mode.
RUN
OK
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or
MONITOR mode.
1. Press the CLR Key to bring up the initial display.
2. Input the address from which the search will begin and press the Down
Arrow Key. It is not necessary to input leading zeroes.
B
A
A
1
0
3. Input the instruction to be found and press the SRCH Key. In this case, the
search is for OUT 01000.
In this case, the next OUT 01000 instruction is at address 200, as shown
below.
B
A
A
A
1
0
0
0
OUT
4. Press the Down Arrow Key to display the instruction's operands or press the
SRCH Key to search for the next occurrence of the instruction.
TR
A
1
0
TR
WRITE
EM
DM
WRITE
MONITOR
PROGRAM
OK
OK
0
SRCH
Section
4-2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cpm2a

Table of Contents