EasyManua.ls Logo

Omron CPM2A - 11-2005 User Manual

Omron CPM2A - 11-2005
187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #121 background imageLoading...
Page #121 background image
4-2SectionProgramming Console Operations
103
Writing Hexadecimal, BCD Constant
10. Input the first operand.
The operands of MOV (21) are normally word addresses, but a constant can
be input by pressing the CONT/# Key first. When the CONT/# Key is
pressed, the display will change to “#0000,” indicating that a constant can be
entered.
CONT
#
B
1
A
0
A
0
00202 MOV DATA A
#0100
Press the WRITE Key to write the instruction to Program Memory. The input
display for the second operand will appear.
WRITE
00202 MOV DATA B
000
Note The operands of MOV(21) can be word addresses, so the CONT/#
Key must be pressed to input a constant.
Writing a Word Address
11. Input the second operand.
*EM
LR
B
1
A
0
00202 MOV DATA B
LR 10
Press the WRITE Key to write the instruction to Program Memory. The next
program address will be displayed.
WRITE
00203READ
NOP (000)
Note When the default display value is “000”, a word address can be input
immediately without pressing the Shift and CH/# Keys.
12. Input the next instruction.
FUN
F
5
A
0
00203
ADB (050)
Press the WRITE Key to write the instruction to Program Memory.
WRITE
00203 ADB DATA A
000
Writing an Unsigned Decimal Number
13. The first operand is input as an unsigned integer.
CONT
#
SHIFT
TR
NOT
00203 ADB DATA A
#00000
Input the value of the operand from 0 to 65535.
C
2
F
5 6
00203 ADB DATA A
#00256
Note If an erroneous input is made, press the CLR Key to restore the status
prior to the input. Then enter the correct input.
14. Restore the hexadecimal display.
SHIFT TR
00203 ADB DATA A
#0100
Note If an input is made outside of the permissible range, a buzzer will
sound and the hexadecimal display will not be displayed.
WRITE
00203 ADB DATA B
000

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron CPM2A - 11-2005 and is the answer not in the manual?

Omron CPM2A - 11-2005 Specifications

General IconGeneral
CategoryController
ManufacturerOmron
Output TypeRelay
Input Voltage24 VDC
Supply Voltage100 to 240 VAC
Timer/Counter256
Communication PortRS-232
Operating Temperature0 to 55°C
Humidity10% to 90% RH (with no condensation)
Program Capacity2048 Steps

Summary

SECTION 1 Introduction

CPM2A Features and Functions

Describes the features and functions of the CPM2A PCs, covering basic and advanced capabilities.

SECTION 2 Unit Specifications and Components

Specifications

Presents detailed technical specifications for CPM2A CPU Units and expansion units.

SECTION 3 Installation and Wiring

Installing the CPM2A

Provides step-by-step instructions for physically installing the CPM2A CPU Unit and expansion units.

Wiring and Connections

Details the procedures for correctly wiring power supplies, I/O devices, and communication devices.

SECTION 4 Using a Programming Console

Programming Console Operations

Explains various operations and functions available when using a programming console with the CPM2A.

SECTION 5 Test Runs and Error Processing

Initial System Checks and Test Run Procedure

Outlines the procedures for initial system checks and performing test runs of the CPM2A.

Troubleshooting Flowcharts

Provides flowcharts to help diagnose and resolve operational errors and issues.

Related product manuals