Difference between revisions of "MC-Basic:WRITEIDNSTRING"
m (Text replace - "''<value>''" to "<''value''>") |
m (Text replace - "''<element>''" to "<''element''>") |
||
Line 4: | Line 4: | ||
|SYNTAX= | |SYNTAX= | ||
− | WriteIDNString Drive=''<drive>'' IDN''=<value>'' String <nowiki>|</nowiki> Value =''<string>'' {Element='' | + | WriteIDNString Drive=''<drive>'' IDN''=<value>'' String <nowiki>|</nowiki> Value =''<string>'' {Element=<''element''>} |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 17: | Line 17: | ||
''<drive>'': Long<br> | ''<drive>'': Long<br> | ||
<''value''> : Long<br> | <''value''> : Long<br> | ||
− | '' | + | <''element''>: Long<br> |
''<string>'' : String | ''<string>'' : String | ||
Line 23: | Line 23: | ||
''<drive>'': 1 to 254<br> | ''<drive>'': 1 to 254<br> | ||
<''value''> : 1 to 65535<br> | <''value''> : 1 to 65535<br> | ||
− | '' | + | <''element''>: 1 to 7<br> |
''<string>'' : Valid string for the IDN | ''<string>'' : Valid string for the IDN | ||
Revision as of 14:50, 17 March 2014
This command writes the value of a specified element of an IDN to a specified drive. It should be used when writing to an IDN that takes string values.
IMPORTANT | |
THIS COMMAND IS OBSOLETE |
Short form
WISTR
Syntax
WriteIDNString Drive=<drive> IDN=<value> String | Value =<string> {Element=<element>}
Availability
All versions
Type
<drive>: Long
<value> : Long
<element>: Long
<string> : String
Range
<drive>: 1 to 254
<value> : 1 to 65535
<element>: 1 to 7
<string> : Valid string for the IDN
Scope
Configuration, Task or Terminal
Limitations
Write-Only. Executed only in SERCOS communication phases 2, 3 and 4.
Examples
WriteIdnString Drive = 1 IDN = 141 string = “B-102-A” ‘Motor name
WriteIdnString Drive = 1 IDN = 141 value = “B-102-A” ‘Motor name