132 lines
2.4 KiB
INI
132 lines
2.4 KiB
INI
[database]
|
|
driver=QPSQL
|
|
host=127.0.0.1
|
|
port=5432
|
|
name=ssp
|
|
user=postgres
|
|
password=hardman
|
|
connection=ssp_postgres
|
|
|
|
[modbus]
|
|
host=192.168.60.10
|
|
port=502
|
|
serverAddress=1
|
|
timeoutMs=1000
|
|
retryCount=1
|
|
pollIntervalMs=1000
|
|
feedbackTimeoutMs=2000
|
|
reconnectDelayMs=200
|
|
reconnectAttempts=2
|
|
|
|
; Coils
|
|
clearAlarmCommand=815
|
|
plcRunning=817
|
|
trayPresent1=820
|
|
trayPresent2=821
|
|
trayPresent3=822
|
|
trayPresent4=823
|
|
trayPresent5=824
|
|
trayPresent6=825
|
|
safetyDoorClosed=826
|
|
safetyDoor1Closed=837
|
|
safetyDoor2Closed=838
|
|
safetyDoor3Closed=839
|
|
emergencyStop=830
|
|
robotIdle=832
|
|
robotRunning=833
|
|
robotAlarm=834
|
|
plcReady=835
|
|
inspectionMachineReady=500
|
|
visionReady=501
|
|
robotControlCabinetReady=502
|
|
mainControlCabinetReady=503
|
|
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=840
|
|
flipFeedback=842
|
|
|
|
flipCommand2=841
|
|
flipFeedback2=843
|
|
|
|
backLoadCommand=806
|
|
backLoadFeedback=813
|
|
backUnloadCommand=805
|
|
backUnloadFeedback=812
|
|
rackPlaceCommand=801
|
|
rackPlaceFeedback=808
|
|
inspectionMode=814
|
|
|
|
photoMoveCoil=846
|
|
photoMoveCoilFeedback=844
|
|
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
|
|
; Legacy per-stage limits: mechanical action timeouts are disabled.
|
|
; stateTimeoutMs still applies to vision PLC stages.
|
|
; readyTimeoutMs=10000
|
|
; photoMoveTimeoutMs=10000
|
|
; handlingTimeoutMs=10000
|
|
; flipTimeoutMs=10000
|
|
; inspectionTimeoutMs=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=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
|
|
|
|
[visionTrayMap]
|
|
; All six physical trays use VisionGuide configuration 1.
|
|
1=1
|
|
2=1
|
|
3=1
|
|
4=1
|
|
5=1
|
|
6=1
|