Welcome Customer !

Membership

Zhejiang Saikong Electrical Technology Co., Ltd.
Free Member ·1YRS
,
Other

Main Products: 变频器

Xwboo>Technical Article>How to set the communication parameters of the inverter

Zhejiang Saikong Electrical Technology Co., Ltd.Free·1YRS

  • E-mail

    amy@safeinvert.com

  • Phone

  • Address

    #22 Liujiang Avenue, Liushi Town, Yueqing City, Zhejiang Province, China

Contact Now
How to set the communication parameters of the inverter
Date: 2022/11/3Read: 34

How to set the communication parameters of the inverter

Jun 03, 2022

How to set the communication parameters of the inverter

As mentioned in the previous article, the asynchronous data transmission method adopted between the inverter and the host computer also explained the asynchronous. Since it is asynchronous, it is not to complete the one-time transmission within the appointed time, but to let the inverter perform the corresponding function as needed. Then, how to transmit data between the inverter and the host computer?



A character is the smallest access unit in a data structure, generally composed of 8-bit binary numbers, which is a general term for letters, numbers and symbols. Therefore, the transmission between the inverter and the host computer is in units of characters. The so-called asynchronous is the transmission of one character by one character. When there is no data transmission, both parties remain idle.


The transmission format of characters must also be agreed by both parties, and there must be a fixed transmission format. The transmission of a character includes start bit, data bit, check bit and stop bit. The start bit represents the beginning of a character information, occupying one bit, which can be 0 or 1. Of course, 0 or 1 is determined by high and low levels.



When the inverter receives this bit, it will only accept the command sent by the host computer. If the level does not change, the inverter will always be in a waiting state. Next is the data content to be transmitted, that is, the data bits, usually 7 or 8 bits, that is, the content of a "character". The next step is the check bit, which is to judge the correctness of the transmitted data. If it is odd (O) check or even (E) check, it will occupy 1 bit, and if there is no check, no bit will be occupied. Finally, there is the stop bit, which represents the end of a character transmission and occupies 1 or 2 bits.


If the start bit is 0, then the stop bit is 1, and it remains in the state of 1 until it becomes 0, and then it starts to accept the next character.



It needs to be clarified here that both parties must have the same format. For example, the length of data bits is either 7 bits or 8 bits, and both parties are either odd parity, even parity, or no parity. , the stop bit is either 1 or 2. If they do not agree, the two parties cannot communicate.


There is also a particularly important parameter that needs to be clarified, that is, the baud rate, which refers to how many bits (Bit) can be transmitted in 1s. In inverter communication, the baud rate of 9600 is usually used.



Why mention the baud rate here? It is because the transmission format of baud rate + characters constitutes the concept of communication format, which is an important basis for setting the communication parameters of the inverter. For example, 8N1 9600 is the abbreviation of the communication format, which means that the data bits are 8 bits, no parity, the stop bit is 1 bit, and the baud rate is 9600. Only when these two parties are consistent can they be guaranteed to pass.


Having said so much above, it is to clarify how to set the communication parameters of the inverter and how to keep it consistent with the host computer, because this is an important basis for ensuring that both parties can communicate, and neither is indispensable. I hope it can help, if there is something wrong, please give me more advice.