added ba_facility
This commit is contained in:
3039
Pub_Sub/ba_facility/thingsboard/ba_facility_v1.cfg
Normal file
3039
Pub_Sub/ba_facility/thingsboard/ba_facility_v1.cfg
Normal file
File diff suppressed because one or more lines are too long
4891
Pub_Sub/ba_facility/thingsboard/lemon_squeezer_tag_dump.json
Normal file
4891
Pub_Sub/ba_facility/thingsboard/lemon_squeezer_tag_dump.json
Normal file
File diff suppressed because it is too large
Load Diff
5179
Pub_Sub/ba_facility/thingsboard/tag_dump.json
Normal file
5179
Pub_Sub/ba_facility/thingsboard/tag_dump.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -9,6 +9,15 @@ gas_flare_static_pressure,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Flare_SP
|
||||
gas_flare_temp,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Flare_Temp,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_flare_today,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Flare_Today,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_flare_yesterday,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Flare_Yesterday,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_density,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_Density,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_flow_rate,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_FR,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_last_month_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_LastMonth,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_lifetime_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_Lifetime,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_month_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_Monthly,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_static_pressure,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_SP,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_temp,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_Temp,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_today_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_Today,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_fuel_yesterday_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Fuel_Yesterday,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_sales_differential_pressure,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Sales_DP,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_sales_flow_rate,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Sales_FR,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_sales_lifetime,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Sales_Lifetime,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
@@ -35,6 +44,15 @@ gas_vessel_3_static_pressure,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Vesse
|
||||
gas_vessel_3_temp,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Vessel_3_Temp,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vessel_3_today,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Vessel_3_Today,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vessel_3_yesterday,ba_facility,default,periodic,FLOAT,,,,Val_Gas_Vessel_3_Yesterday,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_density,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_Density,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_flow_rate,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_FR,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_last_month_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_LastMonth,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_lifetime_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_Lifetime,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_month_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_Monthly,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_static_pressure,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_SP,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_temp,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_Temp,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_today_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_Today,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
gas_vru_yesterday_total,ba_facility,default,periodic,FLOAT,,,,Val_Gas_VRU_Yesterday,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
lact_bsw,ba_facility,default,periodic,FLOAT,,,,Val_Lact_Meter_BSW,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
lact_density,ba_facility,default,periodic,FLOAT,,,,Val_Lact_Meter_Density,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
lact_faulted_alm,ba_facility,default,periodic,BIT,,,0,AL0_Lact_Unit_Faulted,,,ro,,,none,,,,,,,,,,,,,0,,,,,,,1
|
||||
@@ -108,7 +126,7 @@ wt_2_hi_alm,ba_facility,default,periodic,BIT,,,0,AL0_WT2_High_Level,,,ro,,,none,
|
||||
wt_2_pv,ba_facility,default,periodic,FLOAT,,,,Val_WT2_PV,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wt_2_sv,ba_facility,default,periodic,FLOAT,,,,Val_WT2_SV,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_1_alm,ba_facility,default,periodic,DINT,0,,,WTP1_Alarm,,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_1_control_valve_position_cmd,ba_facility,default,periodic,FLOAT,,,,CMD_WTP1_Control_Valve_POS,2,,rw,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_1_control_valve_position,ba_facility,default,periodic,FLOAT,,,,WTP1_Control_Valve_POS,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_1_discharge_psi,ba_facility,default,periodic,FLOAT,,,,Val_WTP1_Discharge_PSI_Scaled,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_1_flow_rate,ba_facility,default,periodic,FLOAT,,,,Val_WTP1_FR,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_1_hi_discharge_spt,ba_facility,default,periodic,FLOAT,,,,SPT_WTP1_Hi_Discharge,2,,rw,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
@@ -127,7 +145,7 @@ wtp_1_t1,ba_facility,default,periodic,FLOAT,,,,Val_WTP1_T1,2,,ro,,,none,,,,,,,,,
|
||||
wtp_1_todays_total,ba_facility,default,periodic,FLOAT,,,,Val_WTP1_Todays_Total,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_1_yesterday_total,ba_facility,default,periodic,FLOAT,,,,Val_WTP1_Yest_Total,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_2_alm,ba_facility,default,periodic,DINT,0,,,WTP2_Alarm,,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_2_control_valve_position_cmd,ba_facility,default,periodic,FLOAT,,,,CMD_WTP2_Control_Valve_POS,2,,rw,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_2_control_valve_position,ba_facility,default,periodic,FLOAT,,,,WTP2_Control_Valve_POS,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_2_discharge_psi,ba_facility,default,periodic,FLOAT,,,,Val_WTP2_Discharge_PSI_Scaled,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_2_flow_rate,ba_facility,default,periodic,FLOAT,,,,Val_WTP2_FR,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
wtp_2_hi_discharge_spt,ba_facility,default,periodic,FLOAT,,,,SPT_WTP2_Hi_Discharge,2,,rw,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
|
||||
|
1766
Pub_Sub/plcfreshwater_advvfdipp/thingsboard/as11_tag_dump.json
Normal file
1766
Pub_Sub/plcfreshwater_advvfdipp/thingsboard/as11_tag_dump.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
651
Pub_Sub/rr_pipeline/thingsboard/rr4_tag_dump.json
Normal file
651
Pub_Sub/rr_pipeline/thingsboard/rr4_tag_dump.json
Normal file
@@ -0,0 +1,651 @@
|
||||
{
|
||||
"_IO_EM_DO_00": {
|
||||
"tag_name": "_IO_EM_DO_00",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 1,
|
||||
"symbol_address": 1044,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DO_01": {
|
||||
"tag_name": "_IO_EM_DO_01",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 2,
|
||||
"symbol_address": 1045,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DO_02": {
|
||||
"tag_name": "_IO_EM_DO_02",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 3,
|
||||
"symbol_address": 1046,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DO_03": {
|
||||
"tag_name": "_IO_EM_DO_03",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 4,
|
||||
"symbol_address": 1047,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DO_04": {
|
||||
"tag_name": "_IO_EM_DO_04",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 5,
|
||||
"symbol_address": 1048,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DO_05": {
|
||||
"tag_name": "_IO_EM_DO_05",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 6,
|
||||
"symbol_address": 1049,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DO_06": {
|
||||
"tag_name": "_IO_EM_DO_06",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 7,
|
||||
"symbol_address": 1050,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_00": {
|
||||
"tag_name": "_IO_EM_DI_00",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 8,
|
||||
"symbol_address": 1051,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_01": {
|
||||
"tag_name": "_IO_EM_DI_01",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 9,
|
||||
"symbol_address": 1052,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_02": {
|
||||
"tag_name": "_IO_EM_DI_02",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 10,
|
||||
"symbol_address": 1053,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_03": {
|
||||
"tag_name": "_IO_EM_DI_03",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 11,
|
||||
"symbol_address": 1054,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_04": {
|
||||
"tag_name": "_IO_EM_DI_04",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 12,
|
||||
"symbol_address": 1055,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_05": {
|
||||
"tag_name": "_IO_EM_DI_05",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 13,
|
||||
"symbol_address": 1056,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_06": {
|
||||
"tag_name": "_IO_EM_DI_06",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 14,
|
||||
"symbol_address": 1057,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_07": {
|
||||
"tag_name": "_IO_EM_DI_07",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 15,
|
||||
"symbol_address": 1058,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_08": {
|
||||
"tag_name": "_IO_EM_DI_08",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 16,
|
||||
"symbol_address": 1059,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_09": {
|
||||
"tag_name": "_IO_EM_DI_09",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 17,
|
||||
"symbol_address": 1060,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_10": {
|
||||
"tag_name": "_IO_EM_DI_10",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 18,
|
||||
"symbol_address": 1061,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_DI_11": {
|
||||
"tag_name": "_IO_EM_DI_11",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 19,
|
||||
"symbol_address": 1062,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "BOOL",
|
||||
"data_type_name": "BOOL",
|
||||
"bit_position": 0,
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_AI_00": {
|
||||
"tag_name": "_IO_EM_AI_00",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 20,
|
||||
"symbol_address": 1064,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_AI_01": {
|
||||
"tag_name": "_IO_EM_AI_01",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 21,
|
||||
"symbol_address": 1066,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_AI_02": {
|
||||
"tag_name": "_IO_EM_AI_02",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 22,
|
||||
"symbol_address": 1068,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_AI_03": {
|
||||
"tag_name": "_IO_EM_AI_03",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 23,
|
||||
"symbol_address": 1070,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_EM_AO_00": {
|
||||
"tag_name": "_IO_EM_AO_00",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 24,
|
||||
"symbol_address": 1072,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_P1_AI_00": {
|
||||
"tag_name": "_IO_P1_AI_00",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 25,
|
||||
"symbol_address": 1074,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_P1_AI_01": {
|
||||
"tag_name": "_IO_P1_AI_01",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 26,
|
||||
"symbol_address": 1076,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_P1_AI_02": {
|
||||
"tag_name": "_IO_P1_AI_02",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 27,
|
||||
"symbol_address": 1078,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"_IO_P1_AI_03": {
|
||||
"tag_name": "_IO_P1_AI_03",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 28,
|
||||
"symbol_address": 1080,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "UINT",
|
||||
"data_type_name": "UINT",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"Val_Pipeline_PSI": {
|
||||
"tag_name": "Val_Pipeline_PSI",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 29,
|
||||
"symbol_address": 1132,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "REAL",
|
||||
"data_type_name": "REAL",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"Val_FM_FR": {
|
||||
"tag_name": "Val_FM_FR",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 30,
|
||||
"symbol_address": 1136,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "REAL",
|
||||
"data_type_name": "REAL",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"Val_FM_T1": {
|
||||
"tag_name": "Val_FM_T1",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 31,
|
||||
"symbol_address": 1140,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "REAL",
|
||||
"data_type_name": "REAL",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"Val_FM_Yest_Total": {
|
||||
"tag_name": "Val_FM_Yest_Total",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 32,
|
||||
"symbol_address": 1144,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "REAL",
|
||||
"data_type_name": "REAL",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"Val_FM_Todays": {
|
||||
"tag_name": "Val_FM_Todays",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 33,
|
||||
"symbol_address": 1148,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "REAL",
|
||||
"data_type_name": "REAL",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"Val_FM_LastMonth_Total": {
|
||||
"tag_name": "Val_FM_LastMonth_Total",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 34,
|
||||
"symbol_address": 1152,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "REAL",
|
||||
"data_type_name": "REAL",
|
||||
"tag_type": "atomic"
|
||||
},
|
||||
"Val_FM_Current_Month": {
|
||||
"tag_name": "Val_FM_Current_Month",
|
||||
"dim": 0,
|
||||
"alias": true,
|
||||
"instance_id": 35,
|
||||
"symbol_address": 1156,
|
||||
"symbol_object_address": 1077543916,
|
||||
"software_control": 0,
|
||||
"external_access": "Unknown",
|
||||
"dimensions": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"data_type": "REAL",
|
||||
"data_type_name": "REAL",
|
||||
"tag_type": "atomic"
|
||||
}
|
||||
}
|
||||
9
Pub_Sub/rr_pipeline/thingsboard/rr_pipeline_no_valve.csv
Normal file
9
Pub_Sub/rr_pipeline/thingsboard/rr_pipeline_no_valve.csv
Normal file
@@ -0,0 +1,9 @@
|
||||
MeasuringPointName,ControllerName,GroupName,UploadType,DataType,EnableBit,BitIndex,reverseBit,Address,Decimal,Len,ReadWrite,Unit,Description,Transform Type,MaxValue,MinValue,MaxScale,MinScale,Gain,Offset,startBit,endBit,Pt,Ct,Mapping_table,TransDecimal,bitMap,msecSample,DataEndianReverse,ReadOffset,ReadLength,DataParseMethod,BitId,storageLwTSDB
|
||||
contract_hour,rr_pipeline,default,periodic,INT,0,,,Contract_Hour,,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
fm_1_flow_rate,rr_pipeline,default,periodic,FLOAT,,,,Val_FM_FR,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
fm_1_last_month_total,rr_pipeline,default,periodic,FLOAT,,,,Val_FM_LastMonth_Total,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
fm_1_lifetime_total,rr_pipeline,default,periodic,FLOAT,,,,Val_FM_T1,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
fm_1_monthly_total,rr_pipeline,default,periodic,FLOAT,,,,Val_FM_Current_Month,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
fm_1_today_total,rr_pipeline,default,periodic,FLOAT,,,,Val_FM_Todays,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
fm_1_yesterday_total,rr_pipeline,default,periodic,FLOAT,,,,Val_FM_Yest_Total,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
pipeline_1_pressure,rr_pipeline,default,periodic,FLOAT,,,,Val_Pipeline_PSI,2,,ro,,,none,,,,,,,,,,,,,,,,,,,,1
|
||||
|
@@ -12,47 +12,25 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"ip_address = \"107.84.248.90\" # \"ngrok.iot.inhandnetworks.com:3021\""
|
||||
"ip_address = \"166.195.18.153\" # \"ngrok.iot.inhandnetworks.com:3021\"\n",
|
||||
"path = '/Users/nico/Documents/GitHub/HP_InHand_IG502/Pub_Sub/plcfreshwater_advvfdipp/thingsboard/as11_tag_dump.json' # code snippets/tag_dump.json'"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "ResponseError",
|
||||
"evalue": "failed to get attribute list",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[31m---------------------------------------------------------------------------\u001b[39m",
|
||||
"\u001b[31mResponseError\u001b[39m Traceback (most recent call last)",
|
||||
"\u001b[36mFile \u001b[39m\u001b[32m~/miniconda3/envs/pycomm/lib/python3.13/site-packages/pycomm3/logix_driver.py:499\u001b[39m, in \u001b[36mLogixDriver._get_instance_attribute_list_service\u001b[39m\u001b[34m(self, program)\u001b[39m\n\u001b[32m 498\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m response:\n\u001b[32m--> \u001b[39m\u001b[32m499\u001b[39m \u001b[38;5;28;01mraise\u001b[39;00m ResponseError(\n\u001b[32m 500\u001b[39m \u001b[33mf\u001b[39m\u001b[33m\"\u001b[39m\u001b[33msend_unit_data returned not valid data - \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mresponse.error\u001b[38;5;132;01m}\u001b[39;00m\u001b[33m\"\u001b[39m\n\u001b[32m 501\u001b[39m )\n\u001b[32m 503\u001b[39m last_instance = \u001b[38;5;28mself\u001b[39m._parse_instance_attribute_list(response, tag_list)\n",
|
||||
"\u001b[31mResponseError\u001b[39m: send_unit_data returned not valid data - Object state conflict",
|
||||
"\nThe above exception was the direct cause of the following exception:\n",
|
||||
"\u001b[31mResponseError\u001b[39m Traceback (most recent call last)",
|
||||
"\u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[5]\u001b[39m\u001b[32m, line 1\u001b[39m\n\u001b[32m----> \u001b[39m\u001b[32m1\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m LogixDriver(ip_address) \u001b[38;5;28;01mas\u001b[39;00m plc:\n\u001b[32m 2\u001b[39m \u001b[38;5;66;03m#info = plc.get_plc_info()\u001b[39;00m\n\u001b[32m 3\u001b[39m plctags = plc.get_tag_list()\n\u001b[32m 4\u001b[39m \u001b[38;5;66;03m#print(info)\u001b[39;00m\n",
|
||||
"\u001b[36mFile \u001b[39m\u001b[32m~/miniconda3/envs/pycomm/lib/python3.13/site-packages/pycomm3/cip_driver.py:144\u001b[39m, in \u001b[36mCIPDriver.__enter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 143\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34m__enter__\u001b[39m(\u001b[38;5;28mself\u001b[39m):\n\u001b[32m--> \u001b[39m\u001b[32m144\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43mopen\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 145\u001b[39m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\n",
|
||||
"\u001b[36mFile \u001b[39m\u001b[32m~/miniconda3/envs/pycomm/lib/python3.13/site-packages/pycomm3/logix_driver.py:165\u001b[39m, in \u001b[36mLogixDriver.open\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 163\u001b[39m ret = \u001b[38;5;28msuper\u001b[39m().open()\n\u001b[32m 164\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m ret:\n\u001b[32m--> \u001b[39m\u001b[32m165\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_initialize_driver\u001b[49m\u001b[43m(\u001b[49m\u001b[43m*\u001b[49m\u001b[43m*\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_init_args\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 166\u001b[39m \u001b[38;5;28;01mreturn\u001b[39;00m ret\n",
|
||||
"\u001b[36mFile \u001b[39m\u001b[32m~/miniconda3/envs/pycomm/lib/python3.13/site-packages/pycomm3/logix_driver.py:192\u001b[39m, in \u001b[36mLogixDriver._initialize_driver\u001b[39m\u001b[34m(self, init_tags, init_program_tags)\u001b[39m\n\u001b[32m 187\u001b[39m \u001b[38;5;28mself\u001b[39m._cfg[\u001b[33m\"\u001b[39m\u001b[33mcip_path\u001b[39m\u001b[33m\"\u001b[39m].pop(\n\u001b[32m 188\u001b[39m -\u001b[32m1\u001b[39m\n\u001b[32m 189\u001b[39m ) \u001b[38;5;66;03m# strip off backplane/0 segment, not used for these processors\u001b[39;00m\n\u001b[32m 191\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m init_tags:\n\u001b[32m--> \u001b[39m\u001b[32m192\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43mget_tag_list\u001b[49m\u001b[43m(\u001b[49m\u001b[43mprogram\u001b[49m\u001b[43m=\u001b[49m\u001b[33;43m\"\u001b[39;49m\u001b[33;43m*\u001b[39;49m\u001b[33;43m\"\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;28;43;01mif\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43minit_program_tags\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43;01melse\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[32m 194\u001b[39m \u001b[38;5;28mself\u001b[39m.__log.info(\u001b[33m\"\u001b[39m\u001b[33mInitialization complete.\u001b[39m\u001b[33m\"\u001b[39m)\n",
|
||||
"\u001b[36mFile \u001b[39m\u001b[32m~/miniconda3/envs/pycomm/lib/python3.13/site-packages/pycomm3/cip_driver.py:100\u001b[39m, in \u001b[36mwith_forward_open.<locals>.wrapped\u001b[39m\u001b[34m(self, *args, **kwargs)\u001b[39m\n\u001b[32m 98\u001b[39m msg = \u001b[33mf\u001b[39m\u001b[33m\"\u001b[39m\u001b[33mTarget did not connected. \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mfunc.\u001b[34m__name__\u001b[39m\u001b[38;5;132;01m}\u001b[39;00m\u001b[33m will not be executed.\u001b[39m\u001b[33m\"\u001b[39m\n\u001b[32m 99\u001b[39m \u001b[38;5;28;01mraise\u001b[39;00m ResponseError(msg)\n\u001b[32m--> \u001b[39m\u001b[32m100\u001b[39m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43m*\u001b[49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43m*\u001b[49m\u001b[43m*\u001b[49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
||||
"\u001b[36mFile \u001b[39m\u001b[32m~/miniconda3/envs/pycomm/lib/python3.13/site-packages/pycomm3/logix_driver.py:422\u001b[39m, in \u001b[36mLogixDriver.get_tag_list\u001b[39m\u001b[34m(self, program, cache)\u001b[39m\n\u001b[32m 420\u001b[39m \u001b[38;5;28mself\u001b[39m.__log.info(\u001b[33m\"\u001b[39m\u001b[33mStarting tag list upload...\u001b[39m\u001b[33m\"\u001b[39m)\n\u001b[32m 421\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m program == \u001b[33m\"\u001b[39m\u001b[33m*\u001b[39m\u001b[33m\"\u001b[39m:\n\u001b[32m--> \u001b[39m\u001b[32m422\u001b[39m tags = \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_get_tag_list\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 423\u001b[39m \u001b[38;5;28;01mfor\u001b[39;00m prog \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mself\u001b[39m._info[\u001b[33m\"\u001b[39m\u001b[33mprograms\u001b[39m\u001b[33m\"\u001b[39m]:\n\u001b[32m 424\u001b[39m tags += \u001b[38;5;28mself\u001b[39m._get_tag_list(prog)\n",
|
||||
"\u001b[36mFile \u001b[39m\u001b[32m~/miniconda3/envs/pycomm/lib/python3.13/site-packages/pycomm3/logix_driver.py:438\u001b[39m, in \u001b[36mLogixDriver._get_tag_list\u001b[39m\u001b[34m(self, program)\u001b[39m\n\u001b[32m 436\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34m_get_tag_list\u001b[39m(\u001b[38;5;28mself\u001b[39m, program=\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[32m 437\u001b[39m \u001b[38;5;28mself\u001b[39m.__log.info(\u001b[33mf\u001b[39m\u001b[33m'\u001b[39m\u001b[33mBeginning upload of \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mprogram\u001b[38;5;250m \u001b[39m\u001b[38;5;129;01mor\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[33m\"\u001b[39m\u001b[33mcontroller\u001b[39m\u001b[33m\"\u001b[39m\u001b[38;5;132;01m}\u001b[39;00m\u001b[33m tags...\u001b[39m\u001b[33m'\u001b[39m)\n\u001b[32m--> \u001b[39m\u001b[32m438\u001b[39m all_tags = \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_get_instance_attribute_list_service\u001b[49m\u001b[43m(\u001b[49m\u001b[43mprogram\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 439\u001b[39m \u001b[38;5;28mself\u001b[39m.__log.info(\u001b[33mf\u001b[39m\u001b[33m'\u001b[39m\u001b[33mCompleted upload of \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mprogram\u001b[38;5;250m \u001b[39m\u001b[38;5;129;01mor\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[33m\"\u001b[39m\u001b[33mcontroller\u001b[39m\u001b[33m\"\u001b[39m\u001b[38;5;132;01m}\u001b[39;00m\u001b[33m tags\u001b[39m\u001b[33m'\u001b[39m)\n\u001b[32m 440\u001b[39m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m._isolate_user_tags(all_tags, program)\n",
|
||||
"\u001b[36mFile \u001b[39m\u001b[32m~/miniconda3/envs/pycomm/lib/python3.13/site-packages/pycomm3/logix_driver.py:511\u001b[39m, in \u001b[36mLogixDriver._get_instance_attribute_list_service\u001b[39m\u001b[34m(self, program)\u001b[39m\n\u001b[32m 508\u001b[39m \u001b[38;5;28;01mreturn\u001b[39;00m tag_list\n\u001b[32m 510\u001b[39m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n\u001b[32m--> \u001b[39m\u001b[32m511\u001b[39m \u001b[38;5;28;01mraise\u001b[39;00m ResponseError(\u001b[33m\"\u001b[39m\u001b[33mfailed to get attribute list\u001b[39m\u001b[33m\"\u001b[39m) \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34;01merr\u001b[39;00m\n",
|
||||
"\u001b[31mResponseError\u001b[39m: failed to get attribute list"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with LogixDriver(ip_address) as plc:\n",
|
||||
" #info = plc.get_plc_info()\n",
|
||||
" plctags = plc.get_tag_list()\n",
|
||||
" #print(info)\n",
|
||||
" with open('/Users/nico/Documents/GitHub/HP_InHand_IG502/code snippets/tag_dump.json', 'w') as f:\n",
|
||||
" with open(path, 'w') as f:\n",
|
||||
" json.dump(plc.tags_json,f, indent=4)"
|
||||
]
|
||||
},
|
||||
@@ -103,17 +81,9 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Lifetime_Flow_Meter_Gal, 67015360.0, REAL, None\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with LogixDriver(ip_address) as plc:\n",
|
||||
" #for x in range(20):\n",
|
||||
|
||||
Reference in New Issue
Block a user