28
Comparison with the CPM1A and CPM2A Section 1-5
Differences in Instruction Sets
Instructions added to the
CPM2C
Instructions with Changed Specifications
Mnemonic Name
TXD(48) TRANSMIT
RXD(47) RECEIVE
SCL(66) SCALING
SCL2(−−) SIGNED BINARY TO BCD SCALING
SCL3(−−) BCD TO SIGNED BINARY SCALING
SRCH(−−) DATA SEARCH
MAX(−−) FIND MAXIMUM
MIN(−−) FIND MINIMUM
SUM(−−) SUM CALCULATION
FCS(−−) FCS CALCULATE
HEX(−−) ASCII-TO-HEXADECIMAL
AVG(−−) AVERAGE VALUE
PWM(−−) PULSE WITH VARIABLE DUTY RATIO
PID(−−) PID CONTROL
ZCP(−−) AREA RANGE COMPARE
ZCPL(−−) DOUBLE AREA RANGE COMPARE
NEG(−−) 2’S COMPLEMENT
ACC(−−) ACCELERATION Control
STUP(−−) CHANGE RS-232C SETUP
SYNC(−−) SYNCHRONIZED PULSE CONTROL
BINL(58) DOUBLE BCD TO DOUBLE BINARY
BCDL(59) Double binary to double bcd
TMHH(−−) VERY HIGH-SPEED TIMER
TIML(−−) LONG TIMER
SEC(−−) HOURS-TO-SECONDS
HMS(−−) SECONDS-TO-HOURS
Mnemonic Name CPM2C CPM1A
INI(61) MODE CONTROL Supports the interrupt input (counter mode) PV
change operation.
Supports the pulse output PV change operation.
Supports the pulse synchronization control stop
operation.
Does not support these
operations.
PRV(62) HIGH-SPEED
COUNTER PV READ
Supports the interrupt input (counter mode) PV read
operation.
Supports the pulse output PV read operation.
Does not support these
operations.
CTBL(63) COMPARISON TABLE
LOAD
The count is compared with all of the target values in
the target value comparison table.
The count is compared
with each target value in
the order that they
appear in the target value
comparison table.
PULS(65) SET PULSES Supports absolute pulse specification, but the coordi-
nate system must be set to absolute coordinates.
Does not support abso-
lute pulse specification.
INT(89) Interrupt control Supports a count-up interrupt for incrementing
counters.
Does not support this
interrupt function.