rokae xcore protocol scriptly re-made

This commit is contained in:
2025-07-24 14:32:47 +08:00
commit 03c59c4f4f
82 changed files with 5215 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{
"ip_addr": "192.168.40.130",
"ssh_port": "22",
"socket_port": 5050,
"xService_port": 6666,
"external_port": 8080,
"modbus_port": 502,
"upgrade_port": 4567,
"interval": 1,
"max_frame_size": 1024,
"MAX_RECEIVED_SIZE": 1024,
"suffix": "\r",
"username": "luoshi",
"password": "luoshi2019",
"retry_time": 5
}

View File

@@ -0,0 +1,75 @@
{
"device_list": [
{
"enable": true,
"endian": 1,
"extend_attr": {
"RTU": {
"serial_name": ""
},
"TCP": {
"ip": "0.0.0.0",
"port": 502
},
"coils": {
"max_num": 16,
"start_addr": 0
},
"discrete_input": {
"max_num": 16,
"start_addr": 0
},
"hold_register": {
"max_num": 2000,
"start_addr": 40000
},
"input_register": {
"max_num": 2000,
"start_addr": 4000
},
"protol_type": "TCP",
"slaver_id": 1
},
"mode": "slaver",
"name": "autotest",
"type": "MODBUS"
}
],
"support_types": [
{
"device_type": "MODBUS",
"support_mode": {
"master": 10,
"slaver": 10
}
},
{
"device_type": "CCLINK",
"support_mode": {
"master": 0,
"slaver": 1
}
},
{
"device_type": "ETHERCAT",
"support_mode": {
"master": 0,
"slaver": 10
}
},
{
"device_type": "PROFINET",
"support_mode": {
"master": 0,
"slaver": 1
}
},
{
"device_type": "EtherNetIP",
"support_mode": {
"master": 0,
"slaver": 1
}
}
]
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff