rokae xcore protocol scriptly re-made
This commit is contained in:
16
rokae/assets/confs/configs.json
Normal file
16
rokae/assets/confs/configs.json
Normal 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
|
||||
}
|
75
rokae/assets/confs/fieldbus_device.json
Normal file
75
rokae/assets/confs/fieldbus_device.json
Normal 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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
1204
rokae/assets/confs/registers.json
Normal file
1204
rokae/assets/confs/registers.json
Normal file
File diff suppressed because it is too large
Load Diff
2101
rokae/assets/confs/registers.xml
Normal file
2101
rokae/assets/confs/registers.xml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user