
107
Function Input Mode
INTG
Function
Calculates the integral.
Format
INTG (V)
Example
V=INTG(V)/2
Explanation This function integrates all data in the area containing the instruction and stores the result as
new data. It can only be used in a V instruction (i.e., an instruction starting with “V=”) outside
a FOR loop, and only the four basic arithmetic functions can be performed simultaneously. In
addition, PERIOD instructions, FOR instructions, NEXT instructions, and V instructions other
than differentials and integrals cannot be performed from the line containing this instruction
to the next AREA instruction or END instruction. A trapezoidal formula is used to calculate
integrals. Data values greater than 10 V generated with this function are converted to 10 V,
while data values less than -10 V generated with this function are converted to -10 V.
INV
Function
Calculates the result of reversing the sign.
Format
INV (<expression>)
Example
A=INV(B)
Explanation This function calculates the result of reversing the sign of <expression>.
LOG
Function
Calculates the natural logarithm value.
Format
LOG (<expression>)
Example
L=LOG(35/9)
Explanation This function calculates the natural logarithm (logarithm with a base of e) of <expression>,
which must be speci ed as a positive value.
NRND
Functions
Calculates a random number.
Format
NRND (<expression>)
Example
R=RND(2)
Explanation This function calculates a pseudo-random number that indicates a standard normal distribution
(with an average of 0 and a variance of 1) that is greater than or equal to -1 and less than +1.
The <expression> can be specified as an integer that is greater than or equal to 0 and less
than or equal to 32767. This value can be used to change sequence of the random numbers
obtained from the function.
RMPD
Function
Calculates the value of a ramp-down wave (saw-tooth wave).
Format
RMPD (<expression>)
Example
X=RMPD(PI/8)
Explanation This function calculates the value of a ramp-down wave (saw-tooth wave) for <expression>,
which is speci ed in radians as a value from -214,748 to -214,747.
13
W
aveform Maker
www.
.com
1.800.561.8187