23 Macro
23-8
F0 = ASIN (F1) (F). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FLOAT
Function: Arcsine
This macro command is used to store an arcsine of the angle (in radians) specified for [F1] in [F0].
Specify values for [F0] and [F1] in the format of decimal floating-point data (FLOAT).
Available memory
: Setting enabled (indirect designation disabled)
: Setting enabled (indirect designation enabled)
Range
Example
• To obtain the value for sin
-1
1;
$u100 = ASIN (1) (F)
The operation result of
“1.570796” (=
π
/2) is stored in
$u100.
Supplementary information
• $s1056 stores the result of macro execution.
*1 An indefinite value is stored in [F0].
*2 When the value specified for [F1] is outside the range from “-1” to “1”, “-1” is stored in [F0].
• To convert the unit of an angle, use the macro command of DEG (page 23-11) or RAD (page
23-12).
Internal Memory
PLC1 - PLC8
Memory
Memory Card
Constant
F0
F1
Value
F0
IEEE 32-bit single precision real number
F1
Code (DEC)
Contents
0
Normal
1
Overflow
*1
2
Underflow
*1
3
Operation execution error
*2
F1+1
F1
F0+1
F0
FLOAT
FLOAT
SIN
-1
The sin
-1
of the trigonometric functions is
expressed in the graph shown below.
2
2
-1
-1
1
1
0
X axis
Y axis
Содержание MONITOUCH V8 SERIES
Страница 1: ...Reference Additional Functions V8series...
Страница 57: ...2 Global Overlap 2 12 Please use this page freely...
Страница 101: ...7 2 Panel Meter Extended 7 18 Please use this page freely...
Страница 123: ...9 2 Acknowledge Function 9 18 Please use this page freely...
Страница 127: ...10 RGB Display touch switch emulation 10 4 Please use this page freely...
Страница 187: ...14 3 Addition of Titles to a CSV File Sampling Data 14 20 Please use this page freely...
Страница 199: ...15 Item Show Hide Function 15 12 Please use this page freely...
Страница 211: ...16 FTP Server 16 12 With Explorer or Internet Explorer To log out close Explorer Click the close button to log out...
Страница 213: ...16 FTP Server 16 14 ls command This command is used to display the names of files and folders...
Страница 221: ...16 FTP Server 16 22 Please use this page freely...
Страница 233: ...17 2 Two Ethernet Ports 17 12 Please use this page freely...
Страница 241: ...18 Network Camera 18 8 5 The Live view window is displayed...
Страница 261: ...18 Network Camera 18 28 Please use this page freely...
Страница 327: ...20 MES Interface Function 20 38 6 The table is created...
Страница 369: ...22 Security Function 22 12 Please use this page freely...
Страница 429: ...24 Tag 24 24 Please use this page freely...
Страница 491: ...26 6 USB FDD Floppy Disk Drive 26 14 Please use this page freely...
Страница 503: ...27 Ladder Transfer via USB or Ethernet 27 12 Please use this page freely...