Chapter 4 Macro FunctionScrEdit Software User Manual

Command

Equation

Descrption

SETSYSTEMTIME

SETSYSTEMTIME(V1)

Set system time

 

 

 

GETHISTORY

V1 = GETHISTORY (V2, V3,

Get history data

V4, V5, V6)

 

 

„ TIMETICK

 

 

TIMETICK Get the time from system startup to present and put into the specific address. An increment of 1 means 100ms is added.

„GETLASTERROR

GETLASTERROR Get last error value. If there is no error occurred, the result of GETLASTERROR will be 0. Even if each Macro is executed simultaneously, the error message will not interfere with one another. For error code information, please refer to section 4.4.

„COMMENT

COMMENT It lets Macro to be readable. Using this command will not affect macro function. The user only needs to put “#” in front of the equation and the macro will become readable. If the user wants to change the comment to be back to equation, just remove the “#” symbol.

„Delay

Delay Delays the user setting time by system. As HMI system is a multiplexer system, the system delay problem may occur. Therefore, setting time will be increased due to “system busy” and the condition that the setting time move forward will not happen. But too many delay time settings may result in slow response of HMI. The unit of delay time is ms.

„GETSYSTEMTIME

Get system time

Equation: V1 = GETSYSTEMTIME

V1 is the starting address of continuous 7 Words within the internal memory address.

V1

Year

V1 + 1

Month

V1 + 2

Date

V1 + 3

Week

V1 + 4

Hour

V1 + 5

Minute

V1 + 6

Second

Example:

Now the system time is 2006/01/04 Wed 09:26:25. Using this command to get the current system time and store in $1~$7.

4-40

Revision Apr. 30th, 2007, 2007PDD23000002

Page 261
Image 261
Delta Electronics DOP-AE Series, DOP-AS Series SETSYSTEMTIMEV1, V1 = Gethistory V2, „ Timetick, „ Getlasterror, „ Comment

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.