读正常,多字节写入异常

This commit is contained in:
2025-08-13 23:55:46 +08:00
parent e17bed9a6c
commit d3a38291a2
12 changed files with 700 additions and 159 deletions

View File

@ -2,7 +2,7 @@
"plcs": [
{
"name": "PLC1",
"ip": "192.168.0.100",
"ip": "192.168.0.1",
"rack": 0,
"slot": 1,
"areas": [
@ -11,7 +11,7 @@
"type": "read",
"db_number": 100,
"offset": 0,
"size": 4000,
"size": 5000,
"structure": [
{
"name": "temperature",
@ -35,7 +35,7 @@
"name": "DB100_Write",
"type": "write",
"db_number": 100,
"offset": 4000,
"offset": 0,
"size": 5000
},
{
@ -43,22 +43,7 @@
"type": "read_write",
"db_number": 202,
"offset": 0,
"size": 2000
}
]
},
{
"name": "PLC2",
"ip": "192.168.0.101",
"rack": 0,
"slot": 1,
"areas": [
{
"name": "DB100_Read",
"type": "read",
"db_number": 100,
"offset": 0,
"size": 4000
"size": 816
}
]
}