s7300 通过DP控制MM440 程序及本地/远程控制 点击:975 | 回复:1



铁火炉

    
  • 精华:0帖
  • 求助:0帖
  • 帖子:2帖 | 22回
  • 年度积分:0
  • 历史总积分:49
  • 注册:2005年8月26日
发表于:2006-12-14 19:50:00
楼主
s7300 通过DP控制MM440 程序及本地/远程控制的参数设置




 ///FC1/// 

_________________________________________________________

   L     #hw_config_I_O_address      // address HW-config; 
      SLD   3 
      T     #Adresse_E_A 


      L     PID [#Adresse_E_A] 
      T     LD     8                    // state word1 + act. frequency 


// --------------------------------------- 
// IN-Variablen FC 
// -------------------------------------- 
// PZD1 - Steuerwort 1                  // set single bit in the control word 1 
      SET                               // set VKE=1 
      =     #SEND.CW1.Bit_1 
      =     #SEND.CW1.Bit_2 
      =     #SEND.CW1.Bit_3 
      =     #SEND.CW1.Bit_4 
      =     #SEND.CW1.Bit_5 
      =     #SEND.CW1.Bit_6 

      CLR                               // set VKE=0 
      =     #SEND.CW1.Bit_8 
      =     #SEND.CW1.Bit_9 
      =     #SEND.CW1.Bit_12 
      =     #SEND.CW1.Bit_13 
      =     #SEND.CW1.Bit_14 

      A     #drive_on_off               // on / off ? 
      =     #SEND.CW1.Bit_0 

      A     #drive_reversing            // cw / cww ? 
      =     #SEND.CW1.Bit_11 

      A     #drive_fault_ackn           // fault ackn.? 
      =     #SEND.CW1.Bit_7 

      A     #control_from_plc           // setpoint valid   ? 
      =     #SEND.CW1.Bit_10 

   &nb



asdfghj

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 1回
  • 年度积分:0
  • 历史总积分:51
  • 注册:2017年4月29日
发表于:2017-04-29 15:53:40
1楼

怎么转成lad语句  语句表完全看不懂


热门招聘
相关主题

官方公众号

智造工程师