Omron CPM2B Video Game Controller User Manual


 
5-3SectionExpansion Instructions
76
5-3 Expansion Instructions
A set of expansion instructions is provided to aid in special programming needs.
Function codes can be assigned to up to 18 of the expansion instructions to en-
able using them in programs. This allows the user to pick the instructions needed
by each program to more effectively use the function codes required to input
instructions.
The mnemonics of expansion instructions are followed by (––) as the function
code to indicate that they must be assigned function codes by the user in the
instructions table before they can be used in programming (unless they are used
under their default settings).
Refer to the 6-2-5 Assigning Expansion Instruction Function Codes for a de-
scription of the Programming Console operations used to change expansion in-
struction allocations.
Refer to the SYSMAC Support Software Operation Manuals: C-series PCs
(W248), the SYSMAC-CPT Support Software User Manual (W333), or the
WS02-CXPC1-E CX-Programmer User Manual (W361) for a description of the
corresponding Support Software operations.
The following 18 function codes can be used for expansion instructions:
17, 18, 19, 47, 48, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 87, 88, and 89
The 35 expansion instructions that can be used are listed below, along with the
default function codes that are assigned when the CPM2B is shipped.
Mnemonic Code
ASFT (@) 17
(open) 18
(open) 19
RXD (@) 47
TXD (@) 48
CMPL 60
INI (@) 61
PRV (@) 62
CTBL (@) 63
SPED (@) 64
PULS (@) 65
SCL (@) 66
BCNT (@) 67
Mnemonic Code
BCMP (@) 68
STIM (@) 69
(open) 87
(open) 88
INT (@) 89
ACC (@) ---
AVG ---
FCS (@) ---
HEX (@) ---
HMS (@) ---
MAX (@) ---
MIN (@) ---
NEG (@) ---
Mnemonic Code
PID ---
PWM (@) ---
SCL2 (@) ---
SCL3 (@) ---
SEC (@) ---
SRCH (@) ---
STUP (@) ---
SUM (@) ---
SYNC (@) ---
TIML ---
TMHH ---
ZCP ---
ZCPL ---
Function Codes for
Expansion Instructions