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

Modbus TCP connect Telnet CRC Error #556

Open
danhloimta opened this issue May 24, 2024 · 0 comments
Open

Modbus TCP connect Telnet CRC Error #556

danhloimta opened this issue May 24, 2024 · 0 comments

Comments

@danhloimta
Copy link

danhloimta commented May 24, 2024

I am using modbus tcp connect type Telnet and using HW Tool as an intermediary to connect the app and Modbus Slave.

APP -> HW -> Modbus Slave

HW tool: https://www.hw-group.com/software/hw-vsp3-virtual-serial-port

HW
image

Modbus Slave
image

When I enter the value 32767 (Max value) in Short, the library returns an error. (32766 is ok)
image

Data Long/Word/Dword also has the same error (in the range approaching the max value, the library returns an error)

I guess it might be because the intermediate HW tool in the middle is converting incorrectly and transmitting it to the app, but I tried another HW replacement tool, Serial to ethernet connector, which also had the same error.
Serial To Ethernet connector: https://www.serial-over-ethernet.com/downloads/post-download.html

I read it and saw the error return code here. Can anyone explain why such an error occurs?
image

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