Chapter 4 Macro FunctionScrEdit Software User Manual

„ICNV

Convert floating point value to integer

Equation: V1= ICNV (V2) (Signed DW)

Convert floating point value or integer in V2 to integer and store in V1.

Example:

$2 = FMOV(100.5) (Signed DW) $0 = ICNV ($2) (Signed DW) The result is $0 = 100

„Comparison

„IF…THEN GOTO LABEL …

Equation: IF expression THEN GOTO LABEL identifier

If the command of expression is true, then it will go to LABEL identifier and perform the program. Please refer to the following table for the command of expression.

 

Command

 

Description

 

Remark

 

V1 == V2

 

V1 is equal to V2

 

 

 

 

 

 

 

 

 

V1 != V2

 

V1 is not equal to V2

 

 

 

 

 

 

 

 

 

V1 > V2

 

V1 is greater than V2

 

 

 

 

 

 

 

 

 

V1 >= V2

 

V1 is greater than or equal to V2

 

 

 

 

 

 

 

 

 

V1 < V2

 

V1 is smaller than V2

 

 

 

 

 

 

 

V1 and V2 should be internal

 

V1<= V2

 

V1 is smaller than or equal to V2

 

 

 

 

memory or constant.

 

 

 

 

 

 

V1 && V2 == 0

 

Perform AND command on V1 andV2 and

 

 

 

 

 

 

 

the result of AND operation is equal to 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

V1 && V2 != 0

 

Perform AND command on V1 andV2 and

 

 

 

 

the result of AND operation is not equal to 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

V1== ON

 

V1 is ON

 

 

 

 

 

 

 

 

 

V1== OFF

 

V1 is OFF

 

 

 

 

 

 

 

 

Table 4.3.5 Comparison command table

Example:

When $2 is greater than or equal to 10, it will go to LABEL 1 and continue to perform the program. IF $2 >= 10 THEN GOTO LABEL 1

…..

LABEL 1 …..

Equation: IFB V1 == {ON OFF} THEN GOTO LABEL identifier

If V1 is ON or OFF, it will go to LABEL identifier to perform the program. V1 is PLC address.

4-28

Revision Apr. 30th, 2007, 2007PDD23000002

Page 249
Image 249
Delta Electronics DOP-AE Series, DOP-AS Series, DOP-A Series manual „ Icnv, „ IF…THEN Goto Label …

DOP-A Series, DOP-AE Series, DOP-AS Series specifications

Delta Electronics is a renowned leader in the automation and control industry, and their HMI (Human Machine Interface) products, particularly the DOP-AS, DOP-AE, and DOP-A Series, stand out for their advanced features and innovative technologies. These HMIs are designed to enhance user experience and facilitate efficient machine control in various industrial applications.

The DOP-AS Series is known for its high-performance capabilities. It features a 7-inch to 15-inch TFT LCD display with a resolution of up to 1024x768 pixels, providing clear and sharp visuals. The intuitive touchscreen interface allows for seamless interaction, making it easy for operators to monitor and control processes. The DOP-AS Series is equipped with advanced connectivity options, including Ethernet, USB, and serial communication, enabling easy integration with various devices and systems. Additionally, it supports various industrial protocols, which makes it compatible with a wide range of programmable logic controllers (PLCs).

The DOP-AE Series offers enhanced features aimed at modern industrial requirements. Its displays range from 7 inches to 12 inches, combining a sleek design with robust functionality. One of its key technologies is the multi-touch capability, allowing multiple points of contact on the screen for more dynamic interaction. This series also supports rich multimedia functions, enabling the display of video and images, which can improve information presentation. The DOP-AE’s high-speed processor ensures quick response times, reducing system lag and improving operational efficiency.

Finally, the DOP-A Series is designed for more basic applications without compromising on quality. With sizes ranging from 4.3 inches to 15 inches, the DOP-A Series provides flexibility for different workspace requirements. The interface is user-friendly and straightforward, catering to operators who require essential functionalities without excessive complexity. Though simpler, the DOP-A Series still maintains robust communication interfaces for seamless integration into existing systems.

In conclusion, Delta Electronics’ DOP-AS, DOP-AE, and DOP-A Series HMIs offer a spectrum of capabilities tailored to varying industrial needs. From high-performance applications to simpler tasks, these HMIs incorporate advanced display technology, connectivity options, and user-friendly interfaces, ensuring that operators can efficiently manage and control their processes in an increasingly automated world. Delta continues to push the boundaries of automation technology, leading to enhanced productivity and operational excellence in industries worldwide.