EasyManua.ls Logo

Omron CQM1H - PROGRAM

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...
518
Programming Instructions Appendix A
--- (@)NEGL DOUBLE 2’S COMPLE-
MENT
Converts the eight-digit hexadecimal content of the source
words to its 2’s complement and outputs the result to R and
R+1.
316
--- PID PID CONTROL Performs PID control based on the specified parameters. 405
--- (@)PLS2 PULSE OUTPUT Accelerates pulse output from 0 to the target frequency at a
specified rate and decelerates at the same rate.
398
--- (@)PMCR PROTOCOL MACRO Executes the specified communications sequence (protocol
data) registered in the Serial Communications Board.
422
--- (@)PWM PULSE WITH VARIABLE
DUTY RATIO
Outputs pulses with the specified duty ratio (0% to 99%) from
port 1 or 2.
402
--- (@)RAD DEGREES TO RADIANS Converts a 32-bit floating-point number from degrees to radi-
ans
360
--- (@)SBBL DOUBLE BINARY SUB-
TRACT
Subtracts an 8-digit binary value (normal or signed data) from
another and outputs the result to R and R+1.
333
--- (@)SCL2 SIGNED BINARY TO BCD
SCALING
Linearly converts a 4-digit signed hexadecimal value to a 4-
digit BCD value.
307
--- (@)SCL3 BCD TO SIGNED BINARY
SCALING
Linearly converts a 4-digit BCD value to a 4-digit signed hexa-
decimal value.
308
--- (@)SEC HOURS TO SECONDS Converts hour and minute data to second data. 311
--- (@)SIN SINE Calculates the sine of an angle (in radians) expressed as a 32-
bit floating-point value.
362
--- (@)SQRT SQUARE ROOT Calculates the square root of a 32-bit floating-point number. 369
--- (@)SRCH DATA SEARCH Searches the specified range of memory for the specified data.
Outputs the word address(es) of words in the range that con-
tain the data.
403
--- (@)STUP CHANGE SERIAL PORT
SETUP
Changes the communications parameters in the PC Setup for
a specified port.
419
--- (@)SUM SUM CALCULATE Computes the sum of the contents of the words in the specified
range of memory.
342
--- (@)TAN TANGENT Calculates the tangent of an angle (in radians) expressed as a
32-bit floating-point value.
364
--- (@)TTIM TOTALIZING TIMER Creates a timer that increments the PV in 0.1-s units to time
between 0.1 and 999.9 s.
239
--- (@)XFRB TRANSFER BITS Copies the status of up to 255 specified source bits to the
specified destination bits.
279
--- ZCP AREA RANGE COMPARE Compares a word to a range defined by lower and upper limits
and outputs the result to the GR, EQ, and LE flags.
289
--- ZCPL DOUBLE AREA RANGE
COMPARE
Compares an 8-digit value to a range defined by lower and
upper limits and outputs the result to the GR, EQ, and LE
flags.
290
--- (@)+F FLOATING-POINT ADD Adds two 32-bit floating-point numbers. 355
--- (@)–F FLOATING-POINT SUB-
TRACT
Subtracts one 32-bit floating-point number from another. 357
--- (@)*F FLOATING-POINT MULTI-
PLY
Multiplies two 32-bit floating-point numbers. 358
--- (@)/F FLOATING-POINT DIVIDE Divides one 32-bit floating-point number by another. 359
Code Mnemonic Name Function Page

Table of Contents

Related product manuals