ABB_800xA学习笔记202:System_800xA_Control_6.0_AC_800M_Getting_Started_42附件A-7
2023-12-03 12:07阅读:
继续学习入门手册附件A
Re-Authentication
重新身份认证
The Re-Authenticate function is used to ensure that a user is
authorized to download
a project. If the function is
enabled, a dialog is shown and you will be asked to enter
name and password before the download is
carried out.
重新身份认证功能用于确认用户经过授权进行项目下载。如果启用该功能,显示对话框,在执行下载前要求你输入名字和密码。
Figure 66. Re-authenticate dialog
图 66. 重新认证对话框
Disable/Enable Re-Authenticate function
取消/启用重新认证功能
1.
Select Tools > Setup > Station >
Application Download. A
‘Setup Application Download’ dialog opens.
选择工具 > 设置 >站 > 应用下载。 打开下载应用程序设置对话框
2. Set the parameter ReauthenticateDL to true/false. The
function is enabled per Control Builder station.
设置参数“重新认证'为真/假。为每一个控制器启用功能。
Compiler Switches
编译器开关
Configurable switches in the compiler allow you to introduce
extra restrictions on code. The restrictions are
divided into:
可以对编译器中配置开关,允许你对代码引入额外的限制。限制分为:
- Global restrictions 全局限制
- SIL restrictions SIL限制
Global restrictions are valid for all code. SIL restrictions are
valid only for code
marked SIL1-2 and SIL3. For SIL1-2
and SIL3 code, there are also mandatory
restrictions, which cannot be
changed.
全局限制对全体代码有效。SIL限制只是对标记为SIL1至2,和SIL3的代码有效。对SIL1至2和SIL3的代码,还有强制限制,无法更改。
A restriction can have the values:
限制可以有以下数值:
- Allowed 允许
- Warning 警告
- Error 错误
Mandatory SIL1-2 and SIL3 restrictions are always errors.
强制SIL1至2和SIL3的限制始终是错误的。
The restrictions are checked during the check of each type, and
also during the
compilation. If you change a
restriction, the project will be re-compiled when you
perform a download of the project, and the code
will be validated with the new
restriction.
在检查每种类型以及编译期间都会检查限制。如果修改限制,当你执行下载项目时,项目将重编译,代码将使用心得限制进行验证。
Restrictions makes it possible to warn against or forbid
things that may result in complex code and thereby
errors. For example, to check the usage of Instruction
List language, you can change the corresponding
switch from “Allowed” to “Warning”, and you
will get a compilation warning if there is any IL code in the
project. Another example is when a new library
is imported, you can then turn all switches
from “Warning” to “Error” to check the the
quality of the new library..
通过限制可以警告或者禁止可能导致复杂代码并因此发生错误的事情。比如,要检查指令表语言使用情况,可以将相应的开关从允许变为警告,如果项目中有任何IL代码,你将受到编译警告。另外一个例子是当导入新的库,你可以将所有的开关从警告变成错误以检查新库的质量
Compiler switches are configured in the Compiler Switches dialog,
which is
displayed if you; right-click the Project
Icon (e.g. MyDoors in Figure 13) and select
Settings > Compiler Switches from the
context menu. A ‘Compiler switches’window will
open.
如果你鼠标右键点击项目图标(比如图13的MyDoors),从关联菜单选择设置>编译开关,在编译开关对话框配置编译开关
。
Figure 67. Compiler switches dialog
图 67. 编译开关对话框
It is possible to exclude a library from a certain restriction,
provided that the
restriction is a warning. If a
library is excluded, no checks are performed on the
restriction for any type in that library. For
example, if a new external library results in
many warnings, you may want to filter out acceptable warnings to
make it easier to read other warnings. Click
Options in Compiler Switches dialog, and in the
expanded dialog select the library to exclude
from the selected restriction.
可以将某个库从某个限制排除在外,前提是该限制是警告。如果该库被排除,将不对该库所有的类型执行限制检查。比如。新的外部库导致许多警告,你可能像过滤出可接受的警告,以便更加简单的阅读器他警告。点击编译开关对话框的选项,在展开的对话框从选择的限制中选择排除的库。
Figure 68. Compiler switches, excluding library from
restriction.
图 68. 编译开关,从限制排除库