Difference between revisions of "MC-Basic:IDNSTRING"
m (Text replace - "''<drive address>''" to "<''drive address''>") |
|||
Line 18: | Line 18: | ||
|RANGE= | |RANGE= | ||
− | '' | + | <''drive address''>: 1 to 254<br> |
''<IDN>'': 1 to 65535<br> | ''<IDN>'': 1 to 65535<br> | ||
''<element>'': 1 to 7 | ''<element>'': 1 to 7 |
Revision as of 14:25, 17 March 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.
IMPORTANT | |
THIS COMMAND IS OBSOLETE |
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.
Examples
?IdnString(1, 95, 7) ‘Get diagnostic message from drive