ELAU运动控制器的应用――Watch3

ELAU运动控制器的应用――Watch3
2011年12月12日
  FUNCTION_BLOCK Watch3
  (* ------ Copyright (C) 2003 ELAU AG Germany ------------------------------------------------ last change: 24.09.2007 Requirements: Max4_V001500.lib or higher Explanation: MainsWatch (External Device Monitoring) :
  The input 'MainsWatch' is conected to an extra Contact of the Mains Contactor
  to monitor the proper functionality of the Mains Contactor.
  When the Mains Contactor is activated, the input 'MainsWatch' must be FALSE.
  With pos.edge of Enable and after every ErrorQuit of 'Error MainsOff', the functionality
  of the MainsWatch Contact is checked.
  The input MainsWatch must be TRUE at the start and become FALSE when the Mains Contactor
  is activated.
  *) VAR_INPUT
  Enable: BOOL; (* Enables the FB *)
  MainsWatch: BOOL; (* Mains contactor monitoring *)
  MainsOff: BOOL; (* switches Mains Contactor off *)
  PowerOnDelay: TIME; (* limited to minimum of 1sec *)
  Error1: BOOL; (* Error class1 *)
  Error2: BOOL; (* Error class2 *)
  Error3: BOOL; (* Error class3 *)
  MasterVel: REAL; (* Master velocity *)
  t_MasterStop: TIME; (* maximum time for master to stop *)
  ErrorQuit: BOOL; (* Error Quit, pos.edge resets the error *)
  END_VAR
  VAR_OUTPUT
  Active: BOOL; (* Shows if FB is active *)
  ErrorLevel: DINT; (* Error level *)
  AxisEnable: BOOL; (* enables Axes *)
  Error: BOOL; (* Error seen *)
  MasterStop: BOOL; (* stop Master axis at cycle end *)
  MasterQStop: BOOL; (* stop Master axis emediatelly *)
  SlaveStop: BOOL; (* stop Slave axis emediatelly *)
  Result: DINT; (* State or Error code *)
  ResultText: STRING[40]; (* Result or Error text *)
  MainsContactor: BOOL; (* Mains contactor activated *)
  END_VAR
  VAR
  EnableFlag: BOOL;
  State: DINT;
  TimeOut : TON;
  Flanke: R_TRIG;
  DiagCode: DINT;
  END_VAR ================================================== =================================================== ======= (* REVISIONS:
  30.09.2003 AMoe AxisEnable:= FALSE im State 100 bei der Abfrage ELSIF Error2 AND
  ErrorLevel > 20 eingbaut
  06.11.2003 AMoe MainsWatch is now also checked in State 30. If it becomes TRUE,
  the MainsContactor is set FALSE and an Error is generated.
  17.04.2007 FW Im State 40 bei einem Error2 anstatt nach State 100 zu springen nach
  State 50 um
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
该手册为全套手册的第三部分,介绍了西门子 SIMOTION 运动 控制的基本组态、调试、编程与常用运动控制命令。 目 目目 目 录 录录 录 一 一一 一、 、、 、SIMOTION 概述 ............................................................................................................. 1 1.1 应用背景 ..........................................................................................................................1 1.2 SIMOTION 的系统组成及功能......................................................................................1 1.3 硬件平台 ..........................................................................................................................2 1.4 SCOUT 工程开发平台 ....................................................................................................4 二 二二 二、 、、 、系统组态 系统组态 ........................................................................................................................... 6 2.1 新建项目 ..........................................................................................................................6 2.2 插入设备 ..........................................................................................................................7 2.3 建立连接 ..........................................................................................................................8 2.3.1 设置通讯接口 ...........................................................................................................8 2.3.2 配置 SIMOTION 上 DP 接口参数...........................................................................9 2.3.3 配置 PG/PC 的通讯方式 ........................................................................................10 2.3.4 激活至 SINAMICS_Integrated 的路由 ..................................................................11 2.3.5 下载硬件组态 .........................................................................................................12 2.4 项目配置与调试 ............................................................................................................14 2.4.1 恢复 SINAMICS_Integrated 至工厂设置 .................

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值