Difference between revisions of "MC-Basic:IDNVALUEDOUBLE"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
 
(12 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
'')  
 
'')  
 
|AVAILABILITY= All versions
 
|AVAILABILITY= All versions
{<ring>}, {<connection>}) options - from AMCS 0.4.7.12 for SERCOS III  
+
{<ring>}, {<connection>}) options - Since Version 4.7.12 for SERCOS III  
  
  
Line 13: Line 13:
 
This function is used to read the double type numeric value of a specified element of an IDN from a specified drive.  
 
This function is used to read the double type numeric value of a specified element of an IDN from a specified drive.  
  
{{Note/Important| '''THIS COMMAND IS OBSOLETE'''}}
 
  
 
|TYPE=
 
|TYPE=
''<returned value>'': Double
+
<''returned value''>: Double
  
 
|RANGE=
 
|RANGE=
 
<''drive address''>: 1 to 254<br>
 
<''drive address''>: 1 to 254<br>
''<IDN>'': 1 to 65536<br>
+
<''IDN''>: 1 to 65536<br>
 
<''element''>: 1 to 7
 
<''element''>: 1 to 7
''<ring>'':1
+
<''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)
  
 
|UNITS=
 
|UNITS=
Line 35: Line 34:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read only. Executed only in SERCOS communication phases 2, 3 and 4.<br>
+
*Read only
 
+
*Executed only in SERCOS communication phases 2, 3 and 4.
The IDN must be defined.
+
*The IDN must be defined
 +
*Not supported in EtherCAT system
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 53: Line 53:
  
 
|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]]
* [[Axystems:MC-Basic:IDNVALUE]]
+
* [[MC-Basic:IDNVALUE]]
  
[[Category:Axystems:Obsolete|IDNVALUEDOUBLE]]
+
[[Category:Obsolete|IDNVALUEDOUBLE]]
  
 
}}
 
}}

Latest revision as of 09:19, 22 May 2014

This function is used to read the double type numeric value of a specified element of an IDN from a specified drive.

Short form

IvalD

Syntax

IdnValueDouble (<drive address>, <IDN>, <element>, {<ring>}, {<connection>} )

Availability

All versions {<ring>}, {<connection>}) options - 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
  • Not supported in EtherCAT system

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>)

See Also