MC-Basic:SYSTEM.ANIN.map

From SoftMC-Wiki
Revision as of 07:00, 30 March 2022 by Miborich (talk | contribs) (Created page with "{{Languages|MC-Basic:SYSTEM.ANIN.map}} {{MC-Basic |SHORT FORM= Sys.AnIn[Index].map<br> |SYNTAX= ?System.AnIn[Index].map<br> |AVAILABILITY= Version 0.4.20.5r8-C2 or higher...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English

Exactly the same as Sys.ANIN[Index].map

Used for analog input mapping. By setting the map property we are actually mapping the analog input to a specific Sys.Din
so the analog array is laid over the digital infrastructure.

Short form

Sys.AnIn[Index].map

Syntax

?System.AnIn[Index].map

Availability

Version 0.4.20.5r8-C2 or higher

Type

Long

Scope

Configuration, Task or Terminal

Limitations

Read or write.

Examples

  • -->Sys.AnIn[1].map = 24

in this case, the analog input is mapped to Sys.Din[24][.bitrange]
we can use the SYSTEM.ANIN.bitrange property to complete the mapping.

See Also