使用搜索功能查看 Kepware 的信息库,其中包含 500 多篇知识库文章。缩小搜索结果范围,或在下面的搜索字段中输入您的查询。

或者,如果您无法找到解决方案,我们还有另一个资源:我们的 PTC eSupport Portal。 如果系统提示您登录 eSupport Portal,您可以使用“我的 Kepware”凭据。需要一个“我的 Kepware”帐户吗?在此处创建

搜索解决方案结果:
View All Solutions

Kepware Knowledge Base: Solution


Converting a String Value to a Number


Last Update: 2018/11/12

For information on converting a string value to a number, refer to the instructions below.

  1. In the left-hand pane of the U-CON Transaction Editor, double-click on a tag to open the Tag Properties.
  2. Then, set the data type and data format to convert the data.

Note: The data type is what client applications can access. The data format is what is necessary to communicate to the device. For example, to convert the ASCII string 123.456 to a Float, select a data type of Float and a data format of ASCII Real. If available, click Format propertiesto set the data format's properties.