This commit is contained in:
xyy
2026-03-19 20:40:54 +08:00
parent df022fc848
commit 9fd2f13b1c
13 changed files with 348 additions and 62 deletions

View File

@@ -1,12 +1,19 @@
{
"PlcSettings": {
"IpAddress": "192.168.1.100",
"IpAddress": "192.168.1.10",
"Port": 502,
"SlaveId": 1,
"PressureRegister": 0,
"PressureRegisterStation1": 6,
"PressureRegisterStation2": 8,
"PressureRegisterStation3": 10,
"PressureModeRegister": 200, // 高压/低压选择寄存器0=低压1=高压)
"PressCoil": 100, // 加压线圈M100
"StartCoil": 20, // 启动线圈M20
"EnableCoil": 21, // 使能线圈M21
"StopCoil": 7, // 停止线圈M7
"PressureFactor": 1.0,
"WetFlowRegister": 2,
"DryFlowRegister": 4,
"PressureFactor": 1.0,
"WetFlowFactor": 1.0,
"DryFlowFactor": 1.0
}