1 hardware interface and communication protocol research

There is an RS232 interface in the basic configuration of Yaskawa Inverter. It uses a computer to monitor one inverter. The communication cable can be directly connected according to the definition of the Inverter and computer communication interface. No additional conversion equipment is required. 1. Inverter installation Block 312 communication card, the computer through a ruler 3232 feet 3485 converter, can be connected to the ruler 3485 bus, to achieve the computer’s parameter management and real-time monitoring of multiple inverters, 2. The inverter uses the standard 0033 communication protocol, The data stream structure consists of a slave address of 1 byte, a function function number of 1 byte, a number of data bytes, and a checksum of 2 bytes.

Slave address 13 corresponds to the connected inverter.

The function function number 03 is only for reading the register contents of the frequency converter, 81 is the feedback test of the communication circuit; 101 is the content of the frequency converter register.

The data has different structure according to the function, when reading the register including 2 bytes start address and 2 bytes to read the number; loop feedback test data is 4 bytes of arbitrary data; write register, including 2 bytes start address 2 The byte writes the number of register bytes and the writer’s data.

Checksum 2 bytes 0 feet, checksum of 16-bit cyclic redundancy check.

The communication interval requirement of the frequency converter is to send information from the communication to receive the information, the interval is not less than the length of the content that corresponds to the selected baud rate to transmit 24 bytes, and similarly, the interval from receiving the information to resending the information from the communication. Also not less than such a time interval.

We use the self-developed serial communication test software to communicate with the inverter and test the communication function one by one to prepare for the next step of software development.


2 monitoring software design

The monitoring software adopts the multi-task feature, establishes a read/write communication queue, and reads the status of the secondary inverter every second under the monitoring status. The parameters will be converted into communication data inserters according to the instructions of the screen input.

The specific approach is to construct a queue with a length of 30 according to the river 00803 Yang03 communication protocol, and use the timer to control the joining or removing of the queue, scanning the queue every 5,1 times. If there is a read/write command execution, the corresponding data of the inverter is read from the serial communication buffer; if no read/write command is executed, whether or not there is a read/write command waiting in the queue is checked. If there is a wait command, the command is fetched and sent to the serial communication send buffer, which does not affect the display operation of the screen at the same time. The design principle of the monitoring screen and parameter screen is to consider the completeness of the system, that is, to ensure that the user sees and modifies all the information provided by the inverter communication protocol; it is to consider the coordination of the screen and the friendliness of the human-machine interface, ie Intuitive and easy to operate.

2.1 Inverter status monitoring screen development First, according to the need to display the content of the screen layout, the screen 800 parent 600 resolution to adapt to all existing notebooks and desktop computers, construct the necessary basic library, and then construct communication and message processing program. In this screen, the computer and the inverter adopt real-time communication mode to read the status data of the inverter regularly and display the current frequency and various states of the inverter in real time on the screen. At the same time, each time the read data is stored in the computer memory, the record can be saved, and the record can also be displayed on the screen. The monitoring screen can also control the forward and reverse rotation of the frequency converter and the frequency command of the operation through a dialog box. The refresh of the monitoring screen is the data received by the communication queue and compared with the original value. When the data is different from the previous data, a message is generated, and the monitoring window is notified to refresh the corresponding display. When communication fails, the alarm will be reported and communication will continue.

2.2 Record and Curve Display Programs The monitor screen stores the most recent 500 real-time records. The record screen displays these historical data. The recording screen sets two types of imaging lenses. The time is controlled by the user; another way is to use curves to display alternative data on the screen for users to compare data changes such as voltage, current, and power during the entire operation. In order to facilitate the user’s comparison, the curve of the important data speed current and power combination is particularly set. These curves can be printed out for analysis or archiving. The recording screen stops communication to ensure the integrity of the data. In order to facilitate the user to save generational data for a long period of time, a record save and read function is set. In order to distinguish the corresponding working conditions of data, instructions and data are also stored simultaneously.

2.3 Parameter Editing Screen The parameters are displayed and edited in 16 ways per screen. The parameter database is set in the program. The information of each parameter is data or function selection, and the data is set its unit and form. If it is selected, it is set to be selectable. content. The data is now an edit box on the screen and the current selection box is selected. When the program is initialized, the last time in the machine is used continuously, and the parameters are communicated according to the user’s operation. At this time, the monitoring data is not read. The user can read all the parameters of each inverter from the inverter to the memory, or write the edited parameters in the memory to the inverter, or write the 16 parameters of the currently edited screen to the inverter or from the inverter. Read out. Parametric drawing also sets the function of parameter storage and read-out from the disk for archiving. It can also print the parameters with the printer for on-site debugging or archiving.


3 software dog program design

In order to ensure the legal use of the software, a software dog is set up in the software. Only the software dog attached to the software on the computer’s print port can start the software operation. In the development of software dogs, we use the software dog products with domestic performance and price comparisons to conduct research on them according to their random data and test software and master the encryption method. According to the dongle program. What needs to be explained here is that instead of using a simple encryption method that simply reads the content in advance, we add specific reading and writing operations to prevent it from being decrypted.

pcAnywhere is a well-known remote control software developed by SYMANTEC, which can be used as a host computer to control a remote computer. It supports a variety of connection methods, including standard modems; built-in security features to meet a variety of security requirements; the system does not require more than 486 ordinary computers to meet the requirements.

Achieving remote monitoring of the 2 ship unloaders at Mawan Power Plant’s coal terminal 1 About the ship unloader The Mawan Power Plant’s coal quay 2 unloader was designed and manufactured by the Austrian company affiliate company, with the highest efficiency 15001 In addition, the unloading of the raw coal needed for the 4X300MW generator set was completed jointly with the ship unloader. The control system is made up of remotely used components. In order to facilitate the driver to monitor the operating conditions of the ship unloader and the lack of maintenance personnel, two SIEMENS monitoring machines were set up, which were installed in the electric room and the driver’s room respectively. Together with the host computer, a monitoring system based on SINECHl Industrial Ethernet was constructed. 1.

The two monitoring machines are equipped with Boundaries, 95 operating systems and Siemens monitoring software, which can display the operational status of the ship unloader and provide fault reporting and diagnostic information. The electrical room monitor is also equipped with 35 programming software that communicates with the PLC host CPU of the SIMATIC S5 through a 3232 communication cable. It can be online and look at the status of the PLC program, thus becoming an engineering station.

Two monitoring machines of the same model, the main hardware configuration 64 Concluding remarks An inverter monitoring software was delivered to users in the first half of 1998, mainly for those who often use an inverter for system integration 2 ship unloader remote monitoring network topology tiuml66CPU32M memory 840M Hard disk 16X drive 1.44 〃 floppy drive industrial Ethernet card 140 feet Ding keyboard mouse.

The unloader is equipped with an extension telephone, and the telephone signal establishes a data transmission channel through the unloader 2 implementation method. Use the unloader to control the spare cable core, and apply for another extension phone, installed in the electric room as an outlet. Yeah 6-pentane transfer data carrier.

Install the modem. Install the 56K external MODEM on the monitor of the electrical room and configure the corresponding driver.

Install and set up the software. Install software on the monitor of the electrical room, make simple settings based on the software instructions, and set the user name and password that are allowed to access to prevent illegal users from logging on. After the installation is completed, the users in the office or other computers that require remote monitoring are deployed in the manner of the controlled end to install users with more complex business conditions and working conditions. The use of monitoring software facilitates the user’s debugging and achieves the desired results.

Leave a Reply

Your email address will not be published.