⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmdio.frm

📁 通过vb与鸿格7000系列模块进行通讯
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form frmDIO 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "frmDIO"
   ClientHeight    =   4860
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   8790
   LinkTopic       =   "Form1"
   ScaleHeight     =   4860
   ScaleWidth      =   8790
   Begin VB.Frame Frame6 
      Caption         =   "Step 6: Read DIO"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   975
      Left            =   4320
      TabIndex        =   27
      Top             =   3840
      Width           =   4335
      Begin VB.TextBox txtDO 
         Height          =   375
         Left            =   3120
         TabIndex        =   30
         Top             =   360
         Width           =   1095
      End
      Begin VB.TextBox txtDI 
         Enabled         =   0   'False
         Height          =   375
         Left            =   1560
         TabIndex        =   29
         Top             =   360
         Width           =   1080
      End
      Begin VB.CommandButton cmdRead 
         Caption         =   "Read"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   420
         Left            =   120
         TabIndex        =   28
         Top             =   360
         Width           =   825
      End
      Begin VB.Label Label7 
         Caption         =   "DO:"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Index           =   1
         Left            =   2760
         TabIndex        =   32
         Top             =   480
         Width           =   300
      End
      Begin VB.Label Label7 
         Caption         =   "DI:"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Index           =   0
         Left            =   1080
         TabIndex        =   31
         Top             =   480
         Width           =   300
      End
   End
   Begin VB.Frame Frame5 
      Caption         =   "Step 4: Set Module Parameters"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   2010
      Left            =   4320
      TabIndex        =   14
      Top             =   105
      Width           =   4230
      Begin VB.TextBox txtTotalDO 
         Height          =   285
         Left            =   3000
         TabIndex        =   37
         Text            =   "0"
         Top             =   1200
         Width           =   975
      End
      Begin VB.TextBox txtTotalDI 
         Height          =   345
         Left            =   3000
         TabIndex        =   17
         Text            =   "0"
         Top             =   750
         Width           =   1035
      End
      Begin VB.TextBox txtSlot 
         Height          =   315
         Left            =   3045
         TabIndex        =   16
         Text            =   "0"
         Top             =   1560
         Width           =   1020
      End
      Begin VB.TextBox txtAddress 
         Height          =   285
         Left            =   3015
         TabIndex        =   15
         Text            =   "1"
         Top             =   420
         Width           =   1050
      End
      Begin VB.Label Label4 
         Caption         =   "Total DO Channel of Module"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Index           =   1
         Left            =   75
         TabIndex        =   36
         Top             =   1200
         Width           =   2400
      End
      Begin VB.Label Label4 
         Caption         =   "Total DI Channel of Module"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Index           =   0
         Left            =   75
         TabIndex        =   20
         Top             =   840
         Width           =   2400
      End
      Begin VB.Label Label5 
         Caption         =   "Slot (for module insert into i-8000"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   330
         Left            =   120
         TabIndex        =   19
         Top             =   1560
         Width           =   2910
      End
      Begin VB.Label lb 
         Caption         =   "RS-485 Address of Module"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   285
         Left            =   105
         TabIndex        =   18
         Top             =   525
         Width           =   2355
      End
   End
   Begin VB.Frame Frame4 
      Caption         =   "Step 3: Select Module Type"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   990
      Left            =   30
      TabIndex        =   11
      Top             =   2910
      Width           =   4230
      Begin VB.OptionButton optModule 
         Caption         =   "7K/87K Module"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   330
         Index           =   0
         Left            =   270
         TabIndex        =   13
         Top             =   360
         Value           =   -1  'True
         Width           =   1755
      End
      Begin VB.OptionButton optModule 
         Caption         =   "8K Module"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   330
         Index           =   1
         Left            =   2370
         TabIndex        =   12
         Top             =   390
         Width           =   1380
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "Step 2: Set Communication Parameters"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1125
      Left            =   45
      TabIndex        =   8
      Top             =   1695
      Width           =   4230
      Begin VB.OptionButton optCheck 
         Caption         =   "Enable"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Index           =   1
         Left            =   2640
         TabIndex        =   23
         Top             =   360
         Width           =   1095
      End
      Begin VB.OptionButton optCheck 
         Caption         =   "Disable"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Index           =   0
         Left            =   1440
         TabIndex        =   22
         Top             =   360
         Value           =   -1  'True
         Width           =   1095
      End
      Begin VB.TextBox txtTimeout 
         Height          =   300
         Left            =   1395
         TabIndex        =   9
         Text            =   "300"
         Top             =   720
         Width           =   1050
      End
      Begin VB.Label Label8 
         Caption         =   "Checksum"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   24
         Top             =   360
         Width           =   975
      End
      Begin VB.Label Label3 
         Caption         =   "TimeOut"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Left            =   270
         TabIndex        =   10
         Top             =   720
         Width           =   990
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "Step 5: Write DO"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1455
      Left            =   4320
      TabIndex        =   7
      Top             =   2280
      Width           =   4275
      Begin VB.OptionButton optBit 
         Caption         =   "ON"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -