Skip to content

New tool idea: assist in variable linking #61

@RobertoRoos

Description

@RobertoRoos

Variable linking is tedious and prone to outright disappear. It could be cool to have a tool for this.

Options I can think of now:

  • Name based links: link PLC io to HWIO through both variable names
  • Rely on exported links ('mappings'): so you can verify in CI whether the last export matches the current project, then your maps become very explicit
  • Rely on external mappings - basically a .txt that contains either exact maps or maybe also some kind of regex matches (to minimize content)
  • Use variable comments - something like:
    myVar      AT %I*: BOOL; // link: Master/EK91100/EL200/channel1
    
    • Though this gets more difficult when we use intermediate IO objects, e.g. FB_DigitalOut. The I/Q variables themselves cannot be bound with specific links.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions