新浪博客

ABBAC900F学习笔记311:IEC61131-3编程-SFC-11

2023-06-25 19:52阅读:
继续学习FREELANCE2019SP1种SFC编程。
9.4.6 Define criteria window
定义判据窗口
Criteria windows can be defined for the operator interface, in order to give the user instructions for the current processing activity. Variables whose state or value can be later polled in the Freelance operator station at the appropriate step can be selected. Variables can be entered on the one hand from the system wide variables list, on the other hand, from the programs assigned to the step. To this end, however, the corresponding programs (FBD, LD, IL, or ST) must have been entered during parameter definition. Up to 20 variables of any data type can b
e entered. Variables of data type REAL, WORD or also INT can be newly written in the operator interface. Access = Yes must
have been configured for this purpose.
可以为操作员界面定义判据窗口,以便为用户提供当前处理活动的说明。可以在freelance操作员站的适当步骤中选择变量,其状态或值稍后可以轮询。一方面可以从系统范围的变量列表中输入变量,另一方面可以从分配给该步骤的程序输入变量。但是,为此,必须在参数定义期间输入相应的程序(FBD、LD、IL 或 ST)。最多可以输入 20 个任何数据类型的变量。数据类型为 REAL、WORD 或 INT 的变量可以在操作员界面中新写入。访问 = 是 必须为此目的进行配置。


A tag can also be assigned to each variable. This enables a relevant faceplate to be called up on the operator station in the operation dialog of the criteria window.
还可以为每个变量分配一个标记。这样就可以在标准窗口的操作对话框中调用操作台上的相关面板。


The criteria window for transitions is divided into three section &&, >=1 and of any data type. Each variable of data type BOOL is marked later in color on the operator station, if a previously defined state has been assumed. The variables of the third section can be of any arbitrary type and are used for displaying values. All entered variables can be controlled by the operator.
条件的判据窗口分为三个部分 &&, >=1 和任何数据类型。如果假定了先前定义的状态,则数据类型为 BOOL 的每个变量稍后在操作员台上以颜色标记。第三部分的变量可以是任意类型,用于显示值。所有输入的变量都可以由操作员控制。
Define step criteria window
定义步骤判据窗口
> Edit > Define criteria window
菜单编辑 > 定义判据窗口
If a step has already been selected, the dialog for setting parameters for the step criteria window is displayed.
如果已选择步骤,则会显示用于设置步骤判据窗口参数的对话框。
ABBAC900F学习笔记311:IEC61131-3编程-SFC-11




STEP 步
Name of the selected step, cannot be changed here
选中步的名字,在这里不能修改
Comment 注释 Comment for the Criteria window, appearing later on the operator interface. 判据窗口的注释,稍后会出现在传作员接口。
ACCESS 访问 Write (operator intervention) of the selected value is permitted.
允许写入(操作员干预)所选值。
Variable list
变量列表
Insert 插入 ABBAC900F学习笔记311:IEC61131-3编程-SFC-11
A variable can be selected from the global variable list and taken over by clicking OK.
可以从全局变量列表中选择变量,并通过单击“确定”(OK) 进行接管。
REMOVE
移除
The selected variable is removed from the variable list without any prompt for confirmation.
所选变量将从变量列表中删除,而不提示任何确认。
Up / Down
向上/向下
These buttons can be used to define or alter the display order of variables in the associated criteria window for the sequential function chart. UP moves the selected variable one position upwards in the variable list, DOWN does the opposite.
这些按钮可用于定义或更改顺序函数图的关联条件窗口中变量的显示顺序。UP 将所选变量在变量列表中向上移动一个位置,DOWN 则相反。

Assign tag
指定标签
These buttons can be used to show a selection list of the tags already configured in the system, in order to assign just one tag to the selected variable. This enables a faceplate to be chosen for the selected variable in the user interface (Freelance Operations). The tag's faceplate then makes direct operator action on that tag possible.
这些按钮可用于显示系统中已配置的标签的选择列表,以便只为所选变量分配一个标签。这样就可以为以下位置选择面板用户界面中的选定变量(freelance操作)。然后,标签的面板使操作员可以直接对该标签执行操作。
Release tag释放标签 The tag assigned to the variable is released again. It is thus not possible in the user interface to select any tag's faceplate for this variable.
分配给变量的标记将再次释放。因此,无法在用户界面中为此变量选择任何标签的面板。
Program list
程序列表
Edit
编辑
The program selected (highlighted) in the program list is called up in the appropriate editor (FBD, LD, IL, or ST) to enable, for example, changes to be made to it. Before the editor is called up, the program must be stored through the following dialog.
在程序列表中选择(突出显示)的程序将在相应的编辑器(FBD、LD、IL 或 ST)中调用,以启用例如对其进行的更改。在调用编辑器之前,必须通过以下对话框存储程序。
Variables变量 ABBAC900F学习笔记311:IEC61131-3编程-SFC-11
A list is displayed containing all the variables belonging to the program selected under the step's program list. Only one variable may be selected. Comment and resource name are also displayed.
Where an input or output has been specified, the slot, module and channel are also displayed. When OK is clicked, the variable is copied across and inserted in the variable list in the criteria
window.
将显示一个列表,其中包含属于在步骤的程序列表下选择的程序的所有变量。只能选择一个变量。还会显示注释和资源名称。在指定输入或输出的情况下,还会显示插槽、模块和通道。单击“确定”时,将复制变量并将其插入到条件的变量列表中

我的更多文章

下载客户端阅读体验更佳

APP专享