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

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:SYSTEM.HOSTDOUBLE to MC-Basic:SYSTEM.HOSTDOUBLE: Global renaming of Axystems: namespace into (Main):)
Line 41: Line 41:
 
|SEE ALSO=
 
|SEE ALSO=
  
[[Category:Axystems:Obsolete|SYSTEM.HOSTDOUBLE]]
+
[[Category:Obsolete|SYSTEM.HOSTDOUBLE]]
 
}}
 
}}

Revision as of 09:19, 22 May 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 softMC.

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