5.1 Generation of Standard Waveform and Numerical Expression Waveform
When the horizontal axis unit is
[Time]
and the cycle is 1 ms, the result of the expression will be
1e-3 = 2*
π
*0.0001591..., a value that barely changes around the 0
°
of sine wave.
If the vertical axis unit is
[User Unit]
and 0 to 1, the result of the expression will be 1 =
2*
π
*0.1591..., waveform of about one/sixth of the former half of sine wave.
To create the simplest expression to obtain one cycle of a sine wave, set the horizontal axis unit to
[User Unit]
and the range between 0 and 6.283185.
The
[Y=]
value in the numerical expression is affected by the vertical axis unit set on the system
setting screen.
“5.6.2 Axis unit setting”
For example, assume that expressions such as
[Y=]
or
[sin(x)]
are used to specify the sine wave.
The value for the sin() function is ±1.
When the vertical axis unit is
[Data]
, the range is between
−
32768 and +32767. Therefore, the result
of this expression is a waveform with a very small amplitude close to 0.
When the vertical axis unit is
[Voltage]
and the amplitude is 20 Vp-p, the range is ±10, so the result
of this expression is 1/10 of a full-scale sine wave.
When the vertical axis unit is
[User Unit]
and the range is between
−
1 and +1, the result of this
expression is a full-scale sine wave.
If the calculation results exceed the
±
full-scale range, the waveform is clipped at the
±
full-scale
range.
d) Operators
The operators in “Table 5-3 Operators” can be used in the constant input section
[Constant]
and
numerical expression input section
[Y=]
.
The order of operator priority ranges from top (highest) to bottom (lowest).
The logical operator returns 1 when the condition is true and 0 when the condition is 1.
Table 5-3 Operators
Operator
Associativity
Remark
( ), function
→
+ - !
←
Monadic operator, ! is a logical operator
^
→
Binary operator, exponential
* /
→
Binary operator, multiplication/division
+ -
→
Binary operator, addition/subtraction
< <= > >=
→
Logical operator, size comparison
== !=
→
Logical operator, Equivalence comparison
&&
→
Logical operator, AND
||
→
Logical operator, OR
IM FG410-61EN
5-7
Summary of Contents for FG410
Page 1: ...User s Manual FG410 FG420 ARBITRARY WAVEFORM EDITOR IM FG410 61EN 3rd Edition ...
Page 3: ......
Page 10: ...1 OVERVIEW 1 1 General 1 2 1 2 Function Tree 1 2 1 3 Conventions 1 5 ARB Edit 1 1 ...
Page 15: ...1 3 Conventions IM FG410 61EN 1 6 ...
Page 44: ...4 7 Copy and Paste IM FG410 61EN 4 15 ...
Page 45: ......
Page 76: ...6 ERROR MESSAGES 6 1 Arbitrary Wave Edit Software Error 6 2 IM FG410 61EN 6 1 ...
Page 80: ......
Page 82: ......
Page 83: ...https www yokogawa com ymi Yokogawa Test Measurement Corporation ...