840D的toolbox内容说明
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
TOOLBOX内容说明
下面是以TOOLBOX V6.5说明其中内容,希望对用户有所帮助。
下图是TOOLBOX光盘的所有目录。
其中810D目录中存放的是810D早期系统软件使用的TOOLBOX;840D目录中存放的是840D早期系统软件使用的TOOLBOX。(子目录的序号对应CCU/NCU系统软件版本)。从CCU/NCU系统软件版本V4.3以后,TOOLBOX不再区分810D和840D,统一为8X0D。
上图是根目录下的内容,用户如果安装TOOLBOX 应运行根目录下的SETUP.EXE。SIEMENSE.TXT是光盘内容介绍;UPDATE_E.DOC是系统升级步骤说明。
安装的时候,有四项内容可选择安装。
PLC Basic Program for 8x0D V6.5—-PLC基本程序,必须安装。
SINUMERIK Add-on for STEP7 V5.2.1.0—-硬件信息,必须安装。
NCVar Selector—NC变量选择器,如果用到PLC读写NC变量的功能(FB2/FB3),
需要安装;否则,可不安装。
PLC Symbols Generator—PLC符号生成器(具体内容参看symbol_generator.doc),可不装
一.下图是TOOLBOX V6.5的内容。
1.子目录BSP_PROG中存放的是一些PLC例程,其中
(带显示屏的)手持操作单元的标准例程
mini手持的标准例程
2.子目录PLC.INF中有两个文件:
AWLVERS.EXE—STEP7 ASCII源代码版本管理(由于使用的机会比较小,下面的说明没有
翻译)
The DOS program AWLVERS.EXE is used for the version generation of several
similar projects (e.g. basic program 840D, 810D and FMNC or for combining modular machine programs). The aim of this program is the simple generation of STEP 7 AWL programs from tested source files (e.g. file name "REVOLVER.SRC"). A source file contains, for example, several similar machine entities with the same FC, FB and DB numbers which are, however only used as alternatives. The source file is identified by version switches (different keywords of max. 18 characters) for the individual machine units. By entering one
or several keywords when generating a version you can create an AWL program for
that/those machine unit(s) .
Procedure for creating a source file:
A common source file is to be created for all the versions (e.g. FILE.SRC). Specific differences are identified in the file by ~Version~ followed immediately by a carriage return. The term Version here is a joker for any name which can be up to 18 characters long. From
this point onwards, the following program parts are only generated into the corresponding "FILE.AWL" if this term has been parameterized in the version management program. This version-dependent generation is performed until an ~end~ is reached. From this point, "AWL" generation is continued until the next identification is reached.
A negated form of ~Version~ continues to be supported with the identifier ~!Version~ . Here, the statement part is omitted from the file to be generated if Version is used as a parameter for the program AWLVERS.EXE. The source file can be any length. Parameterizing program AWLVERS.EXE:
1st Parameter:
File name of the source file to be converted to an AWL file. The same file name is generated as the original file with the extension "AWL" if the third parameter is missing. The date entry corresponds to that of the source file. A file of the same name that already exists is verwritten without a prompt.
2nd Parameter:
Version identification (e.g. Turret1 or Turret2). Up to 32 different identifiers are possible. Each name is separated from the next by a comma (without a blank), e.g. gp840d,test. As an alternative to direct parameterization of the version name, a file name can be specified by a preceding @ where the version names are stored in the same way as for direct parameterization.
As an alternative, a line feed can be used instead of a comma to separate the names in the file. There is no rule about the use of upper and lower case letters. The version names are the key for generating the "AWL" file. These names are enclosed by a tilde character in the source file to be converted (see example below).
3rd Parameter (optional):
Original file name [with full path identifier].
Example:
Source file "example.src" in which the version identifiers mars, mips and mops are used.
~mars~
test1
test2
~end~
neutral1
neutral2
~mips~
test3
test4
~end~
~mops~
test5
test6
~end~
~!mars~
test7
test8
~end~
Parameterization of the program: AWLVERS example.src mars,mips
The following target file is generated: Example.awl
test1
test2
neutral1