Instruction Search - Omron CPM2C-S100C Operation Manual

Sysmac cpm2c-s series
Table of Contents

Advertisement

Programming Console Operations

8-2-10 Instruction Search

1,2,3...
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.
RESET
Note If an erroneous input is made, press the CLR Key to restore the sta-
tus prior to the input. Then enter the correct input.
16. Restore the hexadecimal display.
• 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
program 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 Ar-
row Key. It is not necessary to input leading zeroes.
B
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
OUT
1
0
0
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.
00203 ADB DATA B
B
A
B
1
1
0
 ! ),* ,)6) *
SHIFT
TR
 ! ),* ,)6) +
WRITE
00203 ADB DATA C
EM
DM
00204READ
NOP (000)
WRITE
MONITOR
OK
OK
00100READ
A
TIM
0
00200SRCH
A
OUT
0
SRCH
Section 8-2
#-00010
...$

DM 0000
PROGRAM
001
01000
175

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM2C-S100C and is the answer not in the manual?

This manual is also suitable for:

Cpm2c-s110cCpm2c-s100c-drtCpm2c-s110c-drt

Table of Contents