📄 plc.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form PLC
BackColor = &H80000016&
Caption = "PLC"
ClientHeight = 7725
ClientLeft = 165
ClientTop = 855
ClientWidth = 9855
FillColor = &H0080FF80&
FillStyle = 0 'Solid
ForeColor = &H80000016&
LinkTopic = "Form1"
ScaleHeight = 7725
ScaleWidth = 9855
StartUpPosition = 3 '窗口缺省
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 495
Left = 0
TabIndex = 36
Top = 7230
Width = 9855
_ExtentX = 17383
_ExtentY = 873
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 6174
MinWidth = 6174
EndProperty
EndProperty
End
Begin VB.ListBox List1
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 136
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1770
Left = 4320
TabIndex = 35
Top = 3720
Width = 4335
End
Begin VB.CommandButton Command6
Caption = "获取数据"
Height = 375
Left = 7680
TabIndex = 34
Top = 5520
Width = 975
End
Begin VB.Frame Frame3
Caption = "寄存器操作"
Height = 1815
Left = 2160
TabIndex = 24
Top = 1560
Width = 3975
Begin VB.OptionButton Option5
Caption = "读寄存器"
Height = 255
Left = 2520
TabIndex = 33
Top = 360
Value = -1 'True
Width = 1095
End
Begin VB.OptionButton Option4
Caption = "写寄存器"
Height = 255
Left = 2520
TabIndex = 32
Top = 840
Width = 1095
End
Begin VB.CommandButton Command5
Caption = "执行操作"
Height = 375
Left = 2520
TabIndex = 31
Top = 1200
Width = 1215
End
Begin VB.TextBox Text11
Height = 375
Left = 1080
TabIndex = 30
Text = "Text11"
Top = 1200
Width = 1215
End
Begin VB.TextBox Text10
Height = 375
Left = 1080
TabIndex = 29
Text = "Text10"
Top = 720
Width = 1215
End
Begin VB.TextBox Text9
Height = 375
Left = 1080
TabIndex = 28
Text = "Text9"
Top = 240
Width = 1215
End
Begin VB.Label Label6
Caption = "返回值"
Height = 255
Left = 120
TabIndex = 27
Top = 1320
Width = 975
End
Begin VB.Label Label5
Caption = "数值"
Height = 255
Left = 120
TabIndex = 26
Top = 840
Width = 855
End
Begin VB.Label Label4
Caption = "寄存器"
Height = 255
Left = 120
TabIndex = 25
Top = 360
Width = 975
End
End
Begin VB.Timer Timer3
Enabled = 0 'False
Interval = 500
Left = 6600
Top = 2400
End
Begin VB.Frame Frame2
Caption = "Frame2"
Height = 1455
Left = 120
TabIndex = 20
Top = 1680
Width = 1935
Begin VB.OptionButton Option3
Caption = "只执行一次"
Height = 375
Left = 120
TabIndex = 23
Top = 960
Width = 1335
End
Begin VB.OptionButton Option2
Caption = "定时执行"
Height = 375
Left = 120
TabIndex = 22
Top = 600
Width = 1095
End
Begin VB.OptionButton Option1
Caption = "不执行"
Height = 375
Left = 120
TabIndex = 21
Top = 240
Value = -1 'True
Width = 1095
End
End
Begin MSCommLib.MSComm MSComm1
Left = 7680
Top = 1560
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
ParitySetting = 2
DataBits = 7
End
Begin VB.TextBox Text4
Height = 300
Left = 240
TabIndex = 19
Text = "00"
Top = 960
Width = 465
End
Begin VB.CommandButton Command4
Caption = "数据生成"
Height = 495
Left = 6840
TabIndex = 17
Top = 840
Width = 1215
End
Begin MSComCtl2.UpDown UpDown3
Height = 300
Left = 5400
TabIndex = 16
Top = 960
Width = 270
_ExtentX = 450
_ExtentY = 529
_Version = 393216
OrigLeft = 5040
OrigTop = 960
OrigRight = 5310
OrigBottom = 1260
Max = 160
Enabled = -1 'True
End
Begin VB.TextBox Text8
Height = 300
Left = 4560
TabIndex = 15
Text = "0"
Top = 960
Width = 975
End
Begin MSComCtl2.UpDown UpDown2
Height = 300
Left = 6240
TabIndex = 14
Top = 960
Width = 270
_ExtentX = 450
_ExtentY = 529
_Version = 393216
BuddyControl = "Text6"
BuddyDispid = 196629
OrigLeft = 5160
OrigTop = 840
OrigRight = 5430
OrigBottom = 1215
Max = 255
SyncBuddy = -1 'True
BuddyProperty = 65547
Enabled = -1 'True
End
Begin VB.TextBox Text6
Height = 300
Left = 5640
TabIndex = 13
Text = "数据"
Top = 945
Width = 585
End
Begin VB.ComboBox Combo2
Height = 300
ItemData = "PLC.frx":0000
Left = 3360
List = "PLC.frx":0016
TabIndex = 12
Text = "作用元件"
Top = 960
Width = 1215
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "PLC.frx":002C
Left = 1080
List = "PLC.frx":0048
TabIndex = 11
Text = "命令"
Top = 960
Width = 2175
End
Begin MSComCtl2.UpDown UpDown1
Height = 300
Left = 720
TabIndex = 10
Top = 960
Width = 270
_ExtentX = 450
_ExtentY = 529
_Version = 393216
BuddyControl = "Text4"
BuddyDispid = 196626
OrigLeft = 720
OrigTop = 840
OrigRight = 990
OrigBottom = 1215
Max = 255
SyncBuddy = -1 'True
BuddyProperty = 65547
Enabled = -1 'True
End
Begin VB.TextBox Text7
Height = 375
Left = 120
TabIndex = 9
Text = ":"
Top = 3720
Width = 255
End
Begin VB.TextBox Text5
Height = 375
Left = 3480
TabIndex = 8
Text = "CRLF"
Top = 3720
Width = 615
End
Begin VB.TextBox Text3
Height = 375
Left = 2760
TabIndex = 7
Text = "LRC"
Top = 3720
Width = 615
End
Begin VB.CommandButton Command3
Caption = "清除
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -