Difference between revisions of "MC-Basic:SYSTEM.HOSTDOUBLE"
m |
m (Miborich moved page Axystems:MC-Basic:SYSTEM.HOSTDOUBLE to MC-Basic:SYSTEM.HOSTDOUBLE: Global renaming of Axystems: namespace into (Main):) |
(No difference)
| |
Revision as of 08:41, 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]