feat(vision): 新增拍照到位前置流程并支持视觉失败降级取料
- 在普通 RackPick 前写托盘号、格位并置 M850,收到 M851 后清除两位 - 使用 vision/enabled 控制识别,关闭时仍执行拍照到位流程 - 识别成功且 R60 写入确认后写 M852=1,视觉关闭或失败时写 M852=0 - 确认 M852 写入后启动 RackPick,动作结束保留 M852 - 移除旧 850–854 五信号握手,更新配置和协议文档 - 允许未就绪的视觉服务接收测量,扩展超时以覆盖初始化重试 - 保留 PLC 写入失败阻断、暂停发送门控及迟到结果拒绝 - 持久化未完成事务,支持 PLC 暂停后的视觉维护与人工恢复 验证:MinGW 32/64 位编译通过;生产流程47、IPC14、PLC11项测试通过
This commit is contained in:
+13
-13
@@ -81,28 +81,28 @@ simulation=false
|
||||
productionEnabled=true
|
||||
|
||||
[vision]
|
||||
; Enable only after the complete PLC/robot contract has been verified.
|
||||
; Recognition switch only; the M850/M851 photo-position stage always precedes RackPick.
|
||||
enabled=false
|
||||
contractConfirmed=false
|
||||
contractConfirmed=true
|
||||
photoPoseReadyConfirmed=true
|
||||
executablePath=E:/QTCode/VisionGuide/VisionGuide_Qt/source/build-ssp-integration/bin/VisionGuide.exe
|
||||
ipcName=ssp_visionguide_v1
|
||||
startupTimeoutMs=15000
|
||||
initializeTimeoutMs=60000
|
||||
requestTimeoutMs=15000
|
||||
robotAckTimeoutMs=10000
|
||||
photoPoseR=40
|
||||
graspPoseR=60
|
||||
lowWordFirst=true
|
||||
robotReceivedCoil=850
|
||||
photoRequestCoil=851
|
||||
comparingCoil=852
|
||||
comparisonErrorCoil=853
|
||||
comparisonPassedCoil=854
|
||||
; Accepted initial contract: request/ack PLC-owned; other 3 ssp-owned.
|
||||
handshakeProtocol=request_compare_result_ack_v1
|
||||
writableSignals=comparing, comparisonError, comparisonPassed
|
||||
actionNames=RackPick
|
||||
photoMoveCoil=850
|
||||
photoArrivedCoil=851
|
||||
comparisonPickCoil=852
|
||||
; ssp clears M850/M851 after arrival; M852 is overwritten before each RackPick and retained.
|
||||
|
||||
[visionTrayMap]
|
||||
; Explicit ssp tray number = VisionGuide tray number, for example 1=1.
|
||||
; All six physical trays use VisionGuide configuration 1.
|
||||
1=1
|
||||
2=1
|
||||
3=1
|
||||
4=1
|
||||
5=1
|
||||
6=1
|
||||
|
||||
Reference in New Issue
Block a user