Difference between revisions of "MC-Basic:IDNVALUEDOUBLE"
m (Text replace - "''<IDN>''" to "<''IDN''>") |
m (Text replace - "''<ring>''" to "<''ring''>") |
||
| Line 22: | Line 22: | ||
<''IDN''>: 1 to 65536<br> | <''IDN''>: 1 to 65536<br> | ||
<''element''>: 1 to 7 | <''element''>: 1 to 7 | ||
| − | '' | + | <''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) | ||
Revision as of 10:58, 26 March 2014
This function is used to read the double type numeric value of a specified element of an IDN from a specified drive.
| IMPORTANT | |
| THIS COMMAND IS OBSOLETE |
Short form
IvalD
Syntax
IdnValueDouble (<drive address>, <IDN>, <element>, {<ring>}, {<connection>} )
Availability
All versions {<ring>}, {<connection>}) options - from Since Version 4.7.12 for SERCOS III
Type
<returned value>: Double
Range
<drive address>: 1 to 254
<IDN>: 1 to 65536
<element>: 1 to 7
<ring>:1
<connection>:0 to 2 for normal systems (0 = chose automatically, 1 = first AT connection, 2 = first MDT connection)
Scope
Configuration, Task or Terminal
Limitations
Read only. Executed only in SERCOS communication phases 2, 3 and 4.
The IDN must be defined.
Examples
?IDNVALUEDOUBLE(1, 47, 7)
?IDNVALUEDOUBLE (<drive>, <idn>, <element>)
?IDNVALUEDOUBLE (<drive>, <idn>, <element>, <ring>)
?IDNVALUEDOUBLE (<drive>, <idn>, <element>, , <connection>) --> Translator note: Ring number is zero
?IDNVALUEDOUBLE (<drive>, <idn>, <element>, <ring>, <connection>)