- {{item.name}}
在STEP 7 (TIA 博途)中,如何从MS Excel中导出变量到PLC数据类型?
- 0
- 1871
- 1120
STEP 7 (TIA Portal) gives you the option of importing variables from Microsoft Excel into your PLC data type.
Description
In this video we show you how to import variables from Microsoft Excel into a PLC data type and into a data block in TIA Portal.
Instructions
Prepare your data in Microsoft Excel as shown in this example. To then import your variables to STEP 7 (TIA Portal), proceed as follows.
- In Excel you mark all the cells that include your variables and save the data in the buffer memory using the key combination "CTRL+C".
- Open the TIA Portal.
- Open your project tree and add a new PLC data type.
- Assign a name for the new PLC data type, e.g. ControlVariables.
- In the "PLC data type" select the first upper line.
- Then click on the top left cell and press the key combination "CTRL+V".
Note
With this procedure, all variables are displayed correctly. - Create a new global data block.
- Assign a name, e.g. Control Variable.
- Mark the first upper line in the data block.
- Click on the top left cell and press the key combination "CTRL+V".
- Save and compile your project.
The procedure shown also works analogously for copying into variable tables. The reverse procedure, copying from the TIA Portal and pasting into Excel, also works without any problems.
FAQ changes since last release
The post has been revised and the video added.
Additional Keywords
UDT (User-Defined Data Type)
您可以前往全球资源库查看此文档: http://support.automation.siemens.com/CN/view/zh/78786898
- 评论
- 收藏 收藏
- 点赞 点赞
- 纠错 纠错
关联文档
看过该文档的用户还看过哪些文档



西门子官方商城




{{item.nickName}}