minor updates

This commit is contained in:
Nico Melone
2025-06-04 18:02:11 -05:00
parent 0ba8e12263
commit 5e9d055954
2 changed files with 2369 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -12,17 +12,17 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"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",
"execution_count": 5,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
@@ -52,6 +52,24 @@
"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",
"execution_count": null,