Closed skykep closed 1 year ago
For the heck of it, I just tried to modify the code to this instead, and it actually worked. So that's a minor bug, but workable.
heartbeatTag.value = true;
await PLC[i][0].writeTag(heartbeatTag);
Supposedly you can write to a tag without reading from it first so long as you declare the data type. This does not work.
Current Behavior
produces this:
2022-11-10 05:45:36Heartbeat Error: undefined
which is my catch block when the heartbeat tag write failsExpected Behavior
Write the tag successfully
Possible Solution (Optional)
Context
Steps to Reproduce (for bugs only)
1. 2. 3. 4.
Your Environment
npm list
- e.g. 1.0.6):node --version
- e.g. 9.8.0):