Omron C200HS Garage Door Opener User Manual


 
Appendix BProgramming Instructions
447
Code PageFunctionNameMnemonic
89 (@)INT INTERRUPT CONTROL Performs interrupt control, such as masking and un-
masking the interrupt bits for I/O interrupts.
262
--- 7SEG 7-SEGMENT DISPLAY
OUTPUT
Converts 4- or 8-digit BCD data to 7-segment display
format and then outputs the converted data.
301
--- (@)ADBL DOUBLE BINARY ADD Adds two 8-digit binary values (normal or signed data)
and outputs the result to R and R+1.
225
--- AVG AVERAGE VALUE Adds the specified number of hexadecimal words and
computes the mean value. Rounds off to 4 digits past
the decimal point.
235
--- CPS SIGNED BINARY
COMPARE
Compares two 16-bit (4-digit) signed binary values and
outputs the result to the GR, EQ, and LE flags.
178
--- 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.
179
--- (@)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.
231
--- (@)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.
232
--- DSW DIGITAL SWITCH INPUT Inputs 4- or 8-digit BCD data from a digital switch. 304
--- (@)FCS FCS CALCULATE Checks for errors in data transmitted by a Host Link
command.
283
--- FPD FAILURE POINT DETECT Finds errors within an instruction block. 285
--- (@)HEX ASCII-TO-HEXADECIMAL Converts ASCII data to hexadecimal data. 195
--- (@)MAX FIND MAXIMUM Finds the maximum value in specified data area and
outputs that value to another word.
233
--- (@)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.
229
--- (@)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.
230
--- (@)MIN FIND MINIMUM Finds the minimum value in specified data area and
outputs that value to another word.
234
--- MTR MATRIX INPUT Inputs data from an 8 input point × 8 output point ma-
trix and records that data in D to D+3.
313
--- (@)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.
202
--- (@)NEGL DOUBLE 2’S
COMPLEMENT
Converts the eight-digit hexadecimal content of the
source words to its 2’s complement and outputs the
result to R and R+1.
203
--- (@)PID PID CONTROL PID control is performed according to the operand and
PID parameters that are preset.
242
--- (@)RXD RECEIVE Receives data via a communications port. 297
--- (@)SBBL DOUBLE BINARY
SUBTRACT
Subtracts an 8-digit binary value (normal or signed
data) from another and outputs the result to R and
R+1.
227
--- (@)SCL SCALING Performs a scaling conversion on the calculated value. 198
--- (@)SRCH DATA SEARCH Searches the specified range of memory for the speci-
fied data. Outputs the word address(es) of words in
the range that contain the data.
289
--- (@)SUM SUM CALCULATE Computes the sum of the contents of the words in the
specified range of memory.
237
--- (@)TKY TEN KEY INPUT Inputs 8 digits of BCD data from a 10-key keypad. 311
--- (@)TXD TRANSMIT Sends data via a communications port. 299