-

S_BIT_IN_*

Note
The function is only availablefor Safety PLCs.

Type Function
Description Sets a bit in the bit string connected to the IN input to TRUE and returns the resulting bit string. The bit to be set is selected with the BIT_NO input.
Notes
  • ' * ' is a placeholder for the supported data types. The function is available for the data types BYTE, WORD, and DWORD.
  • The output must have the same length or must be larger than the input.
  • The value applied to the BIT input must be greater than or equal to 0 or less than the length of the IN bit string.
  • The OUT value remains unchanged and no error is generated in the MESSAGES window if the above conditions are not met.
Parameters Inputs

IN

BIT_NO

Output

OUT
Error behavior Error behavior