MC-Basic:SYSTEM.ANIN.map

From SoftMC-Wiki
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