mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2025-12-19 09:56:49 +08:00
Updated Value conversion (markdown)
@@ -54,7 +54,7 @@ plc.Write("DB1.DBD40", val.ConvertToUInt());
|
||||
|
||||
* Read bool from byte
|
||||
```
|
||||
byte myByte = 5; // 0000 0101
|
||||
myByte.SelectBit(0) // true
|
||||
myByte.SelectBit(1) // false
|
||||
byte myByte = 5; // 0000 0101
|
||||
myByte.SelectBit(0) // true
|
||||
myByte.SelectBit(1) // false
|
||||
```
|
||||
Reference in New Issue
Block a user