EasyManua.ls Logo

Omron CQM1H - PROGRAM - Page 542

Omron CQM1H - PROGRAM
602 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
517
Programming Instructions Appendix A
--- (@)ADBL DOUBLE BINARY ADD Adds two 8-digit binary values (normal or signed data) and out-
puts the result to R and R+1.
332
--- (@)APR ARITHMETIC PROCESS Performs sine, cosine, or linear approximation calculations. 344
--- (@)ASIN ARC SINE Calculates the arc sine of a 32-bit floating-point number. 365
--- (@)ATAN ARC TANGENT Calculates the arc tangent of a 32-bit floating-point number. 367
--- AVG AVERAGE VALUE Adds the specified number of hexadecimal words and com-
putes the mean value. Rounds off to 4 digits past the decimal
point.
341
--- (@)CMND DELIVER COMMAND Transmits a FINS command to the specified node(s) on the
network and receives the response if necessary.
412
--- (@)COLM LINE TO COLUMN Copies the 16 bits from the specified word to a bit column of 16
consecutive words.
314
--- (@)COS COSINE Calculates the cosine of an angle (in radians) expressed as a
32-bit floating-point value.
363
--- CPS SIGNED BINARY COM-
PAR E
Compares two 16-bit (4-digit) signed binary values and outputs
the result to the GR, EQ, and LE flags.
286
--- 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.
287
--- (@)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.
336
--- (@)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.
337
--- (@)DEG RADIANS TO DEGREES Converts a 32-bit floating-point number from radians to
degrees.
361
--- (@)EXP EXPONENT Calculates the natural (base e) exponential of a 32-bit floating-
point number.
370
--- (@)FCS FCS CALCULATE Checks for errors in data transmitted by a Host Link command. 385
--- (@)FIX FLOATING TO 16-BIT Converts the integer portion of a 32-bit floating-point number to
16-bit signed binary data.
352
--- (@)FIXL FLOATING TO 32-BIT Converts the integer portion of a 32-bit floating-point number to
32-bit signed binary data.
353
--- (@)FLT 16-BIT TO FLOATING Converts a 16-bit signed binary value to 32-bit floating-point
data.
354
--- (@)FLTL 32-BIT TO FLOATING Converts a 32-bit signed binary value to 32-bit floating-point
data.
355
--- FPD FAILURE POINT DETECT Finds errors within an instruction block. 387
--- (@)HEX ASCII-TO-HEXADECIMAL Converts ASCII data to hexadecimal data. 303
--- HKY HEXADECIMAL KEY
INPUT
Inputs up to 8 digits of hexadecimal data from a 16-key key-
pad.
431
--- (@)HMS SECONDS TO HOURS Converts second data to hour and minute data. 312
--- (@)LINE LINE Copies a bit column from 16 consecutive words to the speci-
fied word.
313
--- (@)LOG LOGARITHM Calculates the natural (base e) logarithm of a 32-bit floating-
point number.
371
--- (@)MAX FIND MAXIMUM Finds the maximum value in specified data area and outputs
that value to another word.
338
--- (@)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.
334
--- (@)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.
335
--- (@)MIN FIND MINIMUM Finds the minimum value in specified data area and outputs
that value to another word.
340
--- (@)NEG 2’S COMPLEMENT Converts the four-digit hexadecimal content of the source word
to its 2s complement and outputs the result to R.
315
Code Mnemonic Name Function Page

Table of Contents

Related product manuals