3HNM07485-1PLC工控备件
CMD控制寄存器
(本地:Slot:O.Data[0],AOP标记本地:Sot:O.ModuleControl.CMD_Control)值,十六进制含义/描述00 CMD参数寄存器中无命令01发出CMD参数注册表中的命令4:CMD参数暂存器(本地:插槽:O.Data[1].0–7,AOP标签本地:插槽:O.ModuleControl.CMD_Argument)值,十六进制含义/描述00无命令03 PFB_CLR_ERR_CNT-清除状态区域04 PFB_ONLINE中的计数器-使从机与PROFIBUS总线联机07 PFB_OFFLINE-使从设备与PROFIBUS总线脱机5:模块状态寄存器(本地:插槽:I.Data[0].0-7,AOP标记本地:插槽:I.ModuleStat.ModuleStatus)值,十六进制含义和描述E0从设备与ROFIBUS母线不联机。发出PFB_START_BUS命令使其联机。E1从站通过PROFIBUS总线在线。FF CLX处理器失去了与从模块的连接。输入和状态表中的所有数据都应视为无效。SST-PB3S-CLX-RLL用户参考指南从属功能37©2014 Molex股份有限公司工业产品业务部,集成产品部文件版本:1.0,文件#:715-0109,模板版本:1.1,模板35;:QMS-06-045本文件或其中包含的任何信息的使用、复制或披露受本文件第二页的限制。警告:应监控梯形图代码中的模块状态寄存器0xFF。如果出现这种情况,处理器将失去与从机的连接,并应处于安全状态。6:CMD应答寄存器(本地:插槽:I.Data[1],AOP标记本地:插槽:I.ModuleStat.CMD_Reply)值,十六进制含义/描述00无命令03 PFB_CLR_ERR_CNT已处理04 PFB_ONLINE已处理07 PFB_OFFLINE已处理6.2寄存器定义和布局6.2.1 DP从机状态表条目下表显示了为支持DP从机功能而添加的CLX状态文件:7:添加到支持DP从设备功能的CLX文件名称位置AOP标记名含义/描述DP从机状态和错误寄存器本地:插槽:S:Data[44]SlvStatus,SlvError将DP从机的状态和错误信息返回给CLX处理器。状态字节->位0-7。错误字节->位元8-15。注意,上表假设从设备在RSLogix5000中配置为16位设备。用户参考指南SST-PB3S-CLX-RLL 38从设备功能©2014 Molex股份有限公司工业产品业务部,集成产品部文档版本:1.0,文档#:715-0109,
模板版本:
1.1,模板ţ:QMS-06-045使用,复制或披露本文件或其中包含的任何信息均受本文件第ii页的限制。8:DP从机状态和错误寄存器名称位置AOP标签名称含义/描述DP从机位置位0-5本地:插槽:S:数据[44]。0-5无保留以供将来使用DP从属状态SLV_STS_RUN_MODE位本地:插槽:S:Data[44]。6 SlvStsRunMode如果远程主设备正在“运行”模式下扫描从设备,则设置为True。DP从机状态SLV_STS_OK位本地:插槽:S:数据[44]。7 SlvStatusOk如果当前从属状态正常,则设置为True。这意味着参数化成功,从属监视器未超时。DP从错误字节本地:插槽:S:数据[44]。8-15 SlvError从机设置错误字节以报告各种错误情况。如果存在多个错误,寄存器将包含上次遇到的错误的值。9:DP从机错误字节(本地:插槽:S:Data[44].8-15,AOP标签本地:插槽.S.SlvError)值错误含义/描述01h SLV_ERR_ID_MISM从机ID与主设备中配置的从机ID不匹配。如果存在不匹配,从属设备将无法与主设备通信。02h板卡的SLV_ERR_READY_TIME_MISM就绪时间与主设备中配置的值不同。即使时间不同,该卡也可以作为从属设备进行通信,但您可能会遇到网络错误。03h SLV_ERR_UNSUP_REQ主机在参数化过程中请求了同步或冻结,板卡不支持。04h从主设备接收的SLV_ERR_RX_LEN_MISM数据的长度与卡上配置的长度不同。如果接收长度不匹配,则板卡将无法作为从属设备进行通信。05h SLV_ERR_TX_LEN_MISM主设备已从从设备请求长度不同于为从设备配置的长度的数据。如果传输长度不匹配,板卡将无法作为从属设备进行通信。06h SLV_ERR_WD_FACT_INV两个从属监视器因子之一为零,这是不允许的。07h SLV_ERR_TIME_OUT从设备的监视器超时。从属设备脱机,必须由主设备重新初始化。08h SLV_ERR_WARN_WD_DIS主机已禁用从属监视器。
CMD control register
(Local: Slot: O. Data [0], AOP tag local: Sot: O. ModuleControl. CMD_Control) value, hexadecimal meaning/description 00 No command in CMD parameter register 01 Issue command in CMD parameter register 4 CMD parameter register (local: slot: O. Data [1]. 0 – 7, AOP tag local: slot: O. ModuleControl. CMD_Argument) value, hexadecimal meaning/description 00 No command 03 PFB_ CLR_ ERR_ CNT - Clear Status Area 04 PFB_ Counter in ONLINE - Connect Slave to PROFIBUS 07 PFB_ OFFLINE - Take the slave device and the PROFIBUS bus offline 5: The value of the module status register (local: slot: I.Data [0]. 0-7, AOP flag local: slot: I.ModuleStatus. ModuleStatus), hexadecimal meaning and description E0, the slave device and the PROFIBUS bus are not online. Send PFB_ START_ The BUS command brings it online. E1 slave station is online through PROFIBUS bus. FF CLX processor lost connection to slave module. All data in the input and status tables should be considered invalid. SST-PB3S-CLX-RLL User Reference Guide Dependent Functions 37 © 2014 Molex Co., Ltd. Industrial Products Business Department, Integrated Products Department Document version: 1.0, Document #: 715-0109, Template version: 1.1, Template 35;: QMS-06-045 The use, reproduction or disclosure of this document or any information contained therein is restricted by the second page of this document. Warning: The module status register 0xFF in the ladder code should be monitored. If this happens, the processor will lose the connection with the slave and should be in a safe state. 6: CMD response register (local: slot: I.Data [1], AOP flag local: slot: I.ModuleStat. CMD_Reply) value, hexadecimal meaning/description 00 No command 03 PFB_ CLR_ ERR_ CNT processed 04 PFB_ ONLINE processed 07 PFB_ OFFLINE Processed 6.2 Register Definition and Layout 6.2.1 DP Slave Status Table Entries The following table shows the CLX status files added to support the DP slave function: 7: CLX file name location AOP tagname meaning/description DP slave status and error register Local: Slot: S: Data [44] SlvStatus, SlvError returns the status and error information of the DP slave to the CLX processor. Status Byte ->Bits 0-7. Error byte ->bits 8-15. Note that the above table assumes that the slave device is configured as a 16 bit device in RSLogix5000. User Reference Guide SST-PB3S-CLX-RLL 38 Slave Functions © 2014 Molex Co., Ltd. Industrial Products Business Department, Integrated Products Department Document version: 1.0, Document #: 715-0109,
Template version:
1.1 Formwork ţ: QMS-06-045 The use, reproduction or disclosure of this document or any information contained therein is subject to the restrictions of page ii of this document. 8: DP slave status and error register name location AOP tag name meaning/description DP slave location bits 0-5 local: slot: S: data [44]. 0-5 No reservation for future use DP slave state SLV_ STS_ RUN_ MODE bit Local: Slot: S: Data [44]. 6 SlavStsRunMode is set to True if the remote master is scanning for slave devices in Run mode. DP slave state SLV_ STS_ OK bit Local: Slot: S: Data [44]. 7 SlvStatusOk is set to True if the current slave state is normal. This means that the parameterization was successful and the slave monitor did not time out. DP Slave Error Byte Local: Slot: S: Data [44]. 8-15 SlavError slave sets error bytes to report various error conditions. If there are multiple errors, the register will contain the value of the last error encountered. 9: DP slave error byte (local: slot: S: Data [44]. 8-15, AOP tag local: slot. S.SLvError) value error meaning/description 01h SLV_ ERR_ ID_ The MISM slave ID does not match the slave ID configured in the master device. If there is a mismatch, the slave device will not be able to communicate with the master device. SLV of 02h board_ ERR_ READY_ TIME_ The MISM ready time is different from the value configured in the master device. The card can communicate as a slave device even at different times, but you may encounter network errors. 03h SLV_ ERR_ UNSUP_ REQ The host requested synchronization or freezing during parameterization, which is not supported by the board. 04h SLV received from master device_ ERR_ RX_ LEN_ The length of the MISM data is different from that configured on the card. If the receiving length does not match, the board cannot communicate as a slave device. 05h SLV_ ERR_ TX_ LEN_ The master device of the MISM has requested data with a length different from that configured for the slave device from the slave device. If the transmission length does not match, the board cannot communicate as a slave device. 06h SLV_ ERR_ WD_ FACT_ One of the INV's two slave monitor factors is zero, which is not allowed. 07h SLV_ ERR_ TIME_ The monitor of the OUT slave device timed out. The slave device is offline and must be reinitialized by the master device. 08h SLV_ ERR_ WARN_ WD_ The DIS host has disabled the slave monitor.