6-3SectionProgramming Example
111
4. Input the counter 000.
CNT A000013
CNT 000
WRITE 00013 CNT DATA
#0000
5. Input the SV for counter 000 (#0010 = 10 counts).
B1A000013 CNT DATA
#0010
WRITE 00014READ
NOP (000)
(5) Inputting the Flicker Output
1, 2, 3... 1. Input the normally open condition IR 20000.
LD C2A0A0A0A0000014
LD 20000
WRITE 00015READ
NOP (000)
2. Input the normally closed AND condition T001.
(It isn’t necessary to input leading zeroes.)
AND NOT TIM B100015
AND NOT TIM 001
WRITE 00016READ
NOP (000)
3. Input the OUT instruction IR 01000.
(It isn’t necessary to input leading zeroes.)
OUT B1A0A0A000016
OUT 01000
WRITE 00017READ
NOP (000)
Input END(01). (The display shows three digits in the function code, but only the
last two digits are input for CPM2B PCs.)
FUN 00017
FUN (0??)
A0B100017
END (001)
WRITE 00018READ
NOP (000)
6-3-4 Checking the ProgramCheck the program syntax in PROGRAM mode to make sure that the program
has been input correctly.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
CLR 00000
(6) Inputting the END(001)
Instruction