2014年6月29日星期日

Wecon hmi user-defined protocol settings

When current protocols can't meet customer's need, or the customers can't find corresponding protocol to devices(modules) they developed by themselves, hmi user-defined protocol is exactly what the customers need.

Startup of ‘User-defined Protocol

1. Select ‘User-defined Protocol Connection’
2. Open the configuration dialog box of User-defined Protocol
  a. Start from the LEVI communication configuration
  b. Initiate the User-defined Protocol program separately
 

Program interface

.main interface

1. Instruction input: enter the instruction you want to use
2. operation type: chose the operation type of instruction:Read register or write register transmitting check: add transmitting check
3. coding method: point out the coding method of instruction:HEX or SACII
4. other settings:
  a. ‘no returning instruction: appoint that no instruction returns after a specified instruction is sent.
  b. ‘Sending after receiving instruction: appoint that receive  a specified instruction first and then send the instruction.
5. ‘single transmission’instruction: this instruction appoints specified bit to control single transmission
  a. transmission-controlled bit: set transmission-controlled bit of the instruction
6. instruction adding: add an instruction after setting paramaters
7. cancel: cancel the current operation
8. append: append a new instruction
9. modify: modify currently selceted instruction
10. delete: delete currently selceted instruction
11. clearclear all instructions and delete the configuration file
12. instructions list: browse all the adding instructions to be send
13. component addresses list: browse the addresses of adding components,which is in accordance to the sending instructions
14. import: import the configuration file user produces into the project directory
15. export: export the file user has configurated to any location 
16. browse: browse the files user has configurated
17. exit: exit the program

.Sub-interface

Check settings
1. transmit check: add check bits to an instruction
2. return check:
  a. starting position: point out the starting position of the instruction used for check calculation in an return instruction
  b. length: length of the instruction used for check calculation
  c. different with transimt check: set return check when return check is different with transmit check
3. add control characters for an instruction: add control characters for an instruction in ASCII mode

Component settings

The component parameters set in this part is in accordance to the component set in the project.

 
Component type: select bit component or byte component;
Component address: set the component address for the processed instruction
Component word: words for component display
Notes: simple notes on the component

Data/length setting
 
Note:the return data is available to read operation,while the written data is available to write operation.

Return data: point out the data part in a return instruction
  a. location: the location of the data parts first byte in the whole string of  instruction(index from 1)
  b. length: the number of bytes of the data part
written data:
  a. drive improved instruction: in this option,there is no need to set data part and check part for a sending instruction.Instead,it is added by the drive.(currently only support the situation that check part follows closely to data part)
  b. location: similar to the location of return data
  c. length: similar to the length of return data

Instruction length settings
 
Sending length: the program will calculate length based on the sending instruction user has set.
Return length: user sets the length of a sending instructions corresponding return instruction.

Check interface
 
1. entered instructionsthe sending instructions user has set.
2. participated check instructions:instructions used to calculate check bits
3. check type: check type selection
4. calculationcalculate check bits based on the check type selected
5. fetch bits from the results: fetch bits from the check bits calculated
6. instruction synthetisesynthetise the original instruction and check bits
7. results: the instruction to be send which has been added check bits

没有评论:

发表评论