Programming Procedures - Omron CPM1A Operation Manual

Sysmac series programmable controllers
Hide thumbs Also See for CPM1A:
Table of Contents

Advertisement

Programming Example

4-4-3 Programming Procedures

(1) Inputting the Self-holding Bit
1, 2, 3...
(2) Inputting the One-second Timer
1, 2, 3...
The example program will be written to the CPM1A according to the mnemonic
list in 4-4-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-4 Programming Console
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. Input the normally open condition IR 00000.
(It isn't necessary to input leading zeroes.)
2. Input the OR condition IR 20000.
C
A
A
OR
2
0
0
3. Input the normally closed AND condition C000.
(It isn't necessary to input leading zeroes.)
AND
4. Input the OUT instruction IR 20000.
C
A
A
2
0
0
OUT
1. Input the normally open condition IR 20000.
C
A
A
LD
2
0
0
2. Input the normally closed AND condition T002.
(It isn't necessary to input leading zeroes.)
AND
NOT
LD
WRITE
A
A
0
0
WRITE
NOT
CNT
WRITE
A
A
0
0
WRITE
A
A
0
0
WRITE
C
2
TIM
WRITE
Section 4-4
115

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents

Save PDF