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

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<index>''" to "<''index''>")
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 MC.
 
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 MC.
 
{{Note/Important| '''THIS PROPERTY IS OBSOLETE'''}}
 
  
 
|TYPE=
 
|TYPE=
Line 35: Line 33:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read only
+
*Read only
 +
*Not supported in EtherCAT system
  
 
|EXAMPLE=
 
|EXAMPLE=

Revision as of 11:36, 26 March 2014

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 MC.

Short form

Sys.Hdoub

System.Hdoub

Syntax

?Sys.HostDouble[<index>]

?System.HostDouble[<index>]

Availability

All versions

Type

Double

Range

0 to ± MaxDouble
<index>: integer 1 to   8

Default

0, value of the DPRAM variable

Scope

Task or Terminal

Limitations

  • Read only
  • Not supported in EtherCAT system

Examples

val1 = System.HostDouble[12]

See Also