Bit Operand Search - Omron SYSMAC CPM2B Operation Manual

Programmable controller
Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Programming Console Operations
1, 2, 3...

6-2-9 Bit Operand Search

1, 2, 3...
92
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
OUT
1
0
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.
5. The search will continue until an END instruction or the end of Program
Memory is reached. In this case, an END instruction was reached at
address 397.
This operation is used to find occurrences of the specified operand bit 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 operand address. It is not necessary to input leading zeroes.
CONT
SHIFT
#
3. Press the SRCH Key to begin the search.
4. Press the SRCH Key to search for the next occurrence of the operand bit.
5. The search will continue until an END instruction or the end of Program
Memory is reached. In this case, an END instruction was reached.
00100READ
0
TIM
00200SRCH
SRCH
OUT
Indicates the address
of END instruction.
00397SRCH
SRCH
END (001)00.4KW
Indicates the amount used by the user
program in units of 0.1 Kwords.
MONITOR
PROGRAM
OK
OK
00000CONT SRCH
F
5
LD
00123CONT SRCH
SRCH
LD
00255CONT SRCH
SRCH
AND NOT
Indicates the address
of END instruction.
00397CONT SRCH
SRCH
END (001)00.4KW
Indicates the amount used by the user
program in units of 0.1 Kwords.
Section
6-2
001
01000
00005
00005
00005

Advertisement

Table of Contents
loading

Table of Contents