发布于 2005-09-18 13:04:49
0楼
The "S7ProSim Control" can be used in various external containers.
Please do the following when you would like to use the S7 Control in the worksheets of Visual Basic:
Open a new VB project.
Position the cursor on the toolbox.
Choose "right mousebutton > components..."
Select file S7WSPSMX.OCX
in STEP 7 V5.0 in path: "C:\SIEMENS\STEP7\S7WSI\S7WSPSMX.OCX"
in STEP 7 V5.1 in path: "C:\SIEMENS\PLCSIM\S7WSI\S7WSPSMX.OCX"
After confirmation with "OK", the control element "S7ProSim Control" will show up in the toolbox.
The control element then can be inserted in a VB form.
大意是加.ocx文件在VB或其它程序中,就可以直接调用了,具体步骤,不在这赘述,需要者让我知道!!!