Write a single bit in a `DINT`.
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:
dummy := MLxxWriteBoolInDint(
BitNr := ,
BitStatus := ,
DintOfBools := );