Programming Procedures - Omron CPM2C-S100C Operation Manual

Sysmac cpm2c-s series
Table of Contents

Advertisement

Programming Example
8-3-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 CPM2C-S according to the mne-
monic list in 8-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 9-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. Input the normally open condition IR 00000.
(It isn't necessary to input leading zeroes.)
2. Input the OR condition IR 20000.
OR
C
A
A
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
OUT
2
0
0
1. Input the normally open condition IR 20000.
C
A
A
LD
2
0
0

LD
LD
1READ
NOP (000)
WRITE
1
OR
A
A
0
0
2READ
NOP (000)
WRITE
2
AND NOT CNT 000
NOT
CNT
3READ
NOP (000)
WRITE
3
A
A
OUT
0
0
4READ
NOP (000)
WRITE
4
A
A
LD
0
0
5READ
NOP (000)
WRITE
Section 8-3
00000
20000
20000
20000
195

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpm2c-s110cCpm2c-s100c-drtCpm2c-s110c-drt

Table of Contents