Inputting Special Instructions - Omron CJ - 10-2005 Manual

Programming consoles
Table of Contents

Advertisement

Inputting Instructions
4-1-4

Inputting Special Instructions

Inputting Standard Special Instructions
Key Sequence
FUN
Operation Example
1,2,3...
62
• In BCD mode, indirect DM/EM addresses can be specified from D00000
to D09999 and E00000 to E09999. Use binary mode to specify D10000 to
D32767 and E10000 to E32767.
• If 8000 to FFFF Hex are specified as indirect DM addresses in binary
mode, E00000 to E32767 in bank 0 of the EM Area will be designated.
• If 8000 to FFFF Hex are specified as indirect EM addresses in binary
mode, E00000 to E32767 in the bank following the one specified will be
designated.
RUN
No
Special instructions can be input when the CPU Unit is in PROGRAM mode.
Function code
The following example describes how to input the MOV(021) instruction.
1. Press the FUN Key, enter the function code, and then press the Down Key.
All 3 digits of the function code must be input. In this example, the function
code for MOV is 021.
0
2
or
2. Input the first operand (SV A), and press the Down Key. In this example,
constant #0100 (hexadecimal) is input.
CONT
0
1
#
or
3. Input the next operand (SV B), and press the WRITE Key. In this example,
CIO 0010 is input.
CH
1
SHIFT
*DM
• The function codes for some of the instructions, such as KEEP and
STEP (which have operands), will not be displayed.
MONITOR
PROGRAM
No
OK
Operand
000202
FUN
FUN (???)
000202
1
MOV(021)
000202 MOV
WRITE
SV A
000202 MOV
0
SV A
000202 MOV
WRITE
SV B
000202 MOV
0
SV B
000203 CT00
WRITE
END(001)
Section 4-1
Operand
WRITE
0000
#0100
0000
0010

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents