Difference between revisions of "MC-Basic:IDNVALUEARRAY"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= IVALA |SYNTAX= IdnValueArray (''<drive address>, <IDN>, <element>, <long_type_array_name>,{<ring>}, {<connection>} '') |AVAILABILITY= from AMCS 0.4.7.1…")
 
Line 36: Line 36:
  
 
The IDN must be defined.
 
The IDN must be defined.
 +
Array must be long-type.
 +
All other inputs must be longs.
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 55: Line 57:
 
* [[Axystems:MC-Basic:WRITEIDNVALUE|WRITEIDNVALUE]]
 
* [[Axystems:MC-Basic:WRITEIDNVALUE|WRITEIDNVALUE]]
 
* [[Axystems:MC-Basic:IDNVALUE|IDNVALUE]]
 
* [[Axystems:MC-Basic:IDNVALUE|IDNVALUE]]
 
+
* [[Axystems:MC-Basic:IDNVALUEARRAYDOUBLE|IDNVALUEARRAYDOUBLE]]
 
 
 
}}
 
}}

Revision as of 13:33, 3 November 2011

This function is used to read the number of IDN values of a specified IDN from a specified drive returned by the long-type array.

Short form

IVALA

Syntax

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

Availability

from AMCS 0.4.7.12 for SERCOS III

Type

<returned value>: Long Type Array

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. Array must be long-type. All other inputs must be longs.

Examples

? IDNVALUEARRAY (<drive>, <idn>, <element>, <long_type_array_name>)

? IDNVALUEARRAY (<drive>, <idn>, <element>, <long_type_array_name>, <ring>)

? IDNVALUEARRY (<drive>, <idn>, <element>, <long_type_array_name>, , <connection>) --> Translator note: Ring number is zero

? IDNVALUEARRAY (<drive>, <idn>, <element>, <long_type_array_name>, <ring>, <connection>)

See Also