23 Macro
23-25
23
Comparison
IF (F0 (condition) F1) (W) . . . . . . . . . . . . . . . . . . . . . . . WORD
IF (F0 (condition) F1) (D) . . . . . . . . . . . . . . . . . . . . . . . DWORD
IF (condition 2) (F0) (B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . BIT
(1)
ELSE
(2)
ENDIF
Function: Conditional branch
The above-mentioned macro commands for data in WORD and DWORD formats are used to compare
[F0] and [F1], and to execute processing (1) if true, or (2) if false.
The macro command for data in BIT format is used to compare [F0] and condition 2, and to execute
processing (1) if true, or (2) if false.
Processing of “ELSE” and (2) can be omitted.
Available memory
: Setting enabled (indirect designation disabled)
: Setting enabled (indirect designation enabled)
Range
Conditions 1
Conditions 2
Symbol
Contents
Symbol
Contents
==
Equal
ZERO
0
!=
Different
NON ZERO
Other than 0
<
Less than
>
Greater than
<=
Less than or equal to
>=
Greater than or equal to
Internal Memory
PLC1 - PLC8
Memory
Memory Card
Constant
F0
F1
WORD
DWORD
BIT
F0
-32768 to +32767
(Decimal system with signs)
-2147483648 to +2147483647
(Decimal system with signs)
0, 1
F1
-
Содержание 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...