FB125 监控 DP总线说明.doc_第1页
FB125 监控 DP总线说明.doc_第2页
FB125 监控 DP总线说明.doc_第3页
FB125 监控 DP总线说明.doc_第4页
FB125 监控 DP总线说明.doc_第5页
已阅读5页,还剩20页未读 继续免费阅读

下载本文档

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

文档简介

使用Dig Repeater监控总线说明书硬件:Dig Reapeater 6ES7 972-0AB1-0XA0软件:FB125、DB125在PLC中分别打开OB1,OB82和OB86,在其中调用FB125和DB125,输入程序,例子程序如下: 使用说明:在PLC程序中有一个“DP监控状态位”的变量表,打开并在线监控可以看到其中DB125中的参数的数值,这些变量代表着总线中从站的状态。每个为代表的含义可看:DB125的功能 部分FB125参数说明:- 以下参数从1-8均为输入量 - 1. DP_MASTERSYSTEM (INT) 表示配置的DP主站系统的个数,在本例中为1。 2EXTERNAL_DP_INTERFACE(BOOL) =0,CPU主站的集成DP接口; =1,外部接口,如CP/IM。 3. MANUAL_MODE (BOOL) =0,自动模式,此模式下不支持单个从站的诊断; =1,手动模式,可以进行单个从站的诊断。 4. SINGLE_STEP_SLAVE (BOOL) 转到下一个出错的DP从站。 5. SINGLE_STEP_ERROR(BOOL) 转到正在显示的DP从站的下一个错误。 6. RESET (BOOL) =1,复位,初始化系统。 7. SINGLE_DIAG (BOOL) 只在手动模式下(MANUAL_MODE=1)有效。 =1,读DP从站的诊断。可在SINGLE_DIAG_ADR配置该从站的站号。 8. SINGLE_DIAG_ADR (BYTE) 只在手动模式下(MANUAL_MODE=1)有效。 与SINGLE_DIAG配合使用,在其中设置单独诊断的从站的站号。 - 以下参数9-25均为输出量。 - 9ALL_DP_SLAVES_OK (BOOL) =0,系统中从站存在故障; =1,系统中从站运行正常。 10SUM_SLAVES_DIAG (BYTE) 出错的DP从站的数目。 11. SLAVE_ADR (BYTE) 出错的DP从站的站号。 12. SLAVE_STATE (BYTE) 与当前SLAVE_ADR参数指示的从站相对应的状态错误号 0 1 2 3 从站状态 正常 连接从站失败 出错 未组态或无法诊断 13SLAVE_IDENT_NO (WORD) 与SLAVE_ADR有关。 14. ERROR_NO (BYTE) 与当前SLAVE_ADR参数指示的从站相对应的错误编号,每个编号都有一个与之相对应的故障信息。 15ERROR_TYPE (BYTE) 与当前SLAVE_ADR参数指示的从站相对应的错误类型,每个编号都有一个与之相对应的故障类型。编号 功能 1 标出故障模块的插槽 2 模块状态 3 通道诊断,定位当前诊断的模块号,通道号 4 S7诊断 5 单位诊断,从站的诊断数据可通过数据块的932-1175字节来读出 6 电缆诊断,可通过Repeater检测错误位置和原因 16MODULE_NO (BYTE) 与当前SLAVE_ADR参数指示的从站相对应的模块编号,指示出错的从站对应的槽或模块。 17MODULE_STATE (BYTE) 与当前SLAVE_ADR参数指示的从站相对应的模块状态。 编号 0 1 2 3 模块状态 正常 故障 模块不正确 模块缺失 18CHANNEL_NO (BYTE) 与当前SLAVE_ADR参数指示的从站相对应的故障模块的通道编号。 19CHANNEL_TYPE (BYTE) 与当前SLAVE_ADR参数指示的从站相对应的模块中出错通道的类型。 具体的故障信息参见下面表格。 Type (Hex)Meaning00Reserved01Input 02Output03Input-/Output04-1FReserved20PtP-Coupling21-2FReserved30F-Digital Input31F-Digital Output32-3FReserved40DI SINAUT RTU41CO SINAUT RTU42-4FReserved50SIWAREX51-54Reserved55DP-Interface module (Slave)56-5FReserved60Bit I/O (e.g. ASI-CP)61HART-Input62Reserved63HART-Output64IQ-Sense65HART Extended66-6FReserved70Digital-Input71Analog-Input72Digital-Output73Analog-Output74FM-POS75FM-REG76FM-ZAEHL77FM-TECHNO78FM-NCU79SM-POS-INPUT7ADESINA-Channel7BDP-Norm channel (Input)7CDP-Norm channel (Output)7DDP-Norm channel (other)7EUltrasound position detection (USW 300)7F-FFReserved20CHANNEL_ERROR_CODE (INT) 与当前SLAVE_ADR参数指示的从站相对应,每一个错误的通道都明确地给出了错误信息,每条信息对应着一个标号,具体标号对应的故障信息参见表格。CodeMeaning0-1Short-circuit (e.g. on the encoder line or on the output line)2Undervoltage (supply voltage)3Overvoltage (supply voltage)4Overload5Overtemperature6Wire break (e.g. on the sensor)7Upper limit violated8Lower limit violated9Fault (e.g. encoder supply, load voltage at the output, end of service life)10-15-16Parameterization error17No encoder voltage or load voltage18Defective fuse19Communication error20Ground fault21Reference channel error22Process interrupt lost23Actuator warning24Actuator shutdown25Safety-related shutdown26External fault (e.g. sensor fault, actuator fault)27Fault not clear / HART-Configuration changed28Reserved29primary variable out of limits (field device)30non-primary variable out of limits (field device)31Reserved32ASI-Diagnosis33Configuring error/parameterization error34Ground fault35P short-circuit (encoder)36M short-circuit37Wire break38No encoder supply39-48-65Configuring error/parameterization error66Common-mode fault67P short-circuit (encoder)68M short-circuit69Wire break70Reference channel fault71Measuring range violation72Measuring range violation73-96-97Configuring error/parameterization error98Ground fault99P short-circuit (encoder100M short-circuit101Wire break102Fuse tripped103No load voltage104Overtemperature105-128-129Configuring error/parameterization error130Common-mode fault131P short-circuit132M short-circuit133Wire break134-135No external load voltage136-137Connection not wired138Open conductor to +139Open conductor to -140Calibration error141Range error (underrange or overrange)142-143Open conductor of the current source144User calibration does not correspond to parameterization161Encoder wire break162Absolute encoder fault163Error pulses incremental encoder or no zero mark164Voltage monitoring encoder165Voltage monitoring 15V166Voltage monitoring digital output167-168Operating error169Error in machine data170Error set point171Error in cam data172Travel range monitoring173Operating range monitoring174Actual value monitoring175Target intakes monitoring176Target range monitoring193Analog input hardware fault194-195Analog input wire break (4-20mA only)196-197Analog input measuring range violation (underrange)198Analog input measuring range violation (overrange)199Analog output wire break200Analog output short-circuit201-224-225Signal A error226Signal B error227Signal N error228Falsely value229Fault 5.2V encoder supply230Fault 24V encoder supply231Encoder signal line short-circuit/wire break232Parameter assignment error233-256-257-288-289-320-321-352-353-356-357sensor/actuator error358-384-385-386Short-circuit (e.g. on the encoder line or on the output line)387Undervoltage (supply voltage)388Overvoltage (supply voltage)389Overload390Overtemperature391Wire break (e.g. on the sensor)392Upper limit violated393Lower limit violated394Fault (e.g. encoder supply, load voltage at the output, end of service life)395-400-401Parameterization error402No encoder voltage or load voltage403Defective fuse404-405Ground fault406Reference channel error407Process interrupt lost408Actuator warning409Actuator shutdown410Safety-related shutdown411External fault (e.g. sensor fault, actuator fault)412Fault not clear413-416-417-418Short-circuit (e.g. on the encoder line or on the output line)419Undervoltage (supply voltage)420Overvoltage (supply voltage)421Overload422Overtemperature423Wire break (e.g. on the sensor)424Upper limit violated425Lower limit violated426Fault (e.g. encoder supply, load voltage at the output, end of service life)427-432-433Parameterization error434No encoder voltage or load voltage435Defective fuse436-437Ground fault438Reference channel error439Process interrupt lost440Actuator warning441Actuator shutdown442Safety-related shutdown443External fault (e.g. sensor fault, actuator fault)444Fault not clear445-448-449-450Short-circuit (e.g. on the encoder line or on the output line)451Undervoltage (supply voltage)452Overvoltage (supply voltage)453Overload454Overtemperature455Wire break (e.g. on the sensor)456Upper limit violated457Lower limit violated458Fault (e.g. encoder supply, load voltage at the output, end of service life)459-464-465Parameterization error466No encoder voltage or load voltage467Defective fuse468-469Ground fault470Reference channel error471Process interrupt lost472Actuator warning473Actuator shutdown474Safety-related shutdown475External fault (e.g. sensor fault, actuator fault)476Fault not clear477-480-481Parameter assignment error482-483-484-485Wire break486Pulse error487-488Counter overflow489-516-517No external auxiliary voltage Voltage on ASI -Interface to low (APF)518No front connector519No module parameterization520Incorrect parameters in the module521-528-529Incorrect user module or no user module, e.g. coding key position does not conform to the parameter At least one ASI slave deviates from the set specification530Communication fault on the module531Operating state0 I-Slave in RUN / ASI-Link in operating state1 I-Slave in STOP / ASI-Link in offline state532Internal watchdog tripped533Module internal supply voltage failed534Battery empty535Entire backup failed536-537Expansion unit failed538Processor failure539EPROM fault540RAM fault541ADC/DAC error542Fuse failure, all channel fuses have failed543Process interrupt lost544-545Unit diagnosis: see DB125 Byte 932-1175 & manual546Error cause and location not clear547-548-549More than one measurements on DP2550More than one measurements on DP3551-552Error cause not clear553Message fault rate is critical554Break in the signal line A555Short circuit between signal line B to screen556-557Short circuit between signal line A to screen558Break in the signal line B559-560Break line A and/or B or terminator is missing561Break line A and/or B or an additional terminator is inserted562Segment de-activated automatically, because line level=0563Segment de-activated automatically, because line level=unsteady564-565-566More than 32 nodes are connected to the measurement segment567The distance of the node to the Diagnostic Repeater exceeds the permitted line length568The maximum permitted number of Diagnostic Repeaters connected in series is exceeded569The diagnostic Repeater has recognized further faults570Electronic and Encoder line (1L+) shortcut571Lost load voltage (2L+)572Electronic and Encoder line (1L+) shortcut; lost load voltage (2L+)573-579-580Parameter assignment error 581HART Communication error582Short circuit to phase (HART module)583Short circuit to ground (HART module)584Wire break (HART module)585Load voltage missing586Overflow (HART module)587Underflow (HART module)588Primary variable out of limits (field device)589Non primary variable out of limits (field device)590Analogue output saturated (field device)591Analogue output current fixed (field device)592More status available593Reserved for maintenance alarm (field device)594Configuration changed (field device)595Field device malfunction 21. CHANNEL_ERROR_INFO_1(DWORD) 与当前SLAVE_ADR参数指示的从站相对应,故障通道上的位错误信息,不同的错误信息对应不同的错误类型(ERROR_TYPE)。 ERROR_TYPE=3,通道诊断信息详见表格。BitChannel Error Information in Accordance with DP Standard0.0Reserved0.1Short-circuit (e.g. on the encoder line or on the output line)0.2Undervoltage (supply voltage)0.3Overvoltage (supply voltage)0.4Overload0.5Overtemperature0.6Wire break (e.g. on the sensor)0.7Upper limit violated1.0Lower limit violated1.1Fault (e.g. encoder supply, load voltage at the output, end of service life)1.2 - 1.7Reserved2.0Parameterization error2.1No encoder voltage or load voltage2.2Defective fuse2.3Reserved2.4Ground fault2.5Reference channel error2.6Process interrupt lost2.7Actuator warning3.0Actuator shutdown3.1Safety-related shutdown3.2External fault (e.g. sensor fault, actuator fault)3.3Fault not clear3.4 - 3.7Reserved (initialized with 0) ERROR_TYPE=4, S7诊断信息详见表格。 If an ASI network is connected to a DP slave (CHANNEL_TYPE =60hex e.g. DP/ASI-Link), the ASI address from 0 to 31 will get a value of 1“ in this bit stream.S7 signal modules (SMs)BitDigital Input ModuleDigital Output Module0.0Configuring error/parameterization errorConfiguring error/parameterization error0.1Ground faultGround fault0.2P short-circuit (encoder)P short-circuit (encoder)0.3M short-circuitM short-circuit0.4Wire breakWire break0.5No encoder supplyFuse tripped0.6ReservedNo load voltage0.7ReservedOvertemperature1.0 - 3.7ReservedReservedBitAnalog Input ModuleAnalog Output Module0.0Configuring error/parameterization errorConfiguring error/parameterization error0.1Common-mode faultCommon-mode fault0.2P short-circuit (encoder)P short-circuit0.3M short-circuitM short-circuit0.4Wire breakWire break0.5Reference channel faultReserved0.6Measuring range violationNo external load voltage0.7Measuring range violationReserved1.0ReservedConnection not wired1.1ReservedOpen conductor to +1.2ReservedOpen conductor to -1.3ReservedCalibration error1.4ReservedRange error (underrange or overrange)1.5ReservedReserviert1.6ReservedOpen conductor of the current source1.7ReservedUser calibration does not correspond to parameterization2.0 - 3.7ReservedReservedBitHART-Input/-Output0.0Parameter assignment Error0.1HART-parameters changed (field device)0.2reserved0.3reserved0.4wire break0.5HART-channel error, more status available0.6underflow0.7overflow1.0-3.7reservedBitHART Extended0.0parameter assignment error0.1HART Communication error0.2short circuit to phase (HART module)0.3short circuit to ground (HART module)0.4wire break (HART module)0.5load voltage missing0.6overflow (HART module)0.7underflow (HART module)1.0primary variable out of limits (field device)1.1non primary variable out of limits (field device)1.2analogue output saturated (field device)1.3analogue output current fixed (field device)1.4more status available1.5reserved for maintenance alarm (field device)1.6configuration changed (field device)1.7field device malfunction2.0-3.7reservedS7 function modules (FMs)BitFM 350 / FM 350-1 (FM COUNT)0.0Signal A error0.1Signal B error0.2Signal N error0.3Falsely value0.4Fault 5.2V encoder supply0.5Fault 24V encoder supply0.6Encoder signal line short-circuit/wire break0.7Parameter assignment error1.0 - 3.7ReservedBitFM 351 / 352 / 353 / 354 (FM POS)0.0Encoder wire break0.1Absolute encoder fault0.2Error pulses incremental encoder or no zero mark0.3Voltage monitoring encoder0.4Voltage monitoring 15V0.5Voltage monitoring digital output0.6Reserved0.7Operating error1.0Error in machine data1.1Error set point1.2Error in cam data1.3Travel range monitoring1.4Operating range monitoring1.5Actual value monitoring1.6Target intakes monitoring1.7Target range monitoring2.0 - 3.7ReservedBitFM 355 (FM REG)0.0Analog input hardware fault0.1Reserved0.2Analog input wire break (4-20mA only)0.3Reserved0.4Analog input measuring range violation (underrange)0.5Analog input measuring range violation (overrange)0.6Analog output wire break0.7Analog output short-circuit1.0 - 3.7ReservedOther S7 ModulesBitDESINA0.0Reserved0.1Reserved0.2Reserved0.3Reserved0.4sensor/actuator error0.5Reserved0.6Reserved0.7Reserved1.0 - 3.7ReservedBitUltrasonic Way entry (USW 300)0.0Parameter assignment error0.1Reserved0.2Reserved0.3Reserved0.4Wire break0.5Pulse error0.6Reserved0.7Counter overflow1.0 - 3.7ReservedBitChannel granular-Peripherie (e.g. ASI-CP)0.0Module / ASI-Slave 0 faulty0.1Module / ASI-Slave 10.2Module / ASI-Slave 20.3Module / ASI-Slave 30.4Module / ASI-Slave 40.5Module / ASI-Slave 50.6Module / ASI-Slave 60.7Module / ASI-Slave 71.0Module / ASI-Slave 81.1Module / ASI-Slave 9.3.6Module / ASI-Slave 303.7Module / ASI-Slave 3122CHANNEL_ERROR_INFO_2(DWORD) 与当前SLAVE_ADR参数下,与上文中ERROR_TYPE中的编号4(S7诊断)相对应,提供了满足S7模块DS0数据记录的特殊错误信息,详见表格。 an ASI network is connected to a DP slave (CHANNEL_TYPE =60hex e.g. DP/ASI-Link) with a maximum of 62 stations, the ASI address from 0 to 31 will get a value of 1“ in this bit stream. BitS7 Diagnostic DataASI-Slave0.0S7 module fault0b0.1Internal fault1b0.2External fault2b0.3Channel faultAt least one ASI slave deviates from the set specification3b0.4No external auxiliary voltageVoltage on ASI -Interface to low (APF)4b0.5No front connector5b0.6No module parameterization6b0.7Incorrect parameters in the module7b1.0 - 1.3Module class0000 Reserved0001 Reserved0010 S7 special module, e.g. adapter casing0011 DP standard slave0100 S7 interface module (IM)0101 S7 analog module0110 Reserved0111 Reserved 1000 S7 function module (FM)1001 Reserved1010 Reserved1011 S7 interface modules to DP, e.g. I slave1100 S7 communications processor (CP)1101

温馨提示

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

评论

0/150

提交评论