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

📄 plc_protocol_test.clw

📁 本源代码演示了通过串口利用MPI协议与西门子PLC S7-300系统通讯的实现方式。
💻 CLW
字号:
; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=CPLC_Protocol_testDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "PLC_Protocol_test.h"

ClassCount=3
Class1=CPLC_Protocol_testApp
Class2=CPLC_Protocol_testDlg
Class3=CAboutDlg

ResourceCount=3
Resource1=IDD_ABOUTBOX
Resource2=IDR_MAINFRAME
Resource3=IDD_PLC_PROTOCOL_TEST_DIALOG

[CLS:CPLC_Protocol_testApp]
Type=0
HeaderFile=PLC_Protocol_test.h
ImplementationFile=PLC_Protocol_test.cpp
Filter=N

[CLS:CPLC_Protocol_testDlg]
Type=0
HeaderFile=PLC_Protocol_testDlg.h
ImplementationFile=PLC_Protocol_testDlg.cpp
Filter=D
BaseClass=CDialog
VirtualFilter=dWC
LastObject=CPLC_Protocol_testDlg

[CLS:CAboutDlg]
Type=0
HeaderFile=PLC_Protocol_testDlg.h
ImplementationFile=PLC_Protocol_testDlg.cpp
Filter=D

[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889

[DLG:IDD_PLC_PROTOCOL_TEST_DIALOG]
Type=1
Class=CPLC_Protocol_testDlg
ControlCount=43
Control1=IDC_STATIC,static,1342308352
Control2=IDC_EDIT_COMMUNICATION_STATUS,edit,1350633601
Control3=IDC_BTN_OPEN,button,1342242816
Control4=IDC_BTN_CLOSE,button,1342242816
Control5=IDC_STATIC,button,1342177287
Control6=IDC_STATIC,button,1342177287
Control7=IDC_STATIC,button,1342177287
Control8=IDC_STATIC,static,1342308352
Control9=IDC_CMB_BIT_DEVICE,combobox,1344339970
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_BIT_DEVICEADD,edit,1350631553
Control12=IDC_STATIC,static,1342308352
Control13=IDC_EDIT_BIT_BITNO,edit,1350631553
Control14=IDC_BTN_ON,button,1342242816
Control15=IDC_BTN_OFF,button,1342242816
Control16=IDC_BTN_BITREAD,button,1342242816
Control17=IDC_STATIC,static,1342308352
Control18=IDC_EDIT_BIT_DBBLOCK,edit,1350631553
Control19=IDC_STATIC,static,1342308352
Control20=IDC_EDIT_BIT_READRESULT,edit,1350633601
Control21=IDC_STATIC,static,1342308352
Control22=IDC_CMB_WORD_DEVICE,combobox,1344339970
Control23=IDC_STATIC,static,1342308352
Control24=IDC_EDIT_WORD_DEVICEADD,edit,1350631553
Control25=IDC_BTN_WORDREAD,button,1342242816
Control26=IDC_STATIC,static,1342308352
Control27=IDC_EDIT_WORD_DBBLOCK,edit,1350631553
Control28=IDC_STATIC,static,1342308352
Control29=IDC_EDIT_WORD_READRESULT,edit,1350633601
Control30=IDC_BTN_WORDWRITE,button,1342242816
Control31=IDC_EDIT_WORD_WRITEVALUE,edit,1350631553
Control32=IDC_STATIC,static,1342308352
Control33=IDC_CMB_DWORD_DEVICE,combobox,1344339970
Control34=IDC_STATIC,static,1342308352
Control35=IDC_EDIT_DWORD_DEVICEADD,edit,1350631553
Control36=IDC_BTN_DWORDREAD,button,1342242816
Control37=IDC_STATIC,static,1342308352
Control38=IDC_EDIT_DWORD_DBBLOCK,edit,1350631553
Control39=IDC_STATIC,static,1342308352
Control40=IDC_EDIT_DWORD_READRESULT,edit,1350633601
Control41=IDC_BTN_DWORDWRITE,button,1342242816
Control42=IDC_EDIT_DWORD_WRITEVALUE,edit,1350631553
Control43=IDC_BTN_EXIT,button,1342242816

⌨️ 快捷键说明

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