




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、GCCS-1GCCS-1Global Common Control Global Common Control Software DesignSoftware DesignCore Section 5: Actions 执行动作Objectives目标Describe the term “sequence action” or “action” 知道“执行顺序”或“动作”Describe the general logic structure of an action routine 知道动作的逻辑结构Describe “switch bypassing” logic. Explain the
2、 action routine order 知道“旁路开关”逻辑和动作执行顺序。Describe “prompting” logic 知道“提示信息”逻辑Use the HMI message to find the condition in the cell that is generating a HMI prompt message 通过HMI产生的提示信息在cell内找到条件语句。Action 执行动作The basic unit of data for a motion 动作的基本数据构成Complete conditions 完成条件Automatic mode condition
3、s 自动条件Clear conditions 清楚条件Motion timer 动作定时Process Complete (when required) 过程完成(有需要时)Scrollist text and status ID 滚动条和状态IDAll control logic and diagnostics for a motion is in one routine 所有动作控制和诊断逻辑在同一程序中ClampClose would be in one routine ClampClose在一个子程序中ClampOpen would be in a different routine
4、ClampOpen在另一个子程序中。Action UDT执行动作UDTTurn these bits on to enable skip/bypass for this action 将这位置1可skip/bypass这个动作Add this bit to the appropriate logic to bypass the action 这个是用于旁路执行动作的Monitor this bit to determine if the Do/Undo PB will affect this action 监控这个可知道Do/Undo按钮是否执行Action Routines 执行动作程序Ea
5、ch action has its own routine 每个动作有自己的程序 Note: The routine names should initially skip numbers by 5s. This will make re-sequencing actions easier because fewer routines will need to be renamed. 程序名称开始时间隔为5. 这使更改和排序简单,只有少数需要更改。Routine S000_Sequence builds the scrollist. It calls all Action routines 程
6、序S000_Sequence生成滚动条。调用所有执行程序How to build an Action 如何建立一个执行动作Create a program scoped tag of the appropriate za_Action. Datatype 生成一个za_Action. 数据类型的程序Action Routines 执行动作程序Create routines for each action. 对每个执行动作生成子程序Name the routines so that they appear in the desired sequence order. 对每个子程序命名,可按顺序显
7、示。Note that this is strictly a visible ordering of the routines. The action logic contained in the routine will dictate the sequence order. 这是一个比较严格的逻辑顺序。动作执行顺序在程序中排列。Action Routines执行动作程序Finally, add calls to these routines in S000_Sequence. The order of the calls is the order of display for the sc
8、rollist 最后,在S000_Sequence增加调用所有子程序。调用的顺序按子程序排列Action Routine Logic Structure 执行动作程序逻辑结构The first rung is the Switch Internal rung. 第一个语句是内部开关The switch internal is facilitates bypassing of faulted switches内部开关说明故障开关的旁路。Action Complete Rung 完成的动作执行语句The Action Complete rung is located near the top of
9、 the routine to allow you to quickly determine the state of the action动作执行完成语句在之程序的开头,让你能快速知道执行动作的状态As logic rungs are conditioned it will be necessary to delete TBD bits which are part of GCCS-2 standard and designed to bring the users attention to areas where user input is required. 按GCCS-2要求,在条件语
10、句确定后要删除TBD位。输入所需条件。When opposite action is initiated there will be a time delay before these change state 当动作改变到相反的执行动作时,需要有延时。Opposite actions “Out” helps prevent collisions 相反的动作“Out”防止冲突Auto Mode Conditions 自动条件The actions Auto Mode conditions follow the Action Complete Rung. 执行动作的自动模式在动作执行完成语句后面
11、。This rung includes all conditions required for an action to run in Auto Mode. 这个语句包含了自动模式所需要的条件Remove the TBD after conditions entered.Action Clear Conditions 执行动作清除条件 Actions Clear Conditions contains all conditions for the action to move either in auto or manual mode 清除条件包含自动和手动模式的动作执行条件 Must con
12、tain all conditions needed to prevent equipment damage 必须包含动作冲突的条件Enter XIC of all “.comp” bits of motions that must be complete to be clear of this action.Action Output Power Rung 执行动作输出语句Output power conditions for the action. 输出条件用于执行Configure with all power conditions necessary for motion of the
13、 device 配置所有动作设备的输出条件Action Command Rung 执行动作命令语句Action Command rung sums both the Auto and Clear conditions 命令语句包括自动和清除条件When the action operates before / after maincycle, “Maincycle.Incycle” will need to be replaced by “Mode.Auto” (i.e. pins, robot init, etc.) 当动作执行在mainclcye之前/之后,用“Mode.Auto”替代“M
14、aincycle.Incycle”。Both conditions are affected by the clear and output power before the command turns on. 在命令执行前要满足这两个条件Auto mode cycleManual mode controlAction Internal Output 执行动作内部输出The Action Command turns on the Action Internal Output. 由执行动作 命令驱动执行动作内部输出This is used because it requires fewer lo
15、gic changes and minimizes the use of the “Real” Output 用这个可减少逻辑更改且使“Real”输出使用最少。You cant write all of your logic and address this at the end 在这里不需要写所有的逻辑和地址Using an internal output requires fewer logic changes. Cross interlocking and sealing of outputs can be pre-written without knowing what the rea
16、l output is.减少逻辑更改,在不知道连锁和涂胶输出的真实输出前预写入。Action Memory Rung 执行动作记忆语句Action Memory is used to remember the last commanded direction.动作记忆可知道上个动作的方向。It is set and reset by the Action Internal Output 通过内部动作输出可置位和复位 Correctly sets Memory bits when manually valving a tool.Action Fault Timer 故障定时The Fault T
17、imer is used to determine when the action is faulted, and allows time for the action to complete. 故障定时器用于故障发生时完成动作所需时间The fault timer preset value must be set to allow enough time for the action to complete without triggering a motion fault. 故障定时器要给动作完成有足够时间,避免动作误报警。Scroll List Not Visible Rung 滚动条不
18、显示语句 The SL Not Visible Rung will prohibit the action from displaying on the HMI Scroll List when SL.NotVisble tag is true. 当SL.NotVisble为真时,动作执行菜单不在HMI滚动条上显示 Unconditionally unlatch to display. 无前提条件显示zDiag Enable Bypass Rung 诊断旁路语句 The zDiag Enable Bypass Rung allows bypassing the diagnostic switc
19、hes for the action. zDiag旁路语句可旁路执行动作的开关诊断。No more than one cylinder per action is allowed to be bypassed at any given time. 在任何时候最多一个动作汽缸可被旁路Scroll List Configuration Rung 滚动条配置语句The last rung of the Action routine starts with setting the HMI scroll list Action Text trigger and Action StatusType tri
20、gger. 在执行动作的最后是滚动条语句和动作状态类型Action Prompt Rung 动作提示信息The Action Prompt Rung is the diagnostic prompt for that action.动作提示信息用于动作的诊断信息。This rung displays the prompt for this action when the “Action.Prompt” bit is set by another action. 这个语句显示了动作提示信息,而“Action.Prompt” 是由其它动作设置的。Prompt only when action is
21、 clearSet by other actions prompting logicDiagnostic Prompt programmed one timeMotion Prompt Rung动作提示信息The motion prompt rung latches prompts for all motion conditions found in the Action Clear rung.动作提示信息语句包含的所有动作条件在执行动作清除语句中Add branches for all items in the Clear Rung. 在清除语句中增加分支。Action Output Pow
22、er Prompt Rung 动作输出提示信息语句The Motion Output Power Prompt sets latches for output power devices that are in the Output Power rung. 在输出动作语句中有输出设备的动作输出提示信息。Ensure a latch branch is added for all components in the Output Power Rung.在输出动作语句中增加一个分支。Do/Undo Unlatch Rung Do/Undo解锁语句Do/Undo Unlatch clears the
23、 Action Internal Push Button bit, this ensures that the internal Action Push Button bit gets turned off. Do/Undo解锁语句可清除按钮的内部置位,内部位清零。Unlatches the OutPwrPrompt and the current motion prompt 解锁OutPwrPrompt和当前动作提示信息。 Action Found Rung 动作定位语句The Action Found Rung controls the cursor when Auto Cursor mo
24、de is enabled.动作定位语句控制自动模式下的光标。The conditions shown in Figure 21 will work in most cases, modify if needed. 在图21的条件可适应大部分场合,有需要可更改。Above conditions work in most cases. May be modified for unusual cases to control auto cursor.On in auto cursor modeSwitch Logic 开关逻辑This figure shows a proximity switch
25、 providing an input in the Action Complete rung 图例显示了一个接近开关在动作完成语句中的输入。When Switch is NOT Bypassed“Real” inputAction Motion Timer DoneHere is the “switch” Cylinder C01 PX2 SwitchWhen Switch is bypassedSwitch Logic开关逻辑 When the switch is not bypassed, use the “Real” input. 当开关未旁路,用“Real” 输入 When the
26、switch is bypassed, the logic waits for the Action Motion Timer to finish to satisfy input to the Action Complete rung 当开关被旁路时,逻辑用动作执行定时器作为动作完成语句的条件输入。 Waiting for the Motion Timer allows time for the action to complete and helps prevent equipment crashes 等待动作执行定时器定时完成,防止设备冲突。 Using the Motion Timer
27、 also works for switches that have failed on. 用动作执行定时器替代失效的开关。Switch Diagnostics 开关诊断The Switch Diagnostics Rung is shown in here. 这里是开关诊断语句 When diagnosing switches, both the “on” and the “off” states must be diagnosed. 诊断包含“on”和“off”的状态。“Open” Switch PX1Not Off“Close” Switch PX2Not OnSwitch Diagno
28、stics开关诊断 The diagnostic priority determines if switches can be bypassed. However, the programmer must determine whether bypassing a switch is allowed.诊断优先级决定开关是否可旁路,由编程人员决定开关是否可旁路 Bypassing is not allowed when no motion is detected. 当动作无法检测是不可旁路 The switch bypass bits are set based on alarm trigger
29、s and are maintained in the BypSw BOOL array 旁路开关位在报警寄存器中设置,在BypSw 布尔数组中维护。Bypassing Bits Used In Switch Rungs 开关旁路Bypassing the “switch not on”, the switch rung is located in the same routine.旁路开关在同个子程序中Bypass bits for the “Open” Switch PX1 Not Off are also set based on alarm triggers. “打开”的Switch
30、PX1 Not Off旁路位在报警寄存器中。 Switch Not Off Switch Rungs For bypassing the “switch not off”, the switch rung is located in the opposite routine 旁路“switch not off”的语句在对面语句。 “Open” Switch PX1 Not OffSwitch Not Off Switch Rungs For bypassing the “switch not off”, the switch rung is located in the opposite ro
31、utine旁路“switch not off”的语句在对面语句。 Open Clamp RoutineClose Clamp RoutinePrompting 提示信息 Prompting starts by looking at the Clear conditions for the action. 提示信息在动作条件清除开始的 The prompting rung triggers prompts when the user cannot do the action.当用户无法执行动作是提示信息触发。 Example: Robot Clear Prompt 机器人清除提示 As show
32、n in this figure the Clamp1 prompting logic triggers the robot not clear prompt. 下面显示在夹头1处机器人未清除提示This rung is located in B010_Map1Station, no edits to be made.Example: Another Action Triggers a Prompt 其它的动作提示This example will show how another action would trigger the Clamp1 prompt. 这个例子显示夹头1的另一个提示C
33、lose Clamp2 action requires Clamp1 to be closed. 关闭夹头2之前需要夹头1先关闭Example: Another Action Triggers a Prompt其它的动作提示 The Close Clamp2 prompting is shown here. 夹头2的提示信息Clamp1 Not ClosedTrigger Close Clamp1 promptWhat happens if Clamp1 Close is not Clear?Prompting提示 When the user is attempting to close Clamp 2 while Clamp 1 is not closed and not clear the prompt displayed on the HMI will indicate that Clamp1 is not closed. 当夹头1未关闭而试图关闭夹头2时,在HMI上会显示夹头1未关闭的提示信息。 If Clamp1 is not clear then prompting will ind
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 情感教育与情商提升活动计划
- 2024年云南省生态环境厅下属事业单位真题
- 2024年云南省戒毒管理局下属事业单位真题
- 2024年西藏自治区商务厅下属事业单位真题
- 2025年行业竞争格局变化分析试题及答案
- 感受软件设计师职业的乐趣试题及答案
- 2025届江苏省无锡市宜兴市七年级数学第二学期期末统考试题含解析
- 2024年培黎职业学院辅导员考试真题
- 2024年南京师范大学辅导员考试真题
- 2025年绿色金融对企业战略的影响试题及答案
- 2024年湖北省中考地理·生物试卷(含答案解析)
- GB/T 44241-2024虚拟电厂管理规范
- JGT 160-2017 混凝土用机械锚栓
- 南通辅警考试题库
- 连续蒸煮螺旋喂料器
- DL-T904-2015火力发电厂技术经济指标计算方法
- 新时代劳动教育教程(高校劳动教育课程)全套教学课件
- 北京市某低温热水地板辐射采暖工程设计 毕业设计
- 懂设备原理会维护保养
- 英语中考专题复习-短文填空
- 《化妆品稳定性试验规范》
评论
0/150
提交评论