This is part of 1.24.0latest release: 2.1.0.

MLxxWriteBoolInDint

Write a single bit in a `DINT`.

Function for writing a Bool in a DintOfBools.[BitNr]

Overview

kindnametypedefaultcomment
inputBitNrDINTbitnumber for writing [0-31]
inputBitStatusBOOLbitstatus to write DintOfBools.[BitNr]
in_outDintOfBoolsDINTDINT to be accessed as 32 BOOL's

Details

BitNr

DINT

Bitnumber for writing [0-31]

BitStatus

BOOL

Bitstatus to write DintOfBools.[BitNr]

DintOfBools

DINT

DINT to be accessed as 32 BOOL's

Implementation

Snippet of the function call:
dummy := MLxxWriteBoolInDint(
           BitNr := , 
           BitStatus := , 
           DintOfBools := );

Pages built with Hugo - 28 Oct 2025 16:37 CET