Difference between revisions of "MC-Basic:WRITEIDNSTRING"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<drive>''" to "''<''drive''>")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:WRITEIDNSTRING}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
WriteIDNString Drive=''<''drive''> IDN''=<''value''>'' String <nowiki>|</nowiki> Value =''<string>'' {Element=<''element''>}
+
WriteIDNString Drive=''<''drive''> IDN''=<''value''>'' String <nowiki>|</nowiki> Value =<''string''> {Element=<''element''>}
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 11: Line 12:
 
|DESCRIPTION=
 
|DESCRIPTION=
 
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.
 
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.
 
{{Note/Important| '''THIS COMMAND IS OBSOLETE'''}}
 
  
 
|TYPE=
 
|TYPE=
''<''drive''>: Long<br>
+
<''drive''>: Long<br>
<''value''> : Long<br>
+
<''value''>: Long<br>
 
<''element''>: Long<br>
 
<''element''>: Long<br>
''<string>'' : String
+
<''string''>: String
  
 
|RANGE=
 
|RANGE=
''<''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>
 
<''element''>: 1 to 7<br>
''<string>'' : Valid string for the IDN
+
<''string>'': Valid string for the IDN
  
 
|UNITS=
 
|UNITS=
Line 36: Line 35:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write only. Executed only in SERCOS communication phases 2, 3 and 4.
+
*Write only
 +
*Executed only in SERCOS communication phases 2, 3 and 4
 +
*Not supported in EtherCAT system
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 44: Line 45:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:IDNSTRING|IDNSTRING]]
+
* [[MC-Basic:IDNSTRING|IDNSTRING]]
* [[Axystems:MC-Basic:IDNVALUE|IDNVALUE]]
+
* [[MC-Basic:IDNVALUE|IDNVALUE]]
* [[Axystems:MC-Basic:WRITEIDNVALUE|WRITEIDNVALUE]]
+
* [[MC-Basic:WRITEIDNVALUE|WRITEIDNVALUE]]
  
[[Category:Axystems:Obsolete|WRITEIDNSTRING]]
+
[[Category:Obsolete|WRITEIDNSTRING]]
  
 
}}
 
}}

Latest revision as of 16:54, 2 May 2017

Language: English  • 中文(简体)‎

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.

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
  • Not supported in EtherCAT system

Examples

WriteIdnString Drive = 1 IDN = 141 string = “B-102-A”                 ‘Motor name

WriteIdnString Drive = 1 IDN = 141 value = “B-102-A”                 ‘Motor name

See Also