Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SHORT_STRING data type for symbolic tag messaging #65

Open
greg9504 opened this issue May 5, 2024 · 0 comments
Open

Support SHORT_STRING data type for symbolic tag messaging #65

greg9504 opened this issue May 5, 2024 · 0 comments

Comments

@greg9504
Copy link

greg9504 commented May 5, 2024

The SHORT_STRING data type is a single byte character string. It is sent with the first byte being the length, followed by the string data. Supporting symbolic (Rockwell) tags with this data type is relatively straightforward. Also add support for USINT (unsigned 8bit data) Code changes here:

https://github.com/greg9504/ST-node-ethernet-ip/tree/Add_Additional_DataTypes_Support

There was also a change for writing SINT data, the code used Buffer.writeUInt8 when I think it should have used Buffer.writeInt8.

Further testing should probably be done, as I've only be able to test using the Micro850 simulator in Connected Components Workbench.

Tested with
CCW version 22
PLC - 2080-LC50-48QWB-SIM (Micro850 Simulator, not actual hardware)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant