Omron C60K Video Game Controller User Manual


 
102
Here is the program example for the application.
MOV(21)
#0905
DM 32
MOV(21)
#1150
DM 33
MOV(21)
#1450
DM 34
MOV(21)
#1550
DM 35
1815
1807
HDM(61) 47
HR 0
HR 000 0011 0006 0005
0100
0005 0003 0100 0004
0102
0004 0102 0003
0103
1000 0005 0006
0101
DIFU(13) 1000
0005
0002
1813 (normally ON)
HR 001
0102
0103
0003
0101
0011
0100
Transfer limit values
Resets counter
upon power
application or at
stopper
operation
Counts pulses
from encoder
only when PH1
is ON
Normally counts 4
packages. When
input 0011 is ON,
counts 6 packages.
Pushes stopper up
at count-up to stop
following packages
Pushes
packages
out
Returns pusher
to original
position after
operation
Pushes stopper
down and
continues
operating when
pusher returns
to original
position
Timer and Counter Instructions Section 5-11