Set setting Stop Bits Modbus
The block is used to set the Stop Bits value of the UART port for
Modbus protocol operation during the controller operation.The port associated with the block is set to Stop Bits in
accordance with the value at the input "Stop Bits".
Possible values are 1 and 2. All other values supplied to the input will be equal to 1.
The block is parameterized using the block editor
When you check the box "Output of the current number of stop bits of the port", the block
has an output "CurStBit", which will have the value of the current number of stop bits for the specified port.
When you check the box "Write permission input", the block will have the "Save"input.
In this case, the setting of a new number of stop bits will occur along the leading edge at this input.
It will also be possible to save the assigned number of stop bits in non-volatile memory and restore this value after restarting the controller.
For each of the ports (Modbus Master and Modbus Slave), only
one block "Set setting Stop Bits Modbus" can be used in the project"