Difference between revisions of "MC-Basic:SYSTEM.HOSTDOUBLE"

From SoftMC-Wiki
Jump to: navigation, search
m
Line 15: Line 15:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Read value of a Double variable in DPRAM written by the host. There are 16 general purpose Double variables available for use by the host in order to communicate information quickly to the softMC.
+
<!-- Read value of a Double variable in DPRAM written by the host.-->
 +
There are 128 general purpose Double variables available for use by the host in order to communicate information quickly to the softMC.
  
 
|TYPE=
 
|TYPE=
Line 21: Line 22:
  
 
|RANGE=
 
|RANGE=
0 to ± MaxDouble<br>
+
0 to 128 <!-- ± MaxDouble --> <br>
<''index''>: integer 1 to   8
+
<!-- <''index''>: integer 1 to   8 -->
  
 
|UNITS=
 
|UNITS=
Line 28: Line 29:
  
 
|DEFAULT=
 
|DEFAULT=
0, value of the DPRAM variable
+
0
 +
<!-- value of the DPRAM variable -->
  
 
|SCOPE=
 
|SCOPE=
Line 35: Line 37:
 
|LIMITATIONS=
 
|LIMITATIONS=
 
*Read only
 
*Read only
*Not supported in EtherCAT system
+
 
  
 
|EXAMPLE=
 
|EXAMPLE=

Revision as of 09:27, 12 June 2017

Language: [[::MC-Basic:SYSTEM.HOSTDOUBLE|English]]  • [[::MC-Basic:SYSTEM.HOSTDOUBLE/zh-hans|中文(简体)‎]]

There are 128 general purpose Double variables available for use by the host in order to communicate information quickly to the softMC.

Short form

Sys.Hdoub

System.Hdoub

Syntax

?Sys.HostDouble[<index>]

?System.HostDouble[<index>]

Availability

All versions

Type

Double

Range

0 to 128

Default

0

Scope

Task or Terminal

Limitations

  • Read only

Examples

val1 = System.HostDouble[12]

See Also