Difference between revisions of "MC-Basic:SYSTEM.ANIN.signed"
(Created page with "{{Languages|MC-Basic:SYSTEM.ANIN.signed}} {{MC-Basic |SHORT FORM= Sys.AnIn[Index].signed<br> |SYNTAX= ?System.AnIn[Index].signed<br> |AVAILABILITY= Version 0.4.20.5r8-C2 or...") |
(No difference)
|
Latest revision as of 09:19, 30 March 2022
Language: | English |
---|
Exactly the same as Sys.ANIN[Index].signed
Used to state whether this input channel will input signed or unsigned voltage values.
Short form
Sys.AnIn[Index].signed
Syntax
?System.AnIn[Index].signed
Availability
Version 0.4.20.5r8-C2 or higher
Type
Long
Range
1 or 0
Default
0
Scope
Configuration, Task or Terminal
Limitations
Read or write. by setting an analog input as unsigned, negative values will become invalid values.
Examples
- -->Sys.AnIn[1].signed = 1
- both negative and positive values are allowed
- -->Sys.AnIn[1].signed = 0
- only positive values are allowed