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

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= Sys.Hint<br> System.Hint |SYNTAX= ?Sys.HostInteger[''<index>'']<br> ?System.HostInteger[''<index>''] |AVAILABILITY= All versions |DESCRIPTION= Read…')
 
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:SYSTEM.HOSTINTEGER}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 6: Line 7:
  
 
|SYNTAX=
 
|SYNTAX=
?Sys.HostInteger[''<index>'']<br>
+
?Sys.HostInteger[<''index''>]<br>
  
?System.HostInteger[''<index>'']
+
?System.HostInteger[<''index''>]
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 14: 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 softMC.
  
 
|TYPE=
 
|TYPE=
Line 21: Line 22:
 
|RANGE=
 
|RANGE=
 
MinLong to MaxLong<br>
 
MinLong to MaxLong<br>
''<index>'': integer 1 to  8
+
<''index''>: integer 1 to  8
  
 
|UNITS=
 
|UNITS=
Line 33: Line 34:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
*Read only
 +
*Not supported in EtherCAT system
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 40: Line 42:
 
|SEE ALSO=
 
|SEE ALSO=
  
 +
[[Category:Obsolete|SYSTEM.HOSTINTEGER]]
  
 
}}
 
}}

Latest revision as of 03:27, 2 May 2017

Language: English  • 中文(简体)‎

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

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]

See Also