455
Programming Instructions Appendix A
--- (@)ACC ACCELERATION CON-
TROL
Together with PULS(––), ACC(––) controls the
acceleration and/or deceleration of pulses output
from port 1 or 2.
CQM1-
CPU43-
EV1
342
--- (@)ADBL DOUBLE BINARY ADD Adds two 8-digit binary values (normal or signed
data) and outputs the result to R and R+1.
CQM1 300
--- (@)APR ARITHMETIC PROCESS Performs sine, cosine, or linear approximation
calculations.
CQM1 313
--- AVG AVERAGE VALUE Adds the specified number of hexadecimal words
and computes the mean value. Rounds off to 4
digits past the decimal point.
CQM1 309
--- (@)COLM LINE TO COLUMN Copies the 16 bits from the specified word to a bit
column of 16 consecutive words.
CQM1 281
--- CPS SIGNED BINARY COM-
PARE
Compares two 16-bit (4-digit) signed binary val-
ues and outputs the result to the GR, EQ, and LE
flags.
CQM1 254
--- CPSL DOUBLE SIGNED
BINARY COMPARE
Compares two 32-bit (8-digit) signed binary val-
ues and outputs the result to the GR, EQ, and LE
flags.
CQM1 255
--- (@)DBS SIGNED BINARY DIVIDE Divides one 16-bit signed binary value by another
and outputs the 32-bit signed binary result to R+1
and R.
CQM1 305
--- (@)DBSL DOUBLE SIGNED
BINARY DIVIDE
Divides one 32-bit signed binary value by another
and outputs the 64-bit signed binary result to R+3
to R.
CQM1 306
--- (@)FCS FCS CALCULATE Checks for errors in data transmitted by a Host
Link command.
CQM1/
SRM1
328
--- FPD FAILURE POINT DETECT Finds errors within an instruction block. CQM1 330
--- (@)HEX ASCII-TO-HEXADECIMAL Converts ASCII data to hexadecimal data. CQM1/
SRM1
269
--- HKY HEXADECIMAL KEY
INPUT
Inputs up to 8 digits of hexadecimal data from a
16-key keypad.
CQM1 355
--- (@)HMS SECONDS TO HOURS Converts second data to hour and minute data. CQM1 279
--- (@)LINE LINE Copies a bit column from 16 consecutive words to
the specified word.
CQM1 280
--- (@)MAX FIND MAXIMUM Finds the maximum value in specified data area
and outputs that value to another word.
CQM1 307
--- (@)MBS SIGNED BINARY MULTI-
PLY
Multiplies the signed binary content of two words
and outputs the 8-digit signed binary result to R+1
and R.
CQM1 303
--- (@)MBSL DOUBLE SIGNED
BINARY MULTIPLY
Multiplies two 32-bit (8-digit) signed binary values
and outputs the 16-digit signed binary result to
R+3 through R.
CQM1 304
--- (@)MIN FIND MINIMUM Finds the minimum value in specified data area
and outputs that value to another word.
CQM1 308
--- (@)NEG 2’S COMPLEMENT Converts the four-digit hexadecimal content of the
source word to its 2’s complement and outputs
the result to R.
CQM1 282
--- (@)NEGL DOUBLE 2’S COMPLE-
MENT
Converts the eight-digit hexadecimal content of
the source words to its 2’s complement and out-
puts the result to R and R+1.
CQM1 283
--- PID PID CONTROL Performs PID control based on the specified
parameters.
CQM1-
CPU43-
EV1
347
--- (@)PLS2 PULSE OUTPUT Accelerates pulse output from 0 to the target fre-
quency at a specified rate and decelerates at the
same rate.
CQM1-
CPU4@-
EV1
340
Code Mnemonic Name Function CPU Units Page