minor updates
This commit is contained in:
2348
Pub_Sub/fk_plcpond_gateway/thingsboard/overflow_tag_dump_30_May.json
Normal file
2348
Pub_Sub/fk_plcpond_gateway/thingsboard/overflow_tag_dump_30_May.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -12,17 +12,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 2,
|
"execution_count": 3,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"ip_address = \"166.193.23.21\" # \"ngrok.iot.inhandnetworks.com:3021\"\n",
|
"ip_address = \"166.193.23.21\" # \"ngrok.iot.inhandnetworks.com:3021\"\n",
|
||||||
"path = '/Users/nico/Documents/GitHub/HP_InHand_IG502/Pub_Sub/fk_plcpond/thingsboard/overflow_tag_dump.json' # code snippets/tag_dump.json'"
|
"path = '/Users/nico/Documents/GitHub/HP_InHand_IG502/Pub_Sub/fk_plcpond_gateway/thingsboard/overflow_tag_dump_30_May.json' # code snippets/tag_dump.json'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 5,
|
"execution_count": 4,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@@ -52,6 +52,24 @@
|
|||||||
"json.dumps(plctags, indent=4)"
|
"json.dumps(plctags, indent=4)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": 10,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"Pond_1_Lev, 21055.0, REAL, None\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"source": [
|
||||||
|
"with LogixDriver(ip_address) as plc:\n",
|
||||||
|
" print(plc.read(\"Pond_1_Lev\"))"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
|||||||
Reference in New Issue
Block a user