Quantcast
Channel: Wecon Technology
Viewing all 170 articles
Browse latest View live

Scripts——Arithmetic

$
0
0

1.General
Scripts could meet many special requirements. This demo shows the trigger mode scripts and how to calculate 16-bit integer, 32-bit integer and 32-bit floating in scripts.

2.Trigger mode scripts
In this mode, scripts are controlled by bit address; there are five controlling modes, as FIG 1 shows, users could select it according to their requirements.
qq%e5%9b%be%e7%89%8720160930085308
3.16-bit integer
This is the simplest scripts, address can be used in scripts directly, and there is no need to set any variable. The scripts as FIG2 shows, its working mechanism is, when HDW100.0 has rising pluses, the scripts working.
2
4.32-bit integer
The scripts can’t support 32-bit integer directly, if users want to use 32-bit integer in scripts, please set some variables, the 32-bit integer as FIG 3 shows.
3

5. 32-bit floating
If users want to use floating in scripts, there are script functions for floating format.
5.1 Scripts functions
D2Float
Function
F= D2Float(“A1”,F)
Description
Convert the designated value to floating then assign to variable.
Parameters
A1: Must begin with address“@”;
F: Define the floating by self;
Example
dim F as floating ‘define F as floating
F=D2Float(“@W_HDW10”,F) ‘assign the value of (HDW10) to F in floating
Float2D(“@W_HDW12”,F) ‘copy the floating value of F to HDW12 register, use to display result.
Float2D
Function
Float2D (A1,A2);
Description
Copy the floating value to the address.
Parameters
A1: Goal address, the value must be address (e.g.@W_HDW102);
A2: Source data, it can be floating;
Example
dim f as floating ‘define f as floating
f=1.1 ‘assign a designated value to f
Float2D (“@W_HDW102”,f) ‘assign the value f to HDW102
Result: HDW102=1.1

5.2 Scripts
The scripts for 32-bit floating as FIG 4 shows, users need to default floating variables.
4


Function——Dynamic installment

$
0
0

1.General

A new function of installment, it will meet randomized date and randomized password.
Dynamic installment function creates a “dynamic password” by the “key” and “expiration”. In the same project, the dynamic installment and static installment are mutually exclusive.

2. Settings
The detailed information, please refer to the following picture.
1
1. Setting the key and expiration time. If we set the first expiration time is 2015-06-13, when time is up, the screen of HMI will be lock and password inputting windows will pop-up.
2. When your client pay the money to you for 2 months, please open the “Dynamic Installment password”, click “Tool”-> “Dynamic Installment password”.
3.Input the “Key” and next expiration time, for example 2 months later, 2015-08-13. And then click “password”, it will display a password, please give it to your clients.
2
4. When clients input this password, the HMI back to normal, until 2015-8-13.

3. Note
1. Please add “Designer password”, so that your clients can’t see the “Key” without “Designer password”
2. The key can not be more than 6 characters, the key can be composed of numbers and letters, letters are case-sensitive.
3. Expiration Date Format must be YYYY-MM-DD. For example 2016-01-01.
3

Programming——HMI project transfer

$
0
0

1.General
WECON LEVI Series HMI is widely used in various industry fields; also WECON Company provides programming software to users for developing HMI project. There are several ways for projects transfer between HMI and PC.

2.USB programming cable
Transfer the project between HMI and PC via USB programming cable (each HMI is shipped to customers with a USB programming cable). It is the default way for programming.

2.1Operation procedure of download
1)Complete project programming and compile the project;
2)Connect HMI via USB programming cable;
3)Click download icon the in toolbar;
4)Check the [Download] drop-list menu, if it shows [USB: DownloadLink], it means HMI is accessed by PC via USB download cable, as Figure 2-1 shows.
2
Figure 2-1
5)Click [PC -> HMI] button to execute project download;

Note:
1)If user doesn’t want this project be uploaded from HMI, please check [Upload prohibited] option;
2)There is [Advanced setting], if user check the option, the corresponding setting in HMI will be reserved;

2.2Operation procedure of upload
Many users need to upload the project from HMI to PC.
1)Open the Download.exe directly, as Figure 2-2 shows;
3
Figure 2 2
2)Connect the HMI to PC via USB programming cable;
3)If HMI is accessed, it will show [USB: DownloadLink] in [Download] menu, as Figure 2-1 shows;
4)Click [HMI -> PC] button to execute project upload;
5)The .hmt file will be upload to PC;

Note:
1)If the project is set design password, nobody can upload it without password;
2)If the project is set [Upload prohibited], nobody can upload it from HMI;

2.3Note for USB programming cable
Before 2015, all the LEVI HMI system can’t support transfer project between HMI and PLC via USB programming cable in Windows 7 64 bit OS or higher OS, because Windows 7 64-bit operating system natively blocks unsigned drivers.
If users have old HMI (produced before 2015), please do the following operation for USB mode.

Operation procedure
1)Install the LeviStudioU. Please visit our office website to download software;
2)To get around this user must temporarily disable the signature verification process, and install the USB drive in your pc. The driver is contained in software;
Or
2)Use RS232 cable for downloading, please refer to 3. RS232 cable
3)Run the LeviStudioU as administrator;
4)Create a new project by LeviStudioU, and download it to HMI;
5)When software asks update, please select OK;

When finish firmware updating, the HMI will be accessed to PC as USB flash disk, and users can use USB programming cable for project transferring.

3.RS232 cable
Transfer the project between HMI and PC via RS232 cable; it is another way for project transfer. Different from USB cable, it can be used in any PC system.

RS232 cable pinout
HMI       PC
2            3
3            2
5            5

3.1Operation procedure of download
1)Complete project programming and compile the project;
2)Connect HMI via RS232 cable;
3)Press the top right corner of screen, keep pressing for 5 seconds, into Setup Screen;
4)Click download icon the in toolbar;
5)Check the [Download] drop-list menu, if it shows [COMx: Communication port], it means HMI is accessed by PC via RS232 cable, as Figure 3-1 shows;
6)Click [PC -> HMI] button to execute project download
4
Figure 3 1

Note:
1)If user doesn’t want this project be uploaded from HMI, please check [Upload prohibited] option;
2)There is [Advanced setting], if user check the option, the corresponding setting in HMI will be reserved;

3.2Operation procedure of upload
1)Open the Download.exe directly, as Figure 2-2 shows;
2)Connect the HMI to PC via RS232 cable;
3)Press the top right corner of screen, keep pressing for 5 seconds, into Setup Screen;
4)If HMI is accessed, it will show [COMx: Communication port] in [Download] menu, as Figure 3-1 shows;
5)Click [HMI -> PC] button to execute project upload;
6)The .hmt file will be upload to PC;

Note:
1)If the project is set design password, nobody can upload it without password;
2)If the project is set [Upload prohibited], nobody can upload it from HMI;

4.USB Flash Disk
LeviStudioU software provides the function of downloading the project through the USB Flash Disk.

4.1Operation procedure
1)Complete project programming and compile the project;
2)Click [Tool] -> [Udisk Download] to open the [download file by USB-disk wizard] window, as Figure 4-1 shows;
5
Figure 4 1
Select [Project file to be downloaded];
Enter the project file path into [Select the file to be updated];
Enter the USB Flash Disk path into [Please select USB-Disk];
Click [OK] button to execute operation;
3)Remove the USB flash disk from PC;
4)Insert it into USB-A port (7 inch or larger size), or USB port (LEVI430T), or please use OTG for LEVI350T and LEVI430E.

6
Figure 4 2
7)Wait for the update to complete, and restart HMI;

4.2Note for USB Flash Disk
1)USB Flash Disk only for project download, it can’t be used for project upload;
2)Download the project via USB Flash Disk can’t update HMI firmware at the same time;
3)It is better to use the 4GB or less capacity USB Flash disk;
4)The project.hmt must be in root directory;
5)The project file must be named as project.hmt;

The application of wecon HMI and PLC in Shoe-making machine

$
0
0

The model of shoes, we always called it as double “last slipping machine”, which is the necessary equipment that used in making shoes industry. It will be succeed in lasting off by electrical control

The machine is easy to operate and use .The action is coordinate, which could make the shoes and the last slipping machine separating automatically. This will not damage shoes and will improve the efficiency of producing, which reduces the cost.

Process requirements

The device has manual, automatic, and debugging mode, you could set up interval of each action. Under the mode of automatic, the device will do the movement of stubs last automatically when photoelectric switch induces that there is a product in working table. Under the debugging mode, the device will do the continuous operation automatically regardless of whether the product .

Program

The control system is mainly consist of  wecon LEVI-700LK HMI and  LX3V-0806MR plc.

The brief introduction of project

HMI Project

%e5%9b%be%e7%89%872

Part of the plc program

%e5%9b%be%e7%89%874

The photo of machine

%e5%9b%be%e7%89%875

Wecon HMI and PLC in labeling machine

$
0
0

1.Brief introduction

Labeling machine is equipment which automatically attach rolling self adhesive label (paper or Metal foil material) to PCB, products and other package

2.Working principle

Using 3pcs of servo to pick up label, position and attach. Specification showed by HMI, and servo controlled by PLC

3.Function

HMI operation and monitor function, high speed pulse output

Components

Wecon 700EL HMI 1PC

Wecon PLC CPU LX3V-2424MT4H-A  1PC

Servo 3pcs

4.Main page Introduction

  1. Operation page: Can set up stop position of label, control of operation, also choice ofchronological order and calculation of qty

%e5%9b%be%e7%89%871

  1. Debuggingpage: set up time or delay time for every item operation

%e5%9b%be%e7%89%872

  1. Setup page: set up position and speed of servo at very working status

%e5%9b%be%e7%89%873

  1. Manual page: test the operation of functional cylinder, can positon servo automatic operation, can adjust position, and remember the recent working position and follow same instruction in the future

%e5%9b%be%e7%89%874

  1. I/O PLC page: show plc input or output points, can clearly find the problem when debug the project

%e5%9b%be%e7%89%875

PLC program for position of label by light sources induction

 %e5%9b%be%e7%89%876

Servo precisely controlled by high speed pulse of put of PLC

 %e5%9b%be%e7%89%877

The application of Wecon HMI&PLC in tapping machine

$
0
0

1)Brief introduce

The tapping machine is a kind of internal thread processing machine widely used. According to the number of spindle tapping machine is different, can be divided into single shaft tapping machine, Two axis tapping machine, Four axis tapping machine, Six axis tapping machine, Multi axis tapping machine.

2)Feature

  1. The equipment used is less, the operation is simple,
  2. High automatic level themachine adopts microcomputer control, to realize the clamping automatically of the work piece.
  3. Energy-saving: While it is running, TheTapping machine consume 70% less electricity than traditional machine.
  4. Low labor intensity
  5. Highefficiency, high precision: It only takes about 3 seconds to process each work piece.

3)Component

This machine use WECON 7.0inch HMI and 40 I/O PLC control.

HMI Program(Part)

%e5%9b%be%e7%89%871

%e5%9b%be%e7%89%872

PLC Program(Part)

%e5%9b%be%e7%89%873

5)Summary

All movements of this project are achieved through the PLC. Using Wecon PLC to make the equipment more flexible and intelligent. The passing rate of the product is higher, and the labor intensity of workers is greatly reduced. Touch screen picture is beautiful, all kinds of button settings concise and clear, and The operator is easy to get started. The application of Wecon HMI&PLC in Tapping machine.

6)Picture

%e5%9b%be%e7%89%874

Function——Online simlation

$
0
0

1.General
WECON provide the online simulation function to users for checking the HMI project and communication.

2.Online simulation
Completed project and after compile, users can check [On-line] icon to open the online simulation, as following figure shows.
1
The [Online Emulator serial select tool] pop-up automatically, as following figure shows, the detailed description showed in following content.
2
PC link1/ PC link2/ PC link 3 correspond to HMI protocol list number;
COM ports in the drop-list correspond to PC port.
For example, if user used COM2 in HMI, and this COM2 is the second on list for MODBUS protocol, please select COM port in [PC link2]

3.Note
1.Most Desktop only has RS232 port, if users need to use RS485 and RS422, please use converter for them.
2.Only simulation only work for 30 minutes.

The application of Wecon HMI&PLC on the automatic feeding machine

$
0
0

 

  1. Introduction

Automatic quantitative packing scale used in the industrial automation automatic quantitative packing, the entire weighing process is controlled by the controller automatically. It has many features like high speed, high precision, saving cost, simple to operation, and easy to maintenance. In the process of the production, all packaging scales need the Feeding machine to coordinate with each other and complete the work. In this application, this feeding machine feed 4 packing scale automatically.

  1. Process requirements

The PLC judges that which silo is short of material according to the photoelectric Signal, and controls the stepper motor to position, run the silo car to the top of the feed hopper, and feed it. After the feeding finished, it go back to the start place.

 

    3. Solutions

the-application-of-wecon-hmiplc-on-the-automatic-feeding-machine876

  • The feeding car feed the silo of 4 packing scales.
  • Each silo has a Photo detector, when it needs feeding, it send the signal of that.
  • The car will be driven by a stepping motor, to reach the top of the silo which need to be fed.
  • The air cylinder operate,the The discharge opening open to begin discharge.
  • The car return to original place, the feed opening feed the car, until it reaches the upper limit.

    4.A brief introduction of the program

  • The main screen of operation: The screen is an operating screen, it shows the signal of lacking in material, the statue of feeding material, and the OPEN and STOP buttons, etc.

the-application-of-wecon-hmiplc-on-the-automatic-feeding-machine1497

  • Manual screen

the-application-of-wecon-hmiplc-on-the-automatic-feeding-machine1515

  • Parameter setting screen

the-application-of-wecon-hmiplc-on-the-automatic-feeding-machine1545

  • Factory Parameter setting screen

the-application-of-wecon-hmiplc-on-the-automatic-feeding-machine1582

  • Part of PLC program

the-application-of-wecon-hmiplc-on-the-automatic-feeding-machine1605 the-application-of-wecon-hmiplc-on-the-automatic-feeding-machine1607 the-application-of-wecon-hmiplc-on-the-automatic-feeding-machine1609

    5.Conclusion

  • It calculates accurately of the pulse and the distance.
  • When the four silos need to feed at the same time, it deals according to the priority.
  • It uses the DECO instruction to control, it runs by steps.

Script——Change Screen

$
0
0

1. General
The project is used for changing HMI screens by scripts, it require set “System control area” for change HMI screens.

2. System control area
2.1Set address for control screen
Please see the FIG 1, it is project properties, most project functions are set in this windows.
Please check “System control area” to enable the function of controlling screens by register, and please input the register address, such as HDW10, and please use the default length.
1

2.2Description of System control area
The value of address could control the HMI screen, use the HDW10 as example.
Each screen has its screen number, if HDW10=0, then HMI will display No.0 screen, if HDW10=1, then HMI will display No.1 screen, and so on. So users could control the HMI screen by setting value for HDW10.

3. Scripts
In this project, it uses the screen scripts, and if command to trigger the auto mode to change the screens.
2

Program——Program project via USB cable

$
0
0

1. General
WECON LX series PLC has two ports for programming. HID mode is used for mini USB port in new PLC to make the communication is more stable.
1
The PLCs produced after March 2016 use new mini USB mode, and require new WECON PLC editor (V1.1.0 or later). The old WECON PLC editor can’t support new PLC anymore, so please update your WECON PLC editor software.

2. Download mode
The FIG2 shows the new transfer setup windows.
2

2.1 In mini USB cable mode
If you are using old PLC, please select “Serial connection” and select the right COM number for PLC; if you are using new PLC, please select “USB connection (Best to use well shielded cable)”
2.2 In programming cable mode
Please select “Serial connection” and select right COM number for both old PLC and new PLC.

Solution——Interference in industrial environments

$
0
0

There are two hardware factors in communication between HMI, PLC and inverter.

1.Electrical interference.
Some WECON customers come across such problem, but less, when switch on inverter, the communication works abnormally. When check customers wiring, there are usually below problems:
1)Use common cable for RS485, not twisted pair;
2)The communication cable and power cable are in the same trunking;
3)The ground wire of HMI or PLC is connected to inverter or motor power supply’s ground terminal;

2.Common mode voltage between HMI, PLC and inverter.
Most customers come across it. This problem phenomenon is very similar to electrical interference’s; most communication problem is occurred by it.
Because the com ports in HMI and PLC don’t have isolation, if there was a voltage which is more than 7V between PLC internal power supply and inverter power supply, the communication would fail via RS485 cable.
The communication via RS485 will fail when the voltage difference exceeds AC100V voltage between devices, which are not connecting ground on communication cable, in the role of internal switching power supply safety capacitor.
After starting the inverter, high-frequency coupling also indirectly introducing a common-mode voltage, resulting in communication fail. The most effective way to eliminate the common mode voltage is connecting HMI and PLC com port ground terminal to inverter com port ground terminal.

Note:
1)It is com port ground terminal, not power supply ground terminal;
2)Don’t connect com port ground terminal to the external ground, shell ground and the power supply ground;

Different inverter manufacturers use different communication ground identifies, the way to find the communication ground as below:
1)Communication ground is near to RS485 terminals;
2)GNE, COM, 0V are used for identify communication ground;
3)In the off state, the multimeter could measure a stable resistance between ground terminal and A,B terminal, it is about less than 100KΩ

WECON HMI and PLC application in remote controlled intelligent drainage system

$
0
0
  1. Brife introduction

This drainage system is rain water treatment and drainage project system, the impounding water reservoir will discharge water when water level reach to some height.

The operator can inspect water level, running data by wecon cloud, wecon app in pc end. Water pump start equipment can be supported by manual control, auto control, remote control, then make unattended operation come true.

  1. Solution

Hardware: HMI—WECON PI8070

PLC—WECON LX3V-0806MR

Mobile phone ( built-in GSM, 4G card, and ethernet output)

35KW Frequency converter

System introduction

  • 1) Since location of the equipment roomis remote, pump station management personnel will operate very inconveniently, so the WECON PI8070 touch screenwith remote function can efficient control pump drainage equipment through the network. The touch screen is connected to the Internet via a mobile data terminal.
  • 2) Often used pump and sparepump can also be manually converted.
  1. Program software

HMI Program software

wecon-hmi-and-plc-application-in-remote-controlled-intelligent-drainage-system1086

PLC program software

wecon-hmi-and-plc-application-in-remote-controlled-intelligent-drainage-system1111 wecon-hmi-and-plc-application-in-remote-controlled-intelligent-drainage-system1113 wecon-hmi-and-plc-application-in-remote-controlled-intelligent-drainage-system1115 wecon-hmi-and-plc-application-in-remote-controlled-intelligent-drainage-system1117

  1. Summary

  • 1) It can be remote controlled by inspector, highly convenient
  • 2) This system is integration of traditional drainage and modern intelligent controlsystem,stable, high efficiency, will certainly be the trend of future process control.

The application of Wecon PLC and HMI on woodworking machine with three rows drill

$
0
0
  1. Description

The three row drilling machine is mainly used for processing a particleboard, MDF, plywood and other wood products. The machine adopts automatic control, working process are pneumatic clamping, pneumatic feeding tool, with one-time processing three rows of a plurality of holes, repeat operation with one-time setting and control panel shows the total number of processing. V1, V2 row of drill row can be in 0 ~ 90 degrees for arbitrary rotation, which is necessary for cabinet, furniture factory.

  1. Specification

    1.Wecon HMI, PLC with powerful function and low failure rate.

2, Wide drilling hole range, all the drill header come with quick connector, convenient;

3, drilling depth, drilling distance are widely used high-performance switch, fast positioning and accurate;

4, the use of imported original brand drill row, motor, linear guide, durable;

5, PLC and HMI can set the row of the motor work and binder delay. So that control could be more accurate

3.Solution

There are two modes in this equipment.

Auto Mode: Automatic mode can be set for each of the horizontal and vertical motor / cylinder operation. In the synchronous operation, depress the pressure on the material and then the horizontal motor and cylinder vertical 1 vertical 2 motor cylinder at the same time, to reach the upper limit after the cylinder to stop working. After the delay time, the motor stops working.

Asynchronous mode: press the foot switch to start working then the vertical pressure 1 and vertical 2 going to work, when the vertical 1 work is completed after the level of the motor to work.

%e5%9b%be%e7%89%874

Manual operation: manual operation can set the pressure solenoid valve horizontal vertical 1 and vertical 2, Motor stopped and only cylinder running when switching to the calibration mode.

%e5%9b%be%e7%89%875

Parameter setting: can set their own parameters and data according to the needs of customers and the scene.

%e5%9b%be%e7%89%876

4.Conclusion

With the PLC and touch screen which could set more specific parameter, it can be set more detailed and specific parameters according to the needs of the scene. Touch screen display which is simple and intuitive for monitoring.

The application of Wecon HMI&PLC in  Automatic Terminal Crimping Machine

$
0
0

 1)Brief introduce

The terminal crimping machine is a new equipment, include feeding, cutting, stripping, crimping and other functions machine. Digital control interface and the import of electrical accessories make machine to easy operate, saving time. The operation of processing products is easy to understand, and the cost of maintenance is low.

2)Scheme

1、LX3V-1616MT4H-A2, 16 inputs, 16 transistor outputs, RS422/RS485, 4 channels high speed outputs,AC supplied

LX3V-1212MT2H-A2, 12 inputs, 12 transistor outputs, RS422/RS485, 4 channels high speed outputs,AC supplied

2、LEVI700EL(7 Inches, INNOLUX LCD, 800*480, COM1, USB HOST/DEVICE)

3)HMI Program 

the-application-of-wecon-hmiplc-in-automatic-terminal-crimping-machine%e6%9c%aa%e5%ae%a1%e6%a0%b8728

1、The parameter setting is an important interface. It is to prevent the malfunction of the equipment caused by incorrect operation of the staff, This setting also provides password-setting protections.

the-application-of-wecon-hmiplc-in-automatic-terminal-crimping-machine%e6%9c%aa%e5%ae%a1%e6%a0%b8933

2、Manual operation is convenient for debugging and testing. 

the-application-of-wecon-hmiplc-in-automatic-terminal-crimping-machine%e6%9c%aa%e5%ae%a1%e6%a0%b8995

3Test interface: After the test of the cutter is opened, the cutting knife can go up and down to the action, The distance of action can be set by the following way. The advantage of this interface is to facilitate the testing of mechanical components installed.

the-application-of-wecon-hmiplc-in-automatic-terminal-crimping-machine%e6%9c%aa%e5%ae%a1%e6%a0%b81260

4Here you can choose whether to enable the following functions,For example, to send a relatively hard line or the length of the line is not required for a short line of action, then you can turn off the line function. 

the-application-of-wecon-hmiplc-in-automatic-terminal-crimping-machine%e6%9c%aa%e5%ae%a1%e6%a0%b81485

4)PLC Program(part)

the-application-of-wecon-hmiplc-in-automatic-terminal-crimping-machine%e6%9c%aa%e5%ae%a1%e6%a0%b81511 the-application-of-wecon-hmiplc-in-automatic-terminal-crimping-machine%e6%9c%aa%e5%ae%a1%e6%a0%b81517 the-application-of-wecon-hmiplc-in-automatic-terminal-crimping-machine%e6%9c%aa%e5%ae%a1%e6%a0%b81521

5Summary

With the development of industrial automation, Wecon HMI&PLC are becoming more and more popular. Wecon HMI&PLC compete in terms of product quality, reliability and high performance. Deep post-marketing Get customers love and praise.

Programming——Project transfer between PI HMI and PC

$
0
0

1. General
WECON PI Series HMI new product, it is widely used in various industry fields; also WECON Company provides programming software to users for developing HMI project. There are several ways for projects transfer between HMI and PC.

2. USB programming cable
Transfer the project between HMI and PC via USB programming cable (each HMI is shipped to customers with a USB programming cable). It is the default way for programming.

2.1 Operation procedure of download
1
1) Complete project programming and compile the project;
2) Connect HMI via USB programming cable;
3) Click [Download] in toolbar;
4) Check the [PC Port] drop-list menu, if it shows [USB: Download], it means HMI is accessed by PC via USB download cable;
5) Click [PC to HMI] button to execute project download;

Note:
1) If user doesn’t want this project be uploaded from HMI, please check [Upload prohibited] option;
2) There are some items for saving HMI device setting, if user check the option, the corresponding setting in HMI will be reserved;

2.2 Operation procedure of upload
Many users need to upload the project from HMI to PC.
1) Open the Download.exe directly;
2) Connect the HMI to PC via USB programming cable;
3) If HMI is accessed, it will show [USB: Download] in [Download] menu;
4) Click [HMI to PC] button to execute project upload;
5) The .wmt file will be upload to PC;

Note:
1) If the project is set design password, nobody can upload it without password;
2) If the project is set [Upload prohibited], nobody can upload it from HMI;

2.3 Note for USB programming cable
If HMI isn’t accessed by PC via USB programming cable, please install the USB driver firstly. The USB driver file is contained in PIStudio software installation folder.

3. Ethernet cable
Transfer the project between HMI and PC via Ethernet cable; it is another way for project transfer.
3.1 Operation procedure of download
1) Complete project programming and compile the project;
2) Set HMI IP
Holding press top right corner of screen into setup screen;
2
Click “网络/ Network”into setting screen;
3
3) Connect HMI via Ethernet cable;
4) Click [Download] in toolbar;
5) Check the [PC Port] drop-list menu, please select [Ethernet], and enter HMI IP address;
6) Click [PC to HMI] button to execute project download;
4

Note:
1) If user doesn’t want this project be uploaded from HMI, please check [Upload prohibited] option;
2) There are some items for saving HMI device setting, if user check the option, the corresponding setting in HMI will be reserved;

3.2 Operation procedure of upload
1) Open the Download.exe directly;
2) Connect the HMI to PC via Ethernet cable;
3) Check the [PC Port] drop-list menu, please select [Ethernet], and enter HMI IP address,;
4) Click [HMI to PC] button to execute project upload;
5) The .wmt file will be upload to PC;

Note:
1) If the project is set design password, nobody can upload it without password;
2) If the project is set [Upload prohibited], nobody can upload it from HMI;

4. USB Flash Disk
PIStudio software provides the function of downloading the project through the USB Flash Disk.

4.1 Operation procedure
1) Complete project programming and compile the project;
2) Open the project folder,and find a ***.wmt file
3) Copy this .wmt file to USB flash disk or SD card root directory.
4) Rename it to project.wmt;
5) Insert USB flash disk or SD card;
6) Press the top right corner of screen, keep pressing for 5 seconds, into Setup Screen;
7) Select [Copy Project];
5
8) HMI will pop-up the following tips for dealing with data record files, please click [Yes] to delete all the data record files, click [No] to reserve all data record files;
6

4.2 Note for USB Flash Disk
1) USB Flash Disk only for project download, it can’t be used for project upload;
2) Download the project via USB Flash Disk can’t update HMI firmware at the same time;
3) The project.wmt must be in root directory;
4) The project file must be named as project.wmt;


Function——Trend chart

$
0
0

1.General
Trend chart function is used for displaying the real-time data in HMI as curve graph, which X axis represent as time, Y axis represent as data.

2.Trend chart setting
This sector introduces how to set trend chart in HMI project.

Operating procedure
1) Click [Project] -> [Trend Chart] to open the function selecting windows, as following figure shows;
1
2) Click [Add] button to open setting windows, as following figure shows;
2
3) Setting the function of trend chart;
Curve Name: It is for setting curve name; user can enter any codes in it, but the length limitation is 31 bytes;
Curve (1~8): It is for setting displaying curve numbers, the default is 3;
Dots of one curve: It is for setting dots number of each curve, the default is 1000, but the maximum dots is 10,000 for all the curves;
Sample type: It is for setting sample type for curve chart, there are two types, one is Cycle sample, and the other is Trigger       Cycle sample. If users select Trigger cycle same mode, it requires a control bit for it, as following picture shows.
Quick setting: it is for setting all the curves, select the data format for all curves, and setting the reading addresses for curves.
For example:
Users set HDW0 as start address, and the data format is 16-bit signed, then the HDW0 is for Curve 1, HDW1 is for Curve2, HDW2 is for Curve 3.
Right side window: It is for setting curves one by one.

3
4) Click [OK] to save the setting;

3. Trend chart screen setting
This sector introduces the trend chart object setting.

Operating procedure
1) Put trend chart object in HMI screen;
2) Double click it to open the setting window;
3) Set the appearance, there are some options for appearance;
4
Background type: It is for setting the object outline, there are four types for users;
X Grids: It is for setting the number of cells in the X axis;
Y Grids: It is for setting the number of cells in the Y axis;
Transparence;
Show dot: When shows check it, the trend is displayed by dots;
Color settings: it is for setting colors in object;
4) Set curve buffer: it is used for select the trend chart channels, if users selected the channel, the corresponds curves numbers will be checked;
5
5) Set time: It is for setting displaying time span in object, default value is 60s, it means the Y axis displays 60s value at the same time;
6) Set Range: It is for setting data display range, users can set the fixed range, or use addresses to set variable range;

WECON products’ application in Medium frequency induction heating system

$
0
0
  1. Principle and technology

1.1 Descriptions for product

With the rapid development of China’s industrialization process, induction heating areas gets rapid development. Traditional heating technology not only can meet environmental requirements, and is expensive. As the financial crisis spreading, saving energy and reducing consumption become a very urgent problem for small and medium-sized enterprises.

1.2 Performance characteristics

  1. The operation is simple, front-rear flexible, high automatic degree, which can realize on-line production.
  2. It could accurately controlheatinglength, speed, and temperature.
  3. Uniform heating, temperature difference is small, control precisionis high.
  4. Optimization design of energy conservation and low energy consumption, high efficiency, the cost is lower than burning coal production.
  5. Temperature control, automatic power adjustment.
  6. Three kinds of temperature control mode: automatic type, and the average type, specify the type.
  7. There is a alarm function.

2.Solution

This device has 2 mode, time control mode and temperature control mode.

%e7%bb%b4%e6%8e%a7%e4%ba%a7%e5%93%81%e5%9c%a8%e4%b8%ad%e9%a2%91%e6%84%9f%e5%ba%94%e5%8a%a0%e7%83%ad%e7%b3%bb%e7%bb%9f%e4%b8%8a%e7%9a%84%e5%ba%94%e7%94%a8861

FIG 1

When run this device firstly, we need select work mode, there are 3 modes, specified mode, average mode and automatic mode.

%e7%bb%b4%e6%8e%a7%e4%ba%a7%e5%93%81%e5%9c%a8%e4%b8%ad%e9%a2%91%e6%84%9f%e5%ba%94%e5%8a%a0%e7%83%ad%e7%b3%bb%e7%bb%9f%e4%b8%8a%e7%9a%84%e5%ba%94%e7%94%a8898

FIG 2

Working mode selected, please input parameters for PID self-tuning. The target temperature and time is must for self-tuning, when time is up, self-tuning will stop, or users could stop self-tuning according to the temperature. When PID self-tuning is finished, device will start production.

%e7%bb%b4%e6%8e%a7%e4%ba%a7%e5%93%81%e5%9c%a8%e4%b8%ad%e9%a2%91%e6%84%9f%e5%ba%94%e5%8a%a0%e7%83%ad%e7%b3%bb%e7%bb%9f%e4%b8%8a%e7%9a%84%e5%ba%94%e7%94%a81011

FIG 3

Time control mode: users could set preheat temperature, preheat time, heat preservation temperature and heat preservation time, etc according to their requirements. Recipe function could make settings become more convenient. Products’ name could be marked by numbers English and Chinese.

%e7%bb%b4%e6%8e%a7%e4%ba%a7%e5%93%81%e5%9c%a8%e4%b8%ad%e9%a2%91%e6%84%9f%e5%ba%94%e5%8a%a0%e7%83%ad%e7%b3%bb%e7%bb%9f%e4%b8%8a%e7%9a%84%e5%ba%94%e7%94%a81136

FIG 4

Temperature control mode: it uses temperature-time-temperature mode, it means device will control temperature to next target within setting time. Temperature’s unit is ℃, time’s unit is minute. Please see the following example.

stage Time TEMP Note
0 c00=50 It is initialized TEMP set by users.
1st t01=30 c01=100 The TEMP will change from 50 to 100 within 30 minutes.
2nd t02=60 c02=400 The TEMP will change from 100 to 400 within 60 minutes.
3rd t03=120 c03=400 Constant temperature of 400 ℃ for 2 hours.
4th t04=10 c04=390 The TEMP will change from 400 to 390 within 10 minutes.

Because there is no cooling system, this equipment can only rely on the outside temperature cooling naturally.

This system can jump stage of heating, suppose now warming in the 1st of heating, the user can jump straight to the 4th.

%e7%bb%b4%e6%8e%a7%e4%ba%a7%e5%93%81%e5%9c%a8%e4%b8%ad%e9%a2%91%e6%84%9f%e5%ba%94%e5%8a%a0%e7%83%ad%e7%b3%bb%e7%bb%9f%e4%b8%8a%e7%9a%84%e5%ba%94%e7%94%a81541

FIG 5

%e7%bb%b4%e6%8e%a7%e4%ba%a7%e5%93%81%e5%9c%a8%e4%b8%ad%e9%a2%91%e6%84%9f%e5%ba%94%e5%8a%a0%e7%83%ad%e7%b3%bb%e7%bb%9f%e4%b8%8a%e7%9a%84%e5%ba%94%e7%94%a81543

FIG 6

Parameter Settings screen as FIG 7 shows

%e7%bb%b4%e6%8e%a7%e4%ba%a7%e5%93%81%e5%9c%a8%e4%b8%ad%e9%a2%91%e6%84%9f%e5%ba%94%e5%8a%a0%e7%83%ad%e7%b3%bb%e7%bb%9f%e4%b8%8a%e7%9a%84%e5%ba%94%e7%94%a81582

FIG 7

3.Characteristic

Those HMI and PLC have high precision in temperature; users could set heating time and temperature in this project. Hardware list as following shows:

  1. LX3V-1212MR *1
  2. LX3V-4TC*2
  3. TemperatureMeter*6

Function——History trend chart

$
0
0

1.General
The real-time data in HMI cache will display curve graph, which X axis represent as time, Y axis represent as data. The history trend chart reads the data from data record function.

2.Settings for history trend chart
This sector introduces the function setting and display setting in PIstudio software for history trend chart.

2.1 Function setting
The function setting for it is the same as Data record setting, so please refer to the data record document.

2.2 Display setting
PIStudio software provides object for displaying the data in curves, please select the [Chart]->[History Trend Chart] object.

Operation Procedure
1)Select the object, and put it in editing area;
2)Double click object to open the object setting screen as figure 1 shows;
1
Appearance
Background style: there are four modes, style 1 and style 2 are gradient mode, style 3 is solid color mode, and style 4 is transparent.
Number of X, Y axis: the number of grids to be displayed on the X, Y axis can be set from 1 to 10 divisions.
Transparency: transparency can be set from 0 to 100%. When set to 0, the background is completely transparent.
Color setting: color 1 refers to the appearance of the trend graph background color, color 2 refers to the background color within the grid.
Show point: check it for displaying the data points of each trend graph highlighted as dots;
Show slide: when the slider is enabled, the trend graph will show the data for the slider and the curve for the corresponding time point of the slider.
Curve buffer: It used for select original data for curves, the select windows as following picture shows. For example, select [#1:GroupName1], the curves setting sub-window which in the bottom left of setting windows will display the corresponding number of curves.
2
Start address: Custom object for query function, HMI system assign addresses according to the settings, and four control key and query screen will be created, users can see the query detailed in this query screen.
Screen (One object one screen): It is used for setting query screen number;
Dynamic channel ID: It occupies 8 addresses; each address corresponds to the curve channel number. For example, the address is set to HDW0, it takes up HDW0 to HDW7, if the value of HDW0 is 3, and the first curve in the trend chart shows the value of the Channel 3.
Range: It is used for setting displaying value range, if check [Variable], the range can be set by addresses;
3)Click the [OK] button to save the settings and exit;

3.Example
When HMI is running, the screen as the Figure 2 shows, the object doesn’t display any curves.
3
Users can click the blue button which one the top left corner of object to open the operating buttons, and then click the second button, the curves are displayed, as following Figure shows.
4

Solution——Recompile error

$
0
0
  1. Error

When recompile .hmt file, you may get the following error, let me tell you the reason and solution for it.

1

2. Reason:
So far, WECON released 2 different software version, the old one called “LeviStudio”, the new one called “LeviStudioU”. Both of they will create .hmt file after compiling, but the project file format of LeviStudio is .hmp, the project file format of LeviStudioU is .ump, those 2 formats are not compatible with each other. So if your project was made by LeviStudio, but now you are using LeviStudioU, this error will appear.And vice versa.

3. Solution:
Please use right software version for recompile. If you didn’t want to install 2 versions software in your PC, please send your .hmt file to us, we would recompile it for you.

Communication——MODBUS TCP/IP

$
0
0

1.General
1)The application layer of WECON HMI makes use of Modbus TCP, which makes industrial Ethernet data exchange achievable.
2)It’s easier to interconnect with different systems: available to management network, real-time monitoring network and field devices communication.
3)Low cost of network’s implementation: available to apply a common network component.
4)High data rate: high transmission capacity, the transmission result of 100M Ethernet is 4000 Modbus TCP messages per second, while each message can transfer 125 words, which is equivalent to 4000×125=500000 analog data (8000000 switch).

2.Parameter Settings
This sector introduces the setting in HMI.

2.1 HMI IP setting
Operation Procedure
1)Click [Project] in menu;
2)Click [Project Settings] in [Settings] toolbar to open the setting screen;
3)Click [HMI IP] in setting screen, and enter the IP as Figure 1 shows;
1
4)Click [OK] to save the settings;

2.2 HMI communication setting
Operation Procedure
1)Click [Project] in menu;
2)Click [Communication] in [Settings] toolbar to open the setting screen;
3)Select the protocol;
4)Set the TCP/IP parameters ;
PLC IP Address: It is for setting the communication device’s IP (salve device);
PLC port No.: It is for setting the communication device’s port;
Network: It is better to use the default, but also check the real device network type;
Click [OK] to save the settings in TCP/IP parameters;
2
5)Click [OK] to save the settings;

3.Conclusion
Modbus protocol is field-bus protocol which only consists of physical layer and data layer. It’s particularly suitable for the application situation with simple architecture and low cost. Through supporting Modbus TCP/IP protocol, WECON touch panel is able to communicate with PC and other devices. It not only reduces the cost of system design, but also increases the versatility of the equipment, which provides convenience for users.

Viewing all 170 articles
Browse latest View live