Human Machine Interface User Manual
Table Of Contents
- Cover
- Preface
- Table of Contents
- Chapter 1 Introduction
- Chapter 2 Creating and Editing Screens
- 2.1 ScrEdit (Screen Editor) Setup
- 2.2 How to Start ScrEdit
- 2.3 Menu Bar and Toolbar (File)
- 2.4 Menu Bar and Toolbar (Edit)
- 2.5 Menu Bar and Toolbar (View)
- 2.6 Menu Bar and Toolbar (Element)
- 2.7 Menu Bar and Toolbar (Screen)
- 2.8 Menu Bar and Toolbar (Tools)
- 2.9 Menu Bar and Toolbar (Options)
- 2.10 Menu Bar and Toolbar (Window)
- 2.11 Menu Bar and Toolbar (Help)
- Chapter 3 Element Function
- Chapter 4 Macro Function
- Chapter 5 Control Block and Status Block
- Chapter 6 Internal Memory
- Chapter 7 Example Explanation
- Appendix A Specifications and Installation
- Appendix B USB Flash Drive Function
- Appendix C Main Menu Operation of HMI System
![](/manual/delta-electronics/human-machine-interface-dop-ae-series/human-machine-interface-user-manual/images/img-230.png)
Chapter 4 Macro Function|ScrEdit Software User Manual
Revision Apr. 30th, 2007, 2007PDD23000002 4-21
$2 = F100H
$4 = NOT $2
Store the result of $4 in 0EFFH
<< Operand
Bit Shift-left operation
Equation: V1 = V2 << V3
Shift V2 (WORD/DWORD) data to left (number of bit is V3). The result of this calculation is
stored in V1.
Example:
$2 = F100H
$1 = $2 << 4
$2 shift-left 4 bits and the result (1000H) is stored in $1.
$2 = 11111000
$1 = $2 << 3
$2 shift-left 3 bits and the result (11111000000) is stored in $1.
>> Operand
Bit Shift-right operation
Equation: V1 = V2 >> V3
Shift V2 (WORD/DWORD) data to right (number of bit is V3). The result of this calculation is
stored in V1. If the shift number of bit is more than the address itself, the excess part will be
ignored.
Example:
$2 = F100H
$1 = $2 >> 4
$2 shift-right 4 bits and the result (0F10H) is stored in $1.
$2 = 00011111
$1 = $2 >> 3
$2 shift-right 3 bits and the result (00000011) is stored in $1.
Data Transfer
There are five commands for data transfer, including =, BMOV, FILL, CHR and FMOV. Please refer to
following table 4.3.3 and examples below for more information.
Command Equation: Description Remark
=
V1 = V2
Transfer data
V1 only can be PLC address
or internal memory.