MC-Basic:SYSTEM.ANOUT.map

From SoftMC-Wiki
Jump to: navigation, search
Language: English

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

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

Short form

Sys.AnOut[Index].map

Syntax

?System.AnOut[Index].map

Availability

Version 0.4.20.5r8-C2 or higher

Type

Long

Scope

Configuration, Task or Terminal

Limitations

Read or write.

Examples

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

in this case, the analog output is mapped to Sys.Dout[24][.bitrange]
we can use the SYSTEM.ANOUT.bitrange property to complete the mapping.

See Also