Difference between revisions of "MC-Basic:IDNSTRING"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
 
(6 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
This function is used to read the value of a specified element of an IDN from a specified drive. It should be used when reading an IDN that takes string values.
 
This function is used to read the value of a specified element of an IDN from a specified drive. It should be used when reading an IDN that takes string values.
  
{{Note/Important| '''THIS COMMAND IS OBSOLETE'''}}
 
  
 
|TYPE=
 
|TYPE=
Line 19: Line 18:
 
|RANGE=
 
|RANGE=
 
<''drive address''>: 1 to 254<br>
 
<''drive address''>: 1 to 254<br>
''<IDN>'': 1 to 65535<br>
+
<''IDN''>: 1 to 65535<br>
 
<''element''>: 1 to 7
 
<''element''>: 1 to 7
  
Line 32: Line 31:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read only. Executed only in SERCOS communication phases 2, 3 and 4.
+
*Read only  
 +
*Executed only in SERCOS communication phases 2, 3 and 4
 +
*Not supported in EtherCAT system
 +
 
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 38: Line 40:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:IDNSTATE|IDNSTATE]]
+
* [[MC-Basic:IDNSTATE|IDNSTATE]]
* [[Axystems:MC-Basic:WRITEIDNSTRING|WRITEIDNSTRING]]
+
* [[MC-Basic:WRITEIDNSTRING|WRITEIDNSTRING]]
* [[Axystems:MC-Basic:WRITEIDNVALUE|WRITEIDNVALUE]]
+
* [[MC-Basic:WRITEIDNVALUE|WRITEIDNVALUE]]
  
[[Category:Axystems:Obsolete|IDNSTRING]]
+
[[Category:Obsolete|IDNSTRING]]
  
 
}}
 
}}

Latest revision as of 09:19, 22 May 2014

This function is used to read the value of a specified element of an IDN from a specified drive. It should be used when reading an IDN that takes string values.

Short form

Istr

Syntax

?IdnString (<drive address>, <IDN>, <element>)

Availability

All versions

Range

<drive address>: 1 to 254
<IDN>: 1 to 65535
<element>: 1 to 7

Scope

Configuration, Task or Terminal

Limitations

  • Read only
  • Executed only in SERCOS communication phases 2, 3 and 4
  • Not supported in EtherCAT system

Examples

?IdnString(1, 95, 7)                                     ‘Get diagnostic message from drive

See Also