Write a single bit in a `DINT`.
Version history
0.2.0
 
deGroot
Changes
Changed:
- calculate mask using
FORloop - function return value set to
VOID
show full history
0.1.0
 
deGroot
Changes
Changed:
- source code ported
- version number reset
- now using semantic versioning
Overview
| kind | name | type | default | comment |
|---|---|---|---|---|
| input | BitNr | DINT | bitnumber for writing [0-31] | |
| input | BitStatus | BOOL | bitstatus to write DintOfBools.[BitNr] | |
| in_out | DintOfBools | DINT | DINT to be accessed as 32 BOOL's |
Details
BitNr
DINTBitnumber for writing [0-31]
BitStatus
BOOLBitstatus to write DintOfBools.[BitNr]
DintOfBools
DINTDINT to be accessed as 32 BOOL's
Implementation
Snippet of the function call:
MLxxWriteBoolInDint(
BitNr := ,
BitStatus := ,
DintOfBools := );