EasyManuals Logo
Home>Omron>Controller>CPM2C

Omron CPM2C User Manual

Omron CPM2C
325 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 #210 background imageLoading...
Page #210 background image
187
Programming Example Section 4-3
4-3-3 Programming Procedures
The example program will be written to the CPM2C according to the mne-
monic list in
4-3-2 Example Program. The procedure is performed beginning
with the initial display. (Clear the memory before entering a new program.)
Note If an error occurs while inputting the program, refer to
5-3 Programming Con-
sole Operation Errors
for details on correcting the error. Refer to the relevant
Support Software Operation Manual for details on errors that appear when
operating the SSS or SYSMAC-CPT Support Software.
(1) Inputting the Self-holding Bit
1,2,3... 1. Input the normally open condition IR 00000.
(It isn’t necessary to input leading zeroes.)
2. Input the OR condition IR 20000.
3. Input the normally closed AND condition C000.
(It isn’t necessary to input leading zeroes.)
4. Input the OUT instruction IR 20000.
(2) Inputting the One-second Timer
1,2,3... 1. Input the normally open condition IR 20000.
00014 LD 20000 (5) Flicker output (10 counts)
00015 AND NOT TIM 001
00016 OUT 01000
00017 END (01) --- (6) END(01) instruction
Address Instruction Data Programming example
procedures in
4-3-3 Programming
Procedures
LD

LD 00000
WRITE

1READ
NOP (000)
OR
C
2
A
0
A
0
A
0
A
0

1
OR 20000
WRITE

2READ
NOP (000)
AND
NOT CNT

2
AND NOT CNT 000
WRITE

3READ
NOP (000)
OUT
C
2
A
0
A
0
A
0
A
0

3
OUT 20000
WRITE

4READ
NOP (000)
LD
C
2
A
0
A
0
A
0
A
0

4
LD 20000
WRITE

5READ
NOP (000)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CPM2C Specifications

General IconGeneral
BrandOmron
ModelCPM2C
CategoryController
LanguageEnglish

Related product manuals