Files
ssp/config.ini
T

131 lines
2.3 KiB
INI
Raw Normal View History

2026-08-18 09:40:43 +08:00
[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
2026-08-18 09:40:43 +08:00
port=502
serverAddress=1
timeoutMs=1000
retryCount=1
pollIntervalMs=1000
feedbackTimeoutMs=2000
reconnectDelayMs=200
reconnectAttempts=2
; Coils
2026-11-09 17:25:14 +08:00
clearAlarmCommand=815
plcRunning=817
2026-11-09 18:16:54 +08:00
trayPresent1=820
trayPresent2=821
trayPresent3=822
trayPresent4=823
trayPresent5=824
trayPresent6=825
2026-11-09 17:25:14 +08:00
safetyDoorClosed=826
2026-11-09 19:30:28 +08:00
safetyDoor1Closed=837
safetyDoor2Closed=838
safetyDoor3Closed=839
2026-11-09 17:25:14 +08:00
emergencyStop=830
robotIdle=832
robotRunning=833
robotAlarm=834
plcReady=835
2026-08-24 17:28:59 +08:00
inspectionMachineReady=500
visionReady=501
robotControlCabinetReady=502
mainControlCabinetReady=503
activeAlarm=507
2026-08-18 09:40:43 +08:00
currentStep=200
checkResult=201
errorCode=202
;robot signals
2026-11-05 14:14:29 +08:00
rackPickCommand=800
rackPickFeedback=807
frontLoadCommand=803
frontLoadFeedback=810
2026-08-20 11:22:55 +08:00
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
2026-08-18 09:40:43 +08:00
[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
2026-08-18 09:40:43 +08:00
maxRecoveryRetries=1
simulationStepMs=500
usePlcErrorCode=false
2026-08-18 09:40:43 +08:00
[system]
simulation=false
productionEnabled=true
2026-10-27 22:16:55 +08:00
[vision]
2026-11-12 09:26:26 +08:00
; Master switch for camera recognition and continuous avoidance.
enabled=true
contractConfirmed=true
2026-10-27 22:16:55 +08:00
photoPoseReadyConfirmed=true
2026-11-12 09:26:26 +08:00
initializeTimeoutMs=300000
requestTimeoutMs=30000
; When vision is enabled, distance below this value .
warningDistanceMm=300
2026-10-27 22:16:55 +08:00
[visionTrayMap]
; All six physical trays use VisionGuide configuration 1.
1=1
2=1
3=1
4=1
5=1
6=1