MC-Basic:SYSTEM.HOSTDOUBLE

From SoftMC-Wiki
Revision as of 03:24, 2 May 2017 by Chi (talk | contribs)
Jump to: navigation, search
Language: [[::MC-Basic:SYSTEM.HOSTDOUBLE|English]]  • [[::MC-Basic:SYSTEM.HOSTDOUBLE/zh-hans|中文(简体)‎]]

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