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