Difference between revisions of "MC-Basic:SYSTEM.HOSTINTEGER"
m (Text replace - "''<index>''" to "<''index''>") |
m |
||
| Line 15: | Line 15: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
Read the value of a Long variable in DPRAM written by the host. There are 16 general purpose Long variables available for use by the host in order to communicate information quickly to the MC. | Read the value of a Long variable in DPRAM written by the host. There are 16 general purpose Long variables available for use by the host in order to communicate information quickly to the MC. | ||
| − | |||
| − | |||
|TYPE= | |TYPE= | ||
| Line 35: | Line 33: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
| − | Read only | + | *Read only |
| + | *Not supported in EtherCAT system | ||
|EXAMPLE= | |EXAMPLE= | ||
Revision as of 11:37, 26 March 2014
Read the value of a Long variable in DPRAM written by the host. There are 16 general purpose Long variables available for use by the host in order to communicate information quickly to the MC.
Short form
Sys.Hint
System.Hint
Syntax
?Sys.HostInteger[<index>]
?System.HostInteger[<index>]
Availability
All versions
Type
Long
Range
MinLong to MaxLong
<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.HostInteger[12]