📄 frmvfd_rtu.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "mscomm32.ocx"
Begin VB.Form FrmMain1
AutoRedraw = -1 'True
Caption = "Modbus RTU msb.sf@163.com"
ClientHeight = 8685
ClientLeft = 60
ClientTop = 450
ClientWidth = 9105
FillStyle = 4 'Upward Diagonal
Icon = "FrmVFD_RTU.frx":0000
LinkTopic = "Form1"
ScaleHeight = 8685
ScaleWidth = 9105
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "下一页"
Height = 495
Left = 3840
TabIndex = 60
Top = 120
Width = 1455
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 50
Left = 960
Top = 0
End
Begin VB.Frame Frame7
Caption = "写寄存器M10.0"
Height = 2415
Left = 4560
TabIndex = 51
Top = 6120
Width = 4455
Begin VB.CommandButton CmdWriteM
Caption = "write"
Height = 375
Left = 3120
TabIndex = 56
Top = 1080
Width = 975
End
Begin VB.TextBox Text14
Height = 495
Left = 1560
TabIndex = 55
Text = "0"
Top = 1680
Width = 2535
End
Begin VB.ComboBox Combo4
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 54
Text = "Combo6"
Top = 1080
Width = 975
End
Begin VB.TextBox Text13
Height = 375
Left = 1560
TabIndex = 53
Text = "10.0"
Top = 360
Width = 975
End
Begin VB.TextBox Text12
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1080
TabIndex = 52
Text = "M"
Top = 405
Width = 495
End
Begin VB.Label Label20
Caption = "数据:"
Height = 375
Left = 240
TabIndex = 59
Top = 1800
Width = 735
End
Begin VB.Label Label19
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 58
Top = 1080
Width = 735
End
Begin VB.Label Label18
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 57
Top = 360
Width = 975
End
End
Begin VB.Frame Frame6
Caption = "读寄存器M10.0"
Height = 2415
Left = 120
TabIndex = 42
Top = 6120
Width = 4335
Begin VB.TextBox Text11
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1080
TabIndex = 47
Text = "M"
Top = 600
Width = 495
End
Begin VB.TextBox Text10
Height = 375
Left = 1560
TabIndex = 46
Text = "10.0"
Top = 555
Width = 975
End
Begin VB.ComboBox Combo3
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 45
Text = "Combo6"
Top = 1320
Width = 975
End
Begin VB.TextBox Text9
BorderStyle = 0 'None
Height = 375
Left = 1680
TabIndex = 44
Top = 1920
Width = 2415
End
Begin VB.CommandButton CmdReadM
Caption = "read"
Height = 375
Left = 3000
TabIndex = 43
Top = 1320
Width = 975
End
Begin VB.Label Label17
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 50
Top = 600
Width = 975
End
Begin VB.Label Label16
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 49
Top = 1320
Width = 975
End
Begin VB.Label Label15
Caption = "返回值:"
Height = 375
Left = 240
TabIndex = 48
Top = 1800
Width = 975
End
End
Begin VB.Frame Frame4
Caption = "写寄存器VD"
Height = 2415
Left = 4560
TabIndex = 33
Top = 3720
Width = 4455
Begin VB.TextBox Text8
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1080
TabIndex = 38
Text = "VD"
Top = 405
Width = 495
End
Begin VB.TextBox TextAddD
Height = 375
Left = 1560
TabIndex = 37
Text = "0"
Top = 360
Width = 975
End
Begin VB.ComboBox Combo2
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 36
Text = "Combo6"
Top = 1200
Width = 975
End
Begin VB.TextBox TextDataD
Height = 495
Left = 1560
TabIndex = 35
Text = "25.5"
Top = 1800
Width = 2535
End
Begin VB.CommandButton CmdWriteVD
Caption = "write"
Height = 375
Left = 3120
TabIndex = 34
Top = 1200
Width = 975
End
Begin VB.Label Label14
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 41
Top = 360
Width = 975
End
Begin VB.Label Label13
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 40
Top = 1200
Width = 735
End
Begin VB.Label Label12
Caption = "数据:"
Height = 375
Left = 240
TabIndex = 39
Top = 1920
Width = 735
End
End
Begin VB.Frame Frame3
Caption = "读寄存器VD"
Height = 2415
Left = 120
TabIndex = 24
Top = 3720
Width = 4335
Begin VB.TextBox Text5
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1080
TabIndex = 29
Text = "VD"
Top = 600
Width = 495
End
Begin VB.TextBox Text3
Height = 375
Left = 1560
TabIndex = 28
Text = "0"
Top = 555
Width = 975
End
Begin VB.ComboBox Combo1
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 27
Text = "Combo6"
Top = 1320
Width = 975
End
Begin VB.TextBox TextDataRD
Height = 375
Left = 1560
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 26
Top = 1800
Width = 2415
End
Begin VB.CommandButton CmdReadVD
Caption = "read"
Height = 375
Left = 3000
TabIndex = 25
Top = 1320
Width = 975
End
Begin VB.Label Label11
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 32
Top = 600
Width = 975
End
Begin VB.Label Label10
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 31
Top = 1320
Width = 975
End
Begin VB.Label Label9
Caption = "返回值:"
Height = 375
Left = 240
TabIndex = 30
Top = 1800
Width = 975
End
End
Begin VB.Frame Frame2
Caption = "写寄存器VW"
Height = 2295
Left = 4560
TabIndex = 4
Top = 1320
Width = 4455
Begin VB.CommandButton CmdWriteVW
Caption = "write"
Height = 375
Left = 3120
TabIndex = 20
Top = 1080
Width = 975
End
Begin VB.TextBox TextDataW
Height = 495
Left = 1560
TabIndex = 18
Text = "0"
Top = 1680
Width = 2535
End
Begin VB.ComboBox CobNumWrite
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 17
Text = "Combo6"
Top = 1080
Width = 975
End
Begin VB.TextBox TextAddW
Height = 375
Left = 1560
TabIndex = 16
Text = "0"
Top = 480
Width = 975
End
Begin VB.TextBox Text4
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1080
TabIndex = 15
Text = "VW"
Top = 525
Width = 495
End
Begin VB.Label Label6
Caption = "数据:"
Height = 375
Left = 240
TabIndex = 10
Top = 1800
Width = 735
End
Begin VB.Label Label5
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 9
Top = 1080
Width = 735
End
Begin VB.Label Label4
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 8
Top = 480
Width = 975
End
End
Begin VB.Frame Frame1
Caption = "读寄存器VW"
Height = 2295
Left = 120
TabIndex = 3
Top = 1320
Width = 4335
Begin VB.CommandButton CmdReadVW
Caption = "read"
Height = 375
Left = 3000
TabIndex = 19
Top = 1200
Width = 975
End
Begin VB.TextBox TextDataRW
Height = 375
Left = 1560
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 14
Top = 1800
Width = 2415
End
Begin VB.ComboBox CobNumRead
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 13
Text = "Combo6"
Top = 1200
Width = 975
End
Begin VB.TextBox TextAddR
Height = 375
Left = 1560
TabIndex = 12
Text = "0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -