安装gsd文件时出现错误代码13:4343解决-西门子PLC的DI_REAL指令
时间:2016-01-12 08:25 来源:未知 作者:admin 点击:次
在安装GSD时,要关闭STEP7的一些窗口。
1、有关13:4343错误:
13:4343 : An update is presently not possible. In one or more STEP 7 applications at least one GSE file or type file is being referenced.
2、原因:
In the different S7 applications there are objects (stations) open in which DP slaves are used. Thus it is no longer possible to install new GSD or type files, or even to update them.
3、解决办法:
Please close the station window in the hardware configuration and all other STEP7 applications (such as NETPRO, for example) that could access the GSD file . The Hardware Configuration application remains open however without content. Then you can install the GSD file.
西门子PLC的DI_REAL指令
plc的DI_REAL指令符号
表1为DI_REAL转换指令说明表。
表1 DI_REAL转换指令说明表
DI_REAL(将双整型数转换为浮点数)指令,读输入参数IN的内容,是一个双整型数(32位),并转换成浮点数,转换的结果由参数OUT输出。ENO总是与EN有相同的信号状态。
表2为DI_REAL转换指令对状态位的影响。
表2 DI_REAL转换指令对状态位的影响
如图2所示,如果输入I0.0的信号状态为“1”,然后,读作为双整型数的MD8的内容,并转换成浮点数。转换结果存放在MD12中。如果转换没有被执行(ENO=EN =0),则输出Q4.0置成“1”。
图2 DI_REAL转换指令应用举例
(责任编辑:admin) |
- 上一篇:使用WinCC Industrial Data Bridge将WinCC的实时数据通过OPC DA记录到
- 下一篇:S7-200的变量批量导入wincc flexible变量表-西门子PLC的DI_BCD指令