Difference between revisions of "MC-Basic:WRITEIDNVALUEDOUBLE"
m (Text replace - "''<connection>''" to "<''connection''>") |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:WRITEIDNVALUEDOUBLE}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 17: | Line 18: | ||
<''element''> is optional. In general, only element 7 is used (default). | <''element''> is optional. In general, only element 7 is used (default). | ||
− | |||
|TYPE= | |TYPE= | ||
− | '' | + | <''drive''>: Long<br> |
− | '' | + | <''IDN number''>: Long<br> |
<''value''>: Double<br> | <''value''>: Double<br> | ||
− | ''<IDN element | + | ''<IDN element''>: Long |
<''ring''>: Long | <''ring''>: Long | ||
<''connection''>:Long | <''connection''>:Long | ||
Line 29: | Line 29: | ||
|RANGE= | |RANGE= | ||
− | '' | + | <''drive''>: 1 to 254<br> |
− | '' | + | <''IDN number''>: 1 to 65535<br> |
− | '' | + | <''IDN element''>: 1 to 7 |
<''ring''>:1 | <''ring''>:1 | ||
<''connection''>:0 to 2 for normal systems (0 = chose automatically, 1 = first AT connection, 2 = first MDT connection) | <''connection''>:0 to 2 for normal systems (0 = chose automatically, 1 = first AT connection, 2 = first MDT connection) | ||
Line 47: | Line 47: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | * Write only. | + | *Write only. |
− | * Executed only in SERCOS communication phases 2, 3 and 4. | + | *Executed only in SERCOS communication phases 2, 3 and 4. |
− | * The IDN must be defined | + | *The IDN must be defined |
+ | *Not supported in EtherCAT system | ||
|EXAMPLE= | |EXAMPLE= | ||
Line 64: | Line 65: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:IDNSTRING|IDNSTRING]] |
− | * [[ | + | * [[MC-Basic:IDNVALUE|IDNVALUE]] |
− | * [[ | + | * [[MC-Basic:WRITEIDNSTRING|WRITEIDNSTRING]] |
− | [[Category | + | [[Category:Obsolete|WRITEIDNVALUEDOUBLE]] |
}} | }} |
Latest revision as of 17:11, 2 May 2017
Language: | English • 中文(简体) |
---|
This command writes the Double Type Value of a specified element of an IDN to a specified drive. It is used when writing to an IDN that takes Double Type numeric values.
<element> is optional. In general, only element 7 is used (default).
Short form
WIVALD
Syntax
WRITEIDNVALUEDOUBLE Drive=<drive address> IDN=<IDN number> Value=<value {,<value>}> {Element=<IDN element number>} {Ring=<ring number>} {Connection=<connection number>}
Availability
Since Version 4.7.12 for SERCOS III
Type
<drive>: Long
<IDN number>: Long
<value>: Double
<IDN element>: Long
<ring>: Long
<connection>:Long
Range
<drive>: 1 to 254
<IDN number>: 1 to 65535
<IDN element>: 1 to 7
<ring>:1
<connection>:0 to 2 for normal systems (0 = chose automatically, 1 = first AT connection, 2 = first MDT connection)
Units
<Value> : Double
Default
<element>: 7
Scope
Configuration, Task or Terminal
Limitations
- Write only.
- Executed only in SERCOS communication phases 2, 3 and 4.
- The IDN must be defined
- Not supported in EtherCAT system
Examples
WriteIdnValueDouble Drive=2 Idn=<IDN number> Value=10000 for SERCOS III : WriteIdnValue Drive=2 Idn=<IDN number> Value=10000 Element= 7 Ring= 1 Connection= 0