
Appendix G
Using the C200H-NC112 with CS1-series PCs
170
Program
Turns ON the valid
initial positioning
number bit when b
or c turns ON.
Start switch
200501
(word n+5, bit 01)
200000
(word n, bit 00)
a
c
b
200000
(word n, bit 00)
a
c
b
c
c
b
#0 assigned
switch
DIFU (013)
MOV (021)
#0010
2001
MOV (021)
#0005
2001
Designates #0
as the initial
positioning
action.
#5 assigned
switch
200000
Word n, bit 00
(START com-
mand bit)
Bank End flag
DIFU (013)
a
Turns ON the START
command bit (word n,
bit 00) for one cycle with
the rising edge of the
start switch.
START
command bit
b
If the #0 assigned switch
is ON, #0000 is set as the
initial positioning action
(word n+1), and at the
same time, the self-hold-
ing bit (b) is turned ON.
Word n+1
(Initial positioning
action number)
START
command bit
Designates #5
as the initial
positioning
action.
If the #5 assigned switch
is ON, #0005 is set as the
initial positioning action
(word n+1), and at the
same time, the self-hold-
ing bit (b) is turned ON.
Word n+1
(Initial positioning
action number)
DIFU (013)
200001
Word n, bit 01
(Valid initial
positioning
number bit)