Omron C28K Video Game Controller User Manual


 
105
The values must be four-digit BCD in the range 0000 through 9999. Failure
to enter BCD values will not activate the ERR flag. Always set a lower limit
which is less than the corresponding upper limit. MOV(21) is useful in setting
limits. The following ladder diagram shows the use of MOV(21) for setting
limits.
1813 (normally ON)
0002 (start input)
MOV(21)
#0200
DM 00
MOV(21)
#1500
DM 01
MOV(21)
#0600
DM 02
MOV(21)
#2000
DM 03
RDM(60) 46
05
Transfers
preset value
to DM 00 to
03.
Corresponding
result word is 05
0000 LD 1813
0001 MOV(21)
# 0200
DM 00
0002 MOV(21)
# 1500
DM 01
0003 MOV(21)
# 0600
DM 02
0004 MOV(21)
# 2000
DM 03
0005 LD 0002
0006 RDM(60) 46
05
Address Instruction Operands Address Instruction Operands
Counts
inputs on
IR 1805.
Timer and Counter Instructions Section 5-11