显示标签为“customize hmi”的博文。显示所有博文
显示标签为“customize hmi”的博文。显示所有博文

2013年9月21日星期六

Wecon HMI Customize CAN Bus design instruction

Wecon HMI Customize CAN Bus design instruction

WECON CAN bus protocol can be customized to satisfy different customers’ different needs. It’s the data transfer rules package of CAN chip.

1. Data send
When HMI prepare to send data, the ID number and DATA must be filled. According to CAN protocol, the limit of ID length is 4 bytes while DATA is 8 bytes. Customer can modify these contents through HMI’s script.

Instruction list of special register in HMI:

















2. Data receive

The picture below is the data receive flow chart of HMI CAN bus.
The example of using script to receive CAN BUS data:

http://www.wecon-tech.com/n1790693/Wecon+HMI+Customize+CAN+Bus+design+instruction.htm

2013年8月26日星期一

Wecon HMI Multi-link instruction

1. Notes
Use of multi-machine connectivity, please note the following precautions:
1. Please ensure the master and slave is the same as the project. In addition to the master and slave parameters.
2. In order to ensure the project runs correctly, it is recommended to use the script. To use the script, the script used in the external address must be added to the [Project Configuration] / [System parameters] / [address] additional multi-level interconnect.
3. Master and slave interface parameters must be the same.
4. In the choice of master and slave protocol, the protocol must ensure that the order is the same.
5. Slave station number must be consecutive numbers starting from 1, can not be repeated.
6. Set the number from the machine the more communication speed may be slower.
7. Using the multi-machine connectivity, it is recommended to use RS485 communication mode, when only one from the machine, you can also use the RS232.
2. Use of multi-machine interconnected on Suggestions1. In order to avoid future trouble, please try to keep master and slave is the same as the project.
2. Try not to use the script, if we must use, use read-only script (which can only read data from the PLC can not write).
3. Although the non-slave multiprocessor interconnection agreements not to use the serial port is actually connected PLC, but is not available at this time. For example, COM1: MODBUS RTU, COM2: Multi-Link Protocol. Although the COM1 from the machine did not pick the MODBUS PLC, but this time can not pick up COM1 other PLC.
4. The number of received more from the machine, in theory, communication speed is slower. (Pick six from the current test machine, update requires 1 ~ 3s).
5. For immunity may be appropriate to reduce the baud rate.
6. Multi-computer interconnection protocol validation 1 7 EVEN unavailable.
7. Internal registers associated groups
HSX180.0 interconnected multi-machine configuration file to delete
HSW181 modify master and slave: 0: Slave 1: Host
HSW182 Station No.
HSW183 number from the machine
3. Q & A : 
All of the following problems are no problem in assuming the premise wiring:

Q1: When the customer feedback on a multi-machine Internet communications are not, please confirm with the client the following points:
*  Check whether the project configuration is correct.
[Project Configuration] / [System parameters] / [address] for additional multi-level interconnect (see Figure 1)
*  Check the project‘s master and slave. Screen only 1 host, the rest from the machine. Slave station number is the consecutive number starting from 1.


Figure 1

Q2: Why can display from the machine, but can not write, or write data after the error, write dislocation?
*  Check the host project. [Project Configuration] / [System parameters] / [] multi-level interconnect additional address number from the machine and you pick the number from the machine are the same. (Can not write, write data after the error)
*  Check the project from the machine. [Project Configuration] / [System parameters] / [address] multistage interconnection additional HMI station No. 1 is from the beginning of continuous data. Whether the repeat. (Can not write, write data after the error)
*  Refer to Figure 1, see the stop bit, data bits, parity bit is consistent with Figure 1.
(Can not write, write after the data errors, write dislocation)
*  Compile all works, check the project directory MLAddrInfo.xml are the same. Please use text comparison software comparison. To be exactly the same. (Can not write, write after the data errors, write dislocation)
*  Check whether the script. If you use a configuration script in the [project] / [] multi-level interconnection does not add additional addresses, you must add. (Some data not shown)

Q3: screen data is not run correctly (in a case of using a script)
*  If you use the script is not read the script, please go to the customer‘s engineering and analysis.

2013年8月23日星期五

Wecon HMI Function Manual: Percentage Trend Graph

Wecon HMI Function Manual: Percentage Trend Graph

    The percentage trend graph provides the following features: zooming in, zooming out, moving up, moving down and resetting. The slider displays the current curves’ value and the current time.

A.   The continuous 5 word addresses are the percentages of operations, one address is according to an operation. For example, in LEVI studio we set the reading address as HDW200, then HDW200 and the following addresses means: HDW200 ->zooming in, HDW201 ->zooming out, HDW202 ->moving up, HDW203 ->moving down, HDW 204 ->resetting. If we set HDW200 to 5, every operation the percentage trend graph will zoom in 5%.

B.    If we set the resetting address to 1, the percentage trend graph will be reset.
    We usually use word switch to set the operation type, and the according steps. And of course, you can use other components to set the addresses’ values.


The reading addresses description is as the following.

2013年8月19日星期一

Instructions for Wecon hmi OpenCAN protocol


Update Time:08-03-2013 This document is the instruction for OpenCAN1.1
                                     
This document is the instruction for OpenCAN1.1. Welcome to your suggestion.
l Start………………………………….…….............………..2
l Main interface……………………………………..…..……2
l Data access interface…………………………........………..3
l Register address edit interface…………..…………………..4
l Example…………………………………….……….………5
start
1. Choose OpenCAN protocol in the setting.
2. Start LEVISTUDIO. Select “Setting”-“communication port settings”-“OpenCAN setting”
Main interface
1. Data access: add a frame related to the register address;
2. Frame list: it shows the main parameters of each frame added;
3. Modify: modify the new-added frame in the “data access”;
4. Delete: delete the elected frame in the “data access”. If there’s no selected frame, it will delete the first frame;
5. Clear: delete all the frames;
6. Browse: display “.xml” type configuration file in IE;
7. Finish: finish the setting for frame and exit.
Data access interface
1. ID: set the ID for a CAN frame. It’s hexadecimal type;
2. ID distribute: divide ID as PF, PS and SA parts;
3. Frame type: select the frame as standard type or extension type;
4. Frame format: select the frame as data frame or remote frame;
5. Data: set the data part of CAN frame. Two bits stands for a hexadecimal. Divided by space. The most support 8 bytes data according to CAN definition;
6. Application address: set the register address related to the CAN frame. The address is corresponding to the register address in the configuration software. The data are distributed to the address sequent.
7. Interactive: there are two modes for HMI to process information. One is HMI send the frame to device and then the device get the frame and deal with. The other is the device send the frame to HMI. And then HMI get the frame and deal with.
(1) receive and send: if we select this option, then the HMI will be set as passiveness part. The HMI will response after getting the CAN frame information. If this is not chosen, the effect is contrary.
(2) response mode: include no response, affirm response and data response.
No response: device or HMI won’t receive the response;
Affirm response: the device or HMI will receive affirmed response;
Data response: the device or HMI will receive response with data. Need to set the to-be-separated data in the response frame to be stored in the register address.
(3) response ID: if the address want to receive data in different frame ID, that need to set this option. Choose “different with sent mode” and type in different ID in the blank behind.
Register address edit interface
1. Current address: display the register type and address set in data access interface
2. Trigger condition: based on the two operations of register read and write.
If select read, the address read the data in device. The read mode is repeat-sending the frame that customer set.
If select write, the address writes the data on the HMI to the device. The mode is HMI will send the frame to device once when the HMI is done a write operation.
3. Data operate: set the read and write operation in trigger condition.
If the trigger condition is read-operation, we need to set the position and length of data which current address will get.
If the trigger condition is write-operation, there are two situations.
1.) If not select “add the write data to frame” option, when customer operate write-operation, the set frame will be sent directly;
2.) If select “add the write data to frame” option, when customer operate write-operation, the program will send the data into the frame with position and length.
Position and length format:
1.) If the register address is bit, then the decimal point is required to express the bit address in the register. For example, 1.1 stands for the first bit of the first byte in the eight-byte frame.
2.) If the register address is byte, then we need only integral number to stand for it. For example, 1 stands for the first byte in the eight-byte frame. The length unit is byte.
4. Add: add the current setting.
5. Close: close the dialog box.
Example
1. set a CAN frame for communication
http://www.wecon-tech.com/n1789742/Open+CAN+instruction.htm

2013年8月18日星期日

Wecon 10.4 inch A8 series HMI,LEVI 8104(-512)

Wecon A8 series HMI Cortex A8 720MHZ CPU,higher speed and better performance.Wifi is supported with optional module.



Type
         LEVI 8104(-512)
◇Performance specification◇
Display size
10.4 inch
Screen type
TFT ture color screen
Colors Display
65536 Colors
Resolution
800 x 600
Active Display Size
211.2W x 158.4H mm
Brightness control
adjust by Levistudio
Touch screen
Precision resistance
◇Backlight◇
Backlight

LED
Backlight life
Over 50000 hours
Auto sleep function
set by HMI configuration interface
◇General specificatoin◇
CPU
720MHZ (Cortex A8)
Video input port
/
Rated Voltage
DC24V
Voltage Range
DC16-28V
Rated Power
<;;5W
Operating Temperature
-10℃~+60℃
Degree of Protection
Complies with IP65(touch panel)
Dimensions(mm)
299.0W x 222H x 54D mm
Cutout Size(mm)
288.0±0.5W x 212±0.5H mm
Certificate
CE/FCC
◇External port◇
COM port(COM1)

RS232C/RS422/RS485(9 pins)
COM port(COM2)
RS232C/RS485(9 pins)
COM port(COM3)
Optional
USB HOST
Standard
USB DEVICE
Standard
Ethernet port
Optional
CAN OPEN DEVICE
Optional
Expansion storage port
SD card(Standard)
Audio output
Optional
◇Storage◇
Screen picture storage
FLASH 256M
DDR
DDRIII 256M(-512 model is 512M)