MC-Basic:WRITEIDNVALUEDOUBLE/zh-hans

From SoftMC-Wiki
< MC-Basic:WRITEIDNVALUEDOUBLE
Revision as of 17:12, 2 May 2017 by Chi (talk | contribs) (Created page with "{{Languages}} == 缩写 == WIVALD == 格式 == WRITEIDNVALUEDOUBLE Drive=<drive address> IDN=<IDN number> Value=<value {,<''value''>}> {Element=<IDN element number>} {Ring=<r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

缩写

WIVALD

格式

WRITEIDNVALUEDOUBLE Drive=<drive address> IDN=<IDN number> Value=<value {,<value>}> {Element=<IDN element number>} {Ring=<ring number>} {Connection=<connection number>}

适用版本

对于SERCOS III通讯,4.7.12版本及以上

描述

此命令用于将IDN的指定元素的双精度浮点型值写入指定的驱动器。 需要写入双精度浮点型数值到IDN时使用。

<element>是可选的,通常element的值只使用7(默认)。

类型

<drive>: Long
<IDN number>: Long
<value>: Double
<IDN element>: Long <ring>: Long <connection>:Long


取值范围

<drive>: 1 to 254
<IDN number>: 1 to 65535
<IDN element>: 1 to 7 <ring>:1 <connection>:常规系统取值0到2(0 = 自动选择, 1 = 第一次自动连接, 2 = 第一次手动连接)

单位

<Value> : Double


默认

<element>: 7

使用范围

配置区,任务区和终端区

限制

  • 只写
  • 仅在SERCOS通信阶段2,3和4执行
  • IDN必须定义
  • 在EtherCAT系统中不支持此命令

例子

WriteIdnValueDouble Drive=2 Idn=<IDN number> Value=10000       
对于SERCOS III通讯:
WriteIdnValue Drive=2 Idn=<IDN number> Value=10000 Element= 7 Ring= 1 Connection= 0

参见