Files
ssp/config.ini
T

109 lines
2.2 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
startCommand=0
pauseCommand=1
resetCommand=2
clearAlarmCommand=3
startFeedback=10
pauseFeedback=11
resetFeedback=12
clearAlarmFeedback=13
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
rackPickCommand=300
rackPickFeedback=310
frontLoadCommand=301
frontLoadFeedback=311
inspectionCommand=302
inspectionFeedback=312
frontUnloadCommand=303
frontUnloadFeedback=313
flipCommand=304
flipFeedback=314
backLoadCommand=305
backLoadFeedback=315
backUnloadCommand=306
backUnloadFeedback=316
rackPlaceCommand=307
rackPlaceFeedback=317
inspectionMode=320
trayNumber=400
slotNumber=401
[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]
; Enable only after the complete PLC/robot contract has been verified.
enabled=false
contractConfirmed=false
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
[visionTrayMap]
; Explicit ssp tray number = VisionGuide tray number, for example 1=1.