- 删除订单启动、暂停、复位相关 PLC 握手及无效反馈配置 - 清除报警改为仅写 clearAlarmCommand,不等待反馈 - 将拍照位移动、视觉处理和 RackPick 拆分为三个独立动作 - 增加 M850/M851 拍照位动作及 R60/M852 视觉结果流程 - 暂停改为等待当前机器人动作完成,视觉结果不确定时转人工确认 - 删除复位按钮,合并为恢复/重试按钮 - 普通 PAUSED 订单通过启动按钮继续 - 恢复前检查 PLC、安全状态、订单及动作命令反馈 - 支持在途动作接管、已完成动作收尾、安全重试和人工确认 - 故障状态保持订单 RUNNING,并持久化实际恢复阶段 - 恢复成功后仅清除本次软件故障对应的报警 - 更新小轴 PLC 地址、Modbus 配置和视觉集成文档
112 lines
2.0 KiB
INI
112 lines
2.0 KiB
INI
[database]
|
|
driver=QPSQL
|
|
host=127.0.0.1
|
|
port=5432
|
|
name=ssp
|
|
user=postgres
|
|
password=hardman
|
|
connection=ssp_postgres
|
|
|
|
[modbus]
|
|
host=127.0.0.1
|
|
port=502
|
|
serverAddress=1
|
|
timeoutMs=1000
|
|
retryCount=1
|
|
pollIntervalMs=1000
|
|
feedbackTimeoutMs=2000
|
|
reconnectDelayMs=200
|
|
reconnectAttempts=2
|
|
|
|
; Coils
|
|
clearAlarmCommand=3
|
|
plcReady=100
|
|
robotReady=101
|
|
safetyDoorClosed=102
|
|
emergencyStop=103
|
|
inspectionMachineReady=500
|
|
visionReady=501
|
|
robotControlCabinetReady=502
|
|
mainControlCabinetReady=503
|
|
safetyDoor1Closed=504
|
|
safetyDoor2Closed=505
|
|
safetyDoor3Closed=506
|
|
activeAlarm=507
|
|
currentStep=200
|
|
checkResult=201
|
|
errorCode=202
|
|
|
|
;robot signals
|
|
rackPickCommand=800
|
|
rackPickFeedback=807
|
|
frontLoadCommand=803
|
|
frontLoadFeedback=810
|
|
inspectionCommand=302
|
|
inspectionFeedback=312
|
|
frontUnloadCommand=802
|
|
frontUnloadFeedback=809
|
|
flipCommand=804
|
|
flipFeedback=811
|
|
backLoadCommand=806
|
|
backLoadFeedback=813
|
|
backUnloadCommand=805
|
|
backUnloadFeedback=812
|
|
rackPlaceCommand=801
|
|
rackPlaceFeedback=808
|
|
inspectionMode=814
|
|
|
|
photoMoveCoil=850
|
|
photoMoveCoilFeedback=851
|
|
comparisonPickCoil=852
|
|
|
|
|
|
;holdregister
|
|
slotNumber=800
|
|
trayNumber=801
|
|
slotRowNumber=802
|
|
slotColumNumber=803
|
|
; R indices, not raw Modbus addresses (R40=12328, R60=12348).
|
|
photoPoseR=40
|
|
graspPoseR=60
|
|
lowWordFirst=true
|
|
|
|
[production]
|
|
loadStep=1
|
|
frontCheckStep=2
|
|
backCheckStep=3
|
|
unloadStep=4
|
|
cycleCompleteStep=5
|
|
okResult=1
|
|
ngResult=2
|
|
errorResult=3
|
|
simulationResult=1
|
|
timeoutWarningMs=8000
|
|
stateTimeoutMs=10000
|
|
maxRecoveryRetries=1
|
|
simulationStepMs=500
|
|
usePlcErrorCode=false
|
|
|
|
[system]
|
|
simulation=false
|
|
productionEnabled=true
|
|
|
|
[vision]
|
|
; Recognition switch only; the M850/M851 photo-position stage always precedes RackPick.
|
|
enabled=true
|
|
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
|
|
|
|
[visionTrayMap]
|
|
; All six physical trays use VisionGuide configuration 1.
|
|
1=1
|
|
2=1
|
|
3=1
|
|
4=1
|
|
5=1
|
|
6=1
|