Omron C200HE Computer Hardware User Manual


 
Appendix BProgramming Instructions
521
Code PageFunctionNameMnemonic
--- 7SEG 7-SEGMENT DISPLAY
OUTPUT
Converts 4- or 8-digit BCD data to 7-segment display
format and then outputs the converted data.
336
--- (@)ADBL DOUBLE BINARY ADD Adds two 8-digit binary values (normal or signed data)
and outputs the result to R and R+1.
249
--- AVG AVERAGE VALUE Adds the specified number of hexadecimal words and
computes the mean value. Rounds off to 4 digits past
the decimal point.
259
--- (@)BXF2 EM BANK TRANSFER Moves content of several consecutive source words to
consecutive destination words. Words in the current EM
bank can be specified for the source or destination.
191
--- CMCR PCMCIA CARD MACRO Performs macros to write files, read files, compare files
to memory, search files, and other operations for
PCMCIA Card Interface Units.
353
--- CPS SIGNED BINARY
COMPARE
Compares two 16-bit (4-digit) signed binary values and
outputs the result to the GR, EQ, and LE flags.
202
--- CPSL DOUBLE SIGNED BINARY
COMPARE
Compares two 32-bit (8-digit) signed binary values and
outputs the result to the GR, EQ, and LE flags.
203
--- (@)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.
255
--- (@)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.
256
--- DSW DIGITAL SWITCH INPUT Inputs 4- or 8-digit BCD data from a digital switch. 339
--- (@)EMBC SELECT EM BANK Changes the current EM bank to the specified bank
number.
317
--- (@)FCS FCS CALCULATE Checks for errors in data transmitted by a Host Link
command.
308
--- FPD FAILURE POINT DETECT Finds errors within an instruction block. 310
--- (@)HEX ASCII-TO-HEXADECIMAL Converts ASCII data to hexadecimal data. 219
--- (@)IEMS INDIRECT EM
ADDRESSING
Changes the destination of indirect DM addressing
(DM) to DM or the specified EM bank. This instruction
can be used to change the current EM bank.
316
--- (@)IORD SPECIAL I/O UNIT READ Transfers data from the specified Special I/O Units
memory to words in the PC.
350
--- (@)IOWR SPECIAL I/O UNIT WRITE Transfers data from words in the PC to the specified
Special I/O Units memory.
351
--- (@)MAX FIND MAXIMUM Finds the maximum value in specified data area and
outputs that value to another word.
257
--- (@)MBS SIGNED BINARY
MULTIPLY
Multiplies the signed binary content of two words and
outputs the 8-digit signed binary result to R+1 and R.
253
--- (@)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.
254
--- (@)MIN FIND MINIMUM Finds the minimum value in specified data area and
outputs that value to another word.
258
--- MTR MATRIX INPUT Inputs data from an 8 input point × 8 output point matrix
and records that data in D to D+3.
348
--- (@)NEG 2S COMPLEMENT Converts the four-digit hexadecimal content of the
source word to its 2s complement and outputs the re-
sult to R.
226
--- (@)NEGL DOUBLE 2S
COMPLEMENT
Converts the eight-digit hexadecimal content of the
source words to its 2s complement and outputs the re-
sult to R and R+1.
227
--- (@)PID PID CONTROL PID control is performed according to the operand and
PID parameters that are preset. (The only CQM1 model
that can use PID(––) is the CPU4j.)
266
--- (@)PMCR PROTOCOL MACRO Calls and executes the specified communications se-
quence (protocol) that has been registered in the Com-
munications Board.
335