PIStudio Manual
  • 1. Welcome
  • 2. Installation
  • 3. Getting Started
    • 3.1 Creating a project
    • 3.2 Configuring communication
    • 3.3 Configuring the Screens
    • 3.4 Compiling project
    • 3.5 Simulation
    • 3.6 Download project
  • 4. Software Menu
    • 4.1 Home Menu
      • 4.1.1 Project
      • 4.1.2 Edit
      • 4.1.3 Screen
      • 4.1.4 Appearance
      • 4.1.5 Tool
      • 4.1.6 Help
    • 4.2 Project menu
    • 4.3 Project screens menu
  • 5. Project Settings
    • 5.1 Project Settings
    • 5.2 HMI IP
    • 5.3 Installment
    • 5.4 Extend
    • 5.5 Security
  • 6. Object
    • 6.1 Buttons/Switchs
      • 6.1.1 Bit switch
      • 6.1.2 Bit lamp
      • 6.1.3 Word switch
      • 6.1.4 Word lamp
      • 6.1.5 Keypad switch
      • 6.1.6 Function switch
      • 6.1.7 Combination switch
      • 6.1.8 Slider Switch
    • 6.2 Input/Display
      • 6.2.1 Numeric Input/Display
      • 6.2.2 Character Input/Display
    • 6.3 Charts
      • 6.3.1 Common settings in Chart objects
      • 6.3.2 Alarm Record Display
      • 6.3.3 Data Record Display
      • 6.3.4 Recipe display
      • 6.3.5 File list
      • 6.3.6 History Trend Chart
      • 6.3.7 Trend Chart
      • 6.3.8 XY Plot
      • 6.3.9 History XY Plot
    • 6.4 Meters
      • 6.4.1 Pointer Meter
      • 6.4.2 Clock
      • 6.4.3 Bar
      • 6.4.4 Runbar
    • 6.5 Display
      • 6.5.1 Indirect window
      • 6.5.2 QR code
      • 6.5.3 Drop-Down list
      • 6.5.4 Flow component
      • 6.5.5 Picture
      • 6.5.6 Rotation picture
      • 6.5.7 Camera display
      • 6.5.8 Camera Control
      • 6.5.9 Printer
    • 6.6 Draw
      • 6.6.1 Date
      • 6.6.2 Time
      • 6.6.3 Text
      • 6.6.4 Table
      • 6.6.5 Line
      • 6.6.6 Polygon
      • 6.6.7 Cycle/ Ellipse
      • 6.6.8 Arc
      • 6.6.9 Rectangle
      • 6.6.10 Broken line
      • 6.6.11 Linear scale
      • 6.6.12 Arc scale
    • 6.7 Custom Object
    • 6.8 Common Settings
      • 6.8.1 General window
      • 6.8.2 Text
      • 6.8.3 Graphic
      • 6.8.4 Security
      • 6.8.5 Animation
  • 7. Library
    • 7.1 Shape
    • 7.2 Address Library
    • 7.3 Text library
    • 7.4 Font Library
    • 7.5 Address Mapping
  • 8. Basic Functions
    • 8.1 Address Editor
    • 8.2 Installment
    • 8.3 Data Record
    • 8.4 Alarm
      • 8.4.1 Bit alarm
      • 8.4.2 Word alarm
    • 8.5 Recipe
    • 8.6 Trend Chart
    • 8.7 History XY Plot
    • 8.8 User Permission
    • 8.9 MessagePrompt
  • 9. Scripts
    • General script
      • 9.1 Script type
      • 9.2 Script usage
      • 9.3 Script Functions List
      • 9.4 Function Description
    • Lua script
      • 9.5 Lua Editor
      • 9.6 Lua Script Interfaces
      • 9.7 Lua Shortcut Hotkey
  • 10. Advanced Functions
    • 10.1 Remote Access
    • 10.2 Camera
    • 10.3 Email
    • 10.4 Video Player
    • 10.5 Audio Player
    • 10.6 LAN Monitoring
    • 10.7 USB keyboard
  • 11. PLC Protocols
    • 11.1Allen-Bradley FreeTag Ethernet/IP (CompactLogix)
    • 11.2 Allen-Bradley MicroLogix
    • 11.3 Barcode Scanner
    • 11.4 EPSON-TM-T82II/TM-XXX
    • 11.5 Hitachi EHV Series (Ethernet)
    • 11.6 IEC60870-5 104 Client
    • 11.7 LG XGK FEnet Ethernet
    • 11.8 Mitsubishi FX1S, 1N, 2N series
    • 11.9 Mitsubishi FX5U Ethernet
    • 11.10 Mitsubishi FX5U serial port
    • 11.11 Mitsubishi L02 MELSEC (Ethernet)
    • 11.12 Mitsubishi QJ71E71 Ethernet
    • 11.13 MODBUS RTU Master
    • 11.14 MODBUS RTU Slave (All function)/(All function OneBaseAddress)
    • 11.15 MODBUS TCP Slave (All function)
    • 11.16 Omron EC55
    • 11.17 Omron NX Ethernet/IP
    • 11.18 OpenCAN
    • 11.19 SHIMADEN FP23 protocol
    • 11.20 SHIMADEN SR90 protocol
    • 11.21 SHIMADEN Standard protocol
    • 11.22 Siemens S7-200 Smart (Ethernet)
    • 11.23 Siemens S7-300
    • 11.24 Siemens S7-1200 Ethernet
    • 11.25 Siemens Logo
    • 11.26 Siemens S7-XXX Ethernet
    • 11.27 User defined protocol
    • 11.28 WECON PLC LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
    • TSPL printer protocol user manual
  • 12. HMI internal registers
    • 12.1 System special address (HUW/HUX)
    • 12.2 System special address (HSW/HSX)
  • 13.Tools
    • 13.1 Off-line
    • 13.2 On-line
    • 13.3 USB flash disk download
    • 13.4 Font Pack
    • 13.5 Address List
    • 13.6 Decompile
    • 13.7 Password Tool
    • 13.8 Download Tool
  • 14. Others
    • 14.1 Setup Menu
    • 14.2 Touch Screen Calibration
    • 14.3 Levi2PI
Powered by GitBook
On this page

Was this helpful?

  1. 10. Advanced Functions

10.3 Email

Previous10.2 CameraNext10.4 Video Player

Last updated 5 years ago

Was this helpful?

Introduction

Wecon HMI can send email with information from fields to the specified email address as soon as the conditions is triggered, but email sending is basis of the network.

Email function settings

In the toolbar of the programming software, click [Library] -> [Mail] open email function setting screen.

Setting screen description as below

1) SMTP settings

Sender name: Fill the sender's name, case sensitive, the user could enter letters, numbers, maximum character length 32 allowed in it. Such as WECONSupport;

Password: Fill in the password or authorization code of the mailbox. If the server needs to set the authorization code, the authorization code needs to be used. If the authorization code is not used, the password is used. Please refer to the SMTP service in the mailbox for the authorization code information. It cases sensitive, maximum character length 32 allowed in password;

Confirm Password: Confirm the password or authorization code of the mailbox;

SMTP server: Please refer to the mailbox account settings, such as smtp.exmail.qq.com;

The port number: Please refer to the mailbox account settings, such as 465;

✎Note: gmail also needs to enable the [allow unsafe apps] option in the account, otherwise the mail will not be sent normally.

Encryption type: SSL is a security protocol that provides security and data integrity for network communications. It encrypts network connections at the transport layer; TLS (STARTTLS) upgrades connections to SSL instead of using a separate encrypted communication port;

2) Error message

Set the error message receiving address, the user could use the information to get the reasons of errors.

The error types in the mail function are divided into two types: custom rule error and server’s error.

Table 1 Custom rule error

Message

Email settings are incorrect

Email account is incorrect

Email password could not include blank

the settings of SMTP server are incorrect

The range of SMTP server ports number should be integer, which is between 1 and 65535.

The type of encryption for SMTP is incorrect

The name of sender or email address setting is incorrect.

The names of Recipients or email address setting are incorrect.

The names of CC recipients or email address setting are incorrect.

The names of Secret delivery recipients or email address setting are incorrect.

Email topic could not be blank

Email content could not be blank

Total size of attachments should be below 25M

Attachment “xxxx” is nonexistent

Table 2 Server’s error

Message

smtp-server: 554 DT: SPM

smtp-server: 550 RP: TRC

smtp-server: 550 Limitation of connecting counts

smtp-server: 535

smtp-server: 550 Error: content rejected

smtp-server: 451 Internal server error

smtp-server: 535 Invalid login user or password

smtp-server: 550 too many sending requests today

smtp-server: 452 Too many recipients received this hour.

smtp-server: 535 Error: authentication failed, system busy

could not connect: Connection timed out

Unexpected EOF on SMTP connection

could not initiate SSL/TLS connection

smtp-server: 530 Need to issue a STARTTLS command first.

could not resolve host

could not connect: Connection timed out

could not connect: Connection refused

smtp-server: 550 User not found: aaa.163.com

3) Manual trigger

It is for modifying the email sending settings when HMI is running; According to the set manual trigger address, the address is offset backward to get the address of the corresponding function (a total of 201 words). Take HDW100 as an example

Table 3

Address

Description

HDX100.0

Sending trigger

HDX101.0~HDX101.15

It is used for triggering recipient groups, for example, HDW101.0 set ON, and the address in group 1 will be in recipient list.

HDX103.0-HDX103.15

It is used for triggering recipient groups, for example, HDW103.0 set ON, and the address in group 1 will be in CC list.

HDX105.0-HDX105.15

It is used for triggering recipient groups, for example, HDW105.0 set ON, and the address in group 1 will be in BCC list (Secret delivery).

HDW107-HDW171

The subject length is limited to 64 words. (If it exceeds, it will intercept 64 words of content)

HDW172-HDW300

The content length is limited to 128 words. (If it exceeds, it will intercept 128 words of content)

HDX301.0

Whether to send an alarm record attachment (a file named AlarmDataFile.db)

Sending settings screen description

✎Note:

1) Email function is available in special HMI model, when you purchase HMI, please tell salesman or distributors whether you need email function.

2) The email sent manually is sent without priority (bit change, rising edge, falling edge, and the email triggered by the timing condition needs to be queued in the order of triggering. The maximum value is 100. If it is added, it will be discarded.)

3) In the rising edge trigger mode, if the HMI is sending an email, the trigger signal is invalid. Only after the email has been sent, a new email is generated and sent. Whether the mail is sent successfully or not, the bit address will be reset;

4) In manual mode, the email will only be sent once, whether the transmission was successful or failed.

Email address: Fill in the sender's email address, case sensitive, maximum character length 32 allowed in it. Such as ;

support@we-con.com.cn