Skip to content

Add the ability to set CTD #97

@alexrudd2

Description

@alexrudd2

CTD registers are read/writeable in the ClickPLC, but the current code only has get_ctd().

  • Extend to set_ctd()
  • Ensure the correct warnings are in place (e.g. trying to set CTD251 should give an error message
  • Write a new unit test for the roundtrip (probably test_dd_roundtrip() is a good basis)

Also, either here or in a separate issue:

  • Extend get_ctd() to reply with a single value instead of a dictionary to match other register types
  • Fix the test that breaks when doing so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions