<< Click to Display Table of Contents >> Common RTU Server |
![]() ![]() ![]() |
Common RTU server lets you implement user-defined protocol in your project. To create a new Common RTU server select the menu item Common RTU. You’ll see the following window:
List of properties:
Property |
ST script field* |
Description |
---|---|---|
Name |
|
Name of the Common RTU server. |
Port ID |
portid |
ID of the COM port. If this port can not be open in TeslaSCADA2 Runtime other port will be tried to find and open. |
Baud rate |
baudrate |
Baud rate of the Common RTU server. |
Flow control |
flowcontrol |
Flow control of the port. It can be NONE, RTSCTS and XONXOF. |
Data bits |
databits |
Number of data bits. It can be 5, 6, 7 and 8. |
Stop bits |
stopbits |
Number of stop bits. It can be 1, 1.5 and 2. |
Parity |
parity |
Parity of the Common RTU. It can be NONE, EVEN, ODD, MARK and SPACE. |
*This field is used in ST scripts. For example, Servers.Server1.baudrate = 9600. In this script command server's baud rate is changed to 9600. Also for all servers you can use fields:
▪connect - connect to the server.
▪connected - check connection of the server.
▪lostconnection - check lost or not connection of the server.