MC-Basic:IDNVALUEARRAYDOUBLE

From SoftMC-Wiki
Revision as of 13:34, 3 November 2011 by Yeginzbu (talk | contribs) (Created page with "{{MC-Basic |SHORT FORM= IVALAD |SYNTAX= IdnValueArrayDouble (''<drive address>, <IDN>, <element>, <double_type_array_name>,{<ring>}, {<connection>} '') |AVAILABILITY= from AMC…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

IVALAD

Syntax

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

Availability

from AMCS 0.4.7.12 for SERCOS III

Type

<returned value>: Double 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 double-type. All other inputs must be double.

Examples

? IDNVALUEARRAYDOUBLE (<drive>, <idn>, <element>, <double_type_array_name>)

? IDNVALUEARRAYDOUBLE (<drive>, <idn>, <element>, <double_type_array_name>, <ring>)

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

? IDNVALUEARRAYDOUBLE (<drive>, <idn>, <element>, <double_type_array_name>, <ring>, <connection>)

See Also