Title: [BUG] - No error on Write for Bool · Issue #330 · ottowayi/pycomm3 · GitHub
Open Graph Title: [BUG] - No error on Write for Bool · Issue #330 · ottowayi/pycomm3
X Title: [BUG] - No error on Write for Bool · Issue #330 · ottowayi/pycomm3
Description: Pre-checks running latest version enabled logging consulted the docs Description No errors are flagged when trying to write a string, or other failed datatype to a boolean value in the PLC. I tested on a DINT and I do receive an error. T...
Open Graph Description: Pre-checks running latest version enabled logging consulted the docs Description No errors are flagged when trying to write a string, or other failed datatype to a boolean value in the PLC. I teste...
X Description: Pre-checks running latest version enabled logging consulted the docs Description No errors are flagged when trying to write a string, or other failed datatype to a boolean value in the PLC. I teste...
Opengraph URL: https://github.com/ottowayi/pycomm3/issues/330
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] - No error on Write for Bool","articleBody":"**Pre-checks**\n- [x] running latest version\n- [ ] enabled logging \n- [x] consulted the [docs](https://pycomm3.readthedocs.io/en/latest/) \n\n**Description**\nNo errors are flagged when trying to write a string, or other failed datatype to a boolean value in the PLC. \nI tested on a DINT and I do receive an error. \n\n**Target PLC**\nModel: 1756-L81\nFirmware Revision: 37.11\nOther Devices in CIP Path: n/a\n\n**Code Sample**\n\n```python\n from pycomm3 import LogixDriver\n\nwith LogixDriver('192.168.1.10') as plc:\n result = plc.write('XY_123_intlk.Cfg_OKState.0', 'Hello') # or False\n if result.error is None:\n print(f\"success: {result}\")\n else:\n print(f\"Error writing to Tag: {result.error}\")\n```\n\n**Additional context**\n\nThis is the output result. \n```\nsucess: XY_123_intlk.cfg_OKState.0, 'Hello', BOOL, None\n```","author":{"url":"https://github.com/seversonic","@type":"Person","name":"seversonic"},"datePublished":"2025-10-09T21:23:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/330/pycomm3/issues/330"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c034c529-ede0-c2ac-5a6e-8d3f62342a1b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA70:1DA4B8:19BE5D:247044:6A4BC089 |
| html-safe-nonce | 5817277dd77c35065e0372a72ba95ff601232c4c23fc3a7cbdecf203a681269d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTcwOjFEQTRCODoxOUJFNUQ6MjQ3MDQ0OjZBNEJDMDg5IiwidmlzaXRvcl9pZCI6IjE1MjkzOTUwODI3Njc1Nzg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a649d47c2f53faf018da5e4b8bc19309604d09149d1891b3db1d1587c4245130 |
| hovercard-subject-tag | issue:3500672336 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ottowayi/pycomm3/330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aada963aa6749e19e91118e9a51235e0e210829ed0a0de78b930d114c0079fcc/ottowayi/pycomm3/issues/330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aada963aa6749e19e91118e9a51235e0e210829ed0a0de78b930d114c0079fcc/ottowayi/pycomm3/issues/330 |
| og:image:alt | Pre-checks running latest version enabled logging consulted the docs Description No errors are flagged when trying to write a string, or other failed datatype to a boolean value in the PLC. I teste... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | seversonic |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-preview |
| go-import | github.com/ottowayi/pycomm3 git https://github.com/ottowayi/pycomm3.git |
| octolytics-dimension-user_id | 5274950 |
| octolytics-dimension-user_login | ottowayi |
| octolytics-dimension-repository_id | 193241356 |
| octolytics-dimension-repository_nwo | ottowayi/pycomm3 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193241356 |
| octolytics-dimension-repository_network_root_nwo | ottowayi/pycomm3 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width