182
Programming Example Section 7-4
7-4-4 Programming Procedures
The example program will be written to the CQM1H according to the mne-
monic list in 7-4-3 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 with the Programming Console,
refer to the table on page 180. Refer to the relevant Support Software Opera-
tion Manual for details on errors that appear when operating the SSS or SYS-
MAC-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 02000.
3. Input the normally closed AND condition CNT 000.
(It isn’t necessary to input leading zeroes.)
4. Input the OUT instruction IR 02000.
(2) Inputting the One-second Timer
1,2,3... 1. Input the normally open condition IR 20000.
00014 LD 02000 (5) Flicker output (10 counts)
00015 AND NOT T 001
00016 OUT 10000
00017 END (01) --- (6) END(01) instruction
Address Instruction Data Programming example
procedures in 7-4-4
Programming Procedures
LD
A
0
LD 00000
WRITE
1READ
NOP (000)
C
2
A
0
A
0
A
0
1
OR 02000
WRITE
2READ
NOP (000)
AND
NOT
CNT
A
0
2
AND NOT CNT 000
WRITE
3READ
NOP (000)
NOT
C
2
A
0
A
0
A
0
3
OUT 02000
WRITE
4READ
NOP (000)
LD
C
2
A
0
A
0
A
0
4
LD 02000