📄 frmchangclcode.frm
字号:
VERSION 5.00
Begin VB.Form frmChangClCode
BorderStyle = 1 'Fixed Single
Caption = "修改控制码"
ClientHeight = 5040
ClientLeft = 45
ClientTop = 330
ClientWidth = 6915
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5040
ScaleWidth = 6915
StartUpPosition = 2 'CenterScreen
Begin VB.Frame Frame4
Caption = "其它调试命令"
Height = 1335
Left = 2640
TabIndex = 23
Top = 1680
Width = 2415
Begin VB.TextBox Text13
Height = 270
Left = 1320
TabIndex = 31
Text = "0xFF"
Top = 240
Width = 855
End
Begin VB.TextBox Text12
Height = 270
Left = 1320
TabIndex = 25
Text = "0x77"
Top = 960
Width = 855
End
Begin VB.TextBox Text11
Enabled = 0 'False
Height = 270
Left = 1320
TabIndex = 24
Text = "0xBB"
Top = 600
Width = 855
End
Begin VB.Label Label5
Caption = "同步命令码"
Height = 255
Left = 120
TabIndex = 32
Top = 240
Width = 1095
End
Begin VB.Label Label4
Caption = "开始转矩传感"
Height = 255
Index = 1
Left = 120
TabIndex = 27
Top = 960
Width = 1095
End
Begin VB.Label Label4
Caption = "单字节发送"
Height = 255
Index = 0
Left = 120
TabIndex = 26
Top = 600
Width = 1095
End
End
Begin VB.Frame Frame3
Caption = "查询系统运行情况"
Height = 1335
Left = 240
TabIndex = 2
Top = 1680
Width = 2175
Begin VB.TextBox Text10
Height = 270
Left = 1080
TabIndex = 22
Text = "0x55"
Top = 960
Width = 855
End
Begin VB.TextBox Text9
Height = 270
Left = 1080
TabIndex = 21
Text = "0x44"
Top = 600
Width = 855
End
Begin VB.TextBox Text8
Height = 270
Left = 1080
TabIndex = 20
Text = "0x33"
Top = 240
Width = 855
End
Begin VB.Label Label3
Caption = "查询转矩"
Height = 255
Index = 2
Left = 240
TabIndex = 19
Top = 960
Width = 855
End
Begin VB.Label Label3
Caption = "查询电流"
Height = 255
Index = 1
Left = 240
TabIndex = 18
Top = 600
Width = 855
End
Begin VB.Label Label3
Caption = "查询电压"
Height = 255
Index = 0
Left = 240
TabIndex = 17
Top = 240
Width = 855
End
End
Begin VB.Frame Frame2
Caption = "系统参数设定"
Height = 1335
Left = 2640
TabIndex = 1
Top = 240
Width = 2415
Begin VB.TextBox Text7
Height = 270
Left = 1080
TabIndex = 9
Text = "0xDD"
Top = 960
Width = 1095
End
Begin VB.TextBox Text6
Height = 270
Left = 1080
TabIndex = 8
Text = "0xCC"
Top = 720
Width = 1095
End
Begin VB.TextBox Text5
Height = 270
Left = 1080
TabIndex = 7
Text = "0x99"
Top = 480
Width = 1095
End
Begin VB.TextBox Text4
Height = 270
Left = 1080
TabIndex = 6
Text = "0x88"
Top = 240
Width = 1095
End
Begin VB.Label Label1
Caption = "转子电感"
Height = 255
Index = 3
Left = 120
TabIndex = 13
Top = 960
Width = 735
End
Begin VB.Label Label1
Caption = "定子电感"
Height = 255
Index = 2
Left = 120
TabIndex = 12
Top = 720
Width = 735
End
Begin VB.Label Label1
Caption = "转子电阻"
Height = 255
Index = 1
Left = 120
TabIndex = 11
Top = 480
Width = 735
End
Begin VB.Label Label1
Caption = "定子电阻"
Height = 255
Index = 0
Left = 120
TabIndex = 10
Top = 240
Width = 735
End
End
Begin VB.Frame Frame1
Caption = "电机控制命令"
Height = 1335
Left = 240
TabIndex = 0
Top = 240
Width = 2175
Begin VB.TextBox Text3
Height = 270
Left = 960
TabIndex = 5
Text = "0x66"
Top = 960
Width = 975
End
Begin VB.TextBox Text2
Height = 270
Left = 960
TabIndex = 4
Text = "0x22"
Top = 600
Width = 975
End
Begin VB.TextBox Text1
Height = 270
Left = 960
TabIndex = 3
Text = "0x11"
Top = 240
Width = 975
End
Begin VB.Label Label2
Caption = "停机"
Height = 255
Index = 2
Left = 360
TabIndex = 16
Top = 960
Width = 495
End
Begin VB.Label Label2
Caption = "反转"
Height = 255
Index = 1
Left = 360
TabIndex = 15
Top = 600
Width = 495
End
Begin VB.Label Label2
Caption = "正转"
Height = 255
Index = 0
Left = 360
TabIndex = 14
Top = 240
Width = 495
End
End
Begin VB.Frame Frame5
Caption = "请输入16进制数据"
Height = 3615
Left = 0
TabIndex = 28
Top = 0
Width = 5295
Begin VB.CommandButton CommandCal
Caption = "取消"
Height = 375
Left = 3360
TabIndex = 30
Top = 3120
Width = 855
End
Begin VB.CommandButton CommandOK
Caption = "确定"
Height = 375
Left = 840
TabIndex = 29
Top = 3120
Width = 855
End
End
End
Attribute VB_Name = "frmChangClCode"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CommandCal_Click()
Unload frmChangClCode
End Sub
Private Sub CommandOK_Click()
Code1 = Text1.Text
Code2 = Text2.Text
Code3 = Text3.Text
Code4 = Text4.Text
Code5 = Text5.Text
Code6 = Text6.Text
Code7 = Text7.Text
Code8 = Text8.Text
Code9 = Text9.Text
Code10 = Text10.Text
Code11 = Text11.Text
Code12 = Text12.Text
strStepCode = Text13.Text
' Code14 = Text1.Text
InitialCodeMap
frmChangClCode.Hide
End Sub
Private Sub Form_Load()
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -