参考教程教案mit_第1页
参考教程教案mit_第2页
参考教程教案mit_第3页
参考教程教案mit_第4页
参考教程教案mit_第5页
已阅读5页,还剩11页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Configuration tool (1)Many DeviceNet modules can be configured online using a DeviceNet configuration tool. Some modules will not function without online configuration (e.g. Allen-Bradley Point I/O)!The scan list of a scanner (master) can also be configured and saved on the scanner module using a co

2、nfiguration tool.Configuration is carried out online. The configuration tool is located on a PC. This is connected to the DeviceNet via a DeviceNet adapter. The best-known configuration tool is RS-Networx. This tool can be purchased from Rockwell-Automation. The scan list can only be loaded onto the

3、 LPDN scanner card. This function is not possible with MFC-DeviceNet.Configuration tool (2)Standard modules can be reconfigured using the configuration tool. The new configuration is saved on the module, protected against the effects of a power failure. A “reconfigured” module can no longer be repla

4、ced with a standard module. If it is necessary to replace a “reconfigured” module, the new module must first be reconfigured. In practice, this continually causes problems when reconfigured modules are replaced with standard modules with the same hardware.Configuration tool (3)Configuration with RS-

5、Networx is not described in detail in this documentation. RS-Networx is not a KUKA product! The LPDN scanner card can be configured using RS-Networx. The following steps are required for this:Switch LPDN scanner card to configuration modeRSNetworx: load (register) LPDN-Scanner.edsRSNetworx: load bus

6、 configurationRSNetworx: configure and download modulesRSNetworx: edit LPDN scanner scan list and carry out download.The data are written to the file dnsc_1sl.ini. Existing entries will be overwritten!RSNetworx: save and close project.I/O reconfiguration. (I/O reconfiguration terminates configuratio

7、n mode)The basic procedure is described in greater detail on the following pages.Switch LPDN scanner card to configuration mode (1)Syntax:Result=IOCTL(12,512,1)KRL system functionDriver identification number for DeviceNetCode number for commandse.g.:512 = configuration mode1 = ON0 = OFFInteger varia

8、ble(0 = command executed)Switch LPDN scanner card to configuration mode (2)Syntax:Result=IOCTL(12,512,1)Driver identification number for DeviceNetIOSYS.INICONFIGVERSION=2.00DRIVERS;MFC=0,mfcEntry,mfcdrv.oDNSC1=12,dnsc1Init,dnsc1drv.o DNSC2=13,dnsc2Init,dnsc2drv.o .Driver ID12= Driver ID for Channel

9、1 13= Driver ID for Channel 2 Switch LPDN scanner card to configuration mode (3)Syntax:Result=IOCTL(12,512,1)Code number for commandsPossible code numbers:Code 512,1 = Switch LPDN scanner to configuration modeCode 512,0 = Terminate configuration modeReturn value: 0 = OK, -1 = Fault.Switch LPDN scann

10、er card to configuration mode (4)The “=” sign must not be used in versions earlier than 5.2. =IOCTL(12,512,0)Once this message has been executed, the message “6503 Config Enable” is displayed in the message window of the HMI (GUI).RSNetworxInstall EDS fileThe EDS file and the associated icon for the

11、 LPDN scanner card are located on the KUKA CD-ROM in the directory E:InternatBusDevicenetLPDN_ScannerInlpdnscanner.edsBus structure loaded onlineConfigure modulesEdit scan listDownload scan list (1)Download to card. Data are stored in the file dnsc_1Sl.iniDNSC_1SL.INIMODULE_STARTUPINACTIV=; CONTINUE

12、_WITH_WARNING=;SCANNERCFGNET_EPR=75NET_ISD=2NET_STATUS=0NET_BACKGROUND_POLL_RATE=1GLOBAL_OPTIONS=0NET_TX_RETRY_COUNT=11MAC_ID=1CONFIG_VALID=1IDN_PORT=0VENDOR_ID=418PRODUCT_TYP=12PRODUCT_CODE=14MAJOR_REV=0MINOR_REV=0SCAN_TYP=2POLL=0Download scan list (2)STROBE_RESPL=0STROBE_CMDL=0POLL_RESPL=8POLL_CMD

13、L=8COS_CYC_RESPL=0COS_CYC_CMDL=0 MAP_IN_MSGTYPE_0=1MAP_IN_IMGL_0=64MAP_IN_IMGDO_0=0MAP_IN_MSGTYPE_1=1MAP_IN_IMGL_1=0MAP_IN_IMGDO_1=0MAP_IN_MSGTYPE_2=1MAP_IN_IMGL_2=0MAP_IN_IMGDO_2=0MAP_IN_MSGTYPE_3=1MAP_IN_IMGL_3=0MAP_IN_IMGDO_3=0MAP_OUT_MSGTYPE_0=1MAP_OUT_IMGL_0=64MAP_OUT_IMGDO_0=0MAP_OUT_MSGTYPE_1

14、=1MAP_OUT_IMGL_2=0MAP_OUT_IMGDO_2=0MAP_OUT_MSGTYPE_3=1MAP_OUT_IMGL_3=0MAP_OUT_IMGDO_3=0EPR=0ACK_TIMER=0IH_TIMER=0OPTIONS=128STATUS=8DNSC_1SL.INIDownload scan list (2)When downloading with RSNetworx, a very large number of parameters are also transferred.With RSNetworx, these parameters can be conveniently edited via a selection window. Manual modification of the parameters is not advisable.FOnly the parameters descr

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论