Difference between revisions of "MC-Basic:WRITEIDNVALUEARRAYDOUBLE"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= WIVALAD |SYNTAX= WRITEIDNVALUEARRAYDOUBLE Drive=<drive address> IDN=<IDN number> Value=<Double_type_array_name> Size=<array elements number> {Element=...")
 
Line 17: Line 17:
  
 
''<element>'' is optional. In general, only element 7 is used (default).  
 
''<element>'' is optional. In general, only element 7 is used (default).  
 +
 +
{{Note/Important| '''THIS COMMAND IS OBSOLETE'''}}
  
 
|TYPE=
 
|TYPE=
Line 73: Line 75:
 
* [[Axystems:MC-Basic:WRITEIDNSTRING|WRITEIDNSTRING]]
 
* [[Axystems:MC-Basic:WRITEIDNSTRING|WRITEIDNSTRING]]
  
 +
[[Category:Axystems:Obsolete|WRITEIDNVALUEARRAYDOUBLE]]
  
 
}}
 
}}

Revision as of 11:18, 11 March 2014

This command writes the data from the preliminary declared Double Type Array to a specified element of an IDN to a specified drive. The number of elements to write is limited by <size> parameter. This function works only for IDNs containing more than one Double Type value in array method .


<element> is optional. In general, only element 7 is used (default).

IMPORTANT.svgIMPORTANT
THIS COMMAND IS OBSOLETE

Short form

WIVALAD

Syntax

WRITEIDNVALUEARRAYDOUBLE Drive=<drive address> IDN=<IDN number> Value=<Double_type_array_name> Size=<array elements number> {Element=<IDN element number>} {Ring=<ring number>} {Connection=<connection number>}

Availability

AMCS 0.4.7.12 for SERCOS III

Type

<drive>: Long
<IDN number>: Long
<value>: Double Type Array name
<size>: Long
<IDN element>: Long
<ring>: Long
<connection>:Long

Range

<drive>: 1 to 254
<IDN number>: 1 to 65535
<IDN element>: 1 to 7
<size>: 1 to maximal array element number
<ring>:1
<connection>:0 to 2 for normal systems (0 = chose automatically, 1 = first AT connection, 2 = first MDT connection)

Default

<element>: 7

Scope

Configuration, Task or Terminal

Limitations

  • Write-Only.
  • Executed only in SERCOS communication phases 2, 3 and 4.
  • The IDN must be defined.
  • The Double Type Array must be declared preliminary.
  • <size> parameter should not be more than maximal number of IDN array elements .

Examples


Example For Bosch Rexroth drive :

-->common shared DoubleArr[10] as long 


-->WriteIdnValueArray Drive=ax1.dadd Idn=<IDN number> Value=DoubleArr size=4 
 


See Also