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

[Bug]: modbus address invalid #1207

Closed
2 of 16 tasks
anganing opened this issue Nov 15, 2023 · 2 comments
Closed
2 of 16 tasks

[Bug]: modbus address invalid #1207

anganing opened this issue Nov 15, 2023 · 2 comments
Labels
bug pending-close Issues that have been addressed and are awaiting final reporter feedback

Comments

@anganing
Copy link

What happened?

hello,
I read your official documentation that says it's a legitimate address, but it's wrong:
image
image

Version

v0.11.0

Programming Languages

  • plc4j
  • plc4go
  • plc4c
  • plc4net

Protocols

  • AB-Ethernet
  • ADS /AMS
  • BACnet/IP
  • CANopen
  • DeltaV
  • DF1
  • EtherNet/IP
  • Firmata
  • KNXnet/IP
  • Modbus
  • OPC-UA
  • S7
@anganing anganing added the bug label Nov 15, 2023
@hongjinlin
Copy link
Contributor

hongjinlin commented Nov 15, 2023

You can try 0x00001:BOOL[1]. The Modbus register coil status addresses range from 00001 to 09999, and I just checked, the regular expression matching in the code follows the same pattern.
ADDRESS_SHORT_PATTERN
FIXED_DIGIT_MODBUS_PATTERN

@chrisdutz
Copy link
Contributor

Aaaaaa ... now I understand the isssue ... yeah ... I first thought this was related to the "Register 1 = address 0 on the wire" problem ... but yeah ... the address is not in the valid format. I guess it's just missing some zeroes ;-)

@chrisdutz chrisdutz added the pending-close Issues that have been addressed and are awaiting final reporter feedback label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pending-close Issues that have been addressed and are awaiting final reporter feedback
Projects
None yet
Development

No branches or pull requests

3 participants