[Yakong] How does KingIOServer modify data types in batches?

Hello, everyone, I am Lei Gong!
KingIOServer was used to collect Siemens S71500 data on site, and the data value was found to be incorrect during debugging. After investigation, the collected data type in the variable collection property was LONG, which should actually be FLOAT. After setting it to FLOAT, the data was normal. Due to the relatively large amount of data, it is time-consuming and labor-intensive to modify one by one, and batch modification is required. The batch modification operation process is recorded below.

1. Situation description

The variable type of the KingIOServer program needs to be changed from LONG to FLOAT, how to operate in batches with many points.

insert image description here

2. Operation steps

1. Click to select the group where the variables to be modified in batches are located, and then click Data Type to sort the group of variables by data type.

insert image description here

2. Select all variables whose data type is IOFloat, and then click [Export Variables – Single Sheet Page] to export the variables to be modified.

insert image description here

3. Fill in a file name and click the [Save] button.

insert image description here

4. The export speed is very fast, and the [Export variables completed] prompt window will pop up, click the [OK] button to close it.

insert image description here

5. Open the variable file (.csv type) just exported, change [LONG] in the ItemDataType column to [FLOAT], and then click Save.

insert image description here

6. Since you are using WPS, a prompt box will pop up, just click [Yes].

insert image description here

7. Return to the KingIOServer project designer, select the group where the variable is located, and click [Import variable – single sheet page],

insert image description here

8. Select the modified file, and click the [Open] button.

insert image description here

9. In the import variable window, select all the modified variables, right-click and select [Replace], and then click the [Import] button.

insert image description here

10. Pop up [Import variables completed], indicating that the import is successful, click the [OK] button to close the pop-up window.

insert image description here

11. Run again, the data is normal, and the data type has been modified in batches.

insert image description here

postscript

Configuration software such as Yakong KingIOServer and Beijing Jiekong can quickly edit data by exporting and importing data tables during data collection, which can greatly shorten the development time and is very convenient.

Guess you like

Origin blog.csdn.net/u013097500/article/details/131617413