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

[feature] Support for Wago connectors #45

Closed
gioele opened this issue Jun 30, 2020 · 4 comments
Closed

[feature] Support for Wago connectors #45

gioele opened this issue Jun 30, 2020 · 4 comments

Comments

@gioele
Copy link

gioele commented Jun 30, 2020

Wago connectors are a common kind of splicing connectors, a modern alternative to twist-on wire connectors.

wago

Differently from in-line splicing connectors (see feature request #26), wires in Wago connectors are all on the same side of the connector. It would be nice if this important property could be carried over in the graphical representation.

@aakatz3
Copy link
Contributor

aakatz3 commented Jun 30, 2020

To add onto this, Wire Nuts (common in USA installations) behave relatively similarly, and can likely be implemented at the same time.

wire-nuts

@kvid
Copy link
Collaborator

kvid commented Jul 6, 2020

@aakatz3 The Wire Nut have all the wires connected in the same "hole" and can probably use the existing ferrule/splice with all wires connected from one side. @formatc1702 should have this in mind when he plan to rename the connector category value as mentioned in issue #26 (comment)

@formatc1702
Copy link
Collaborator

formatc1702 commented Jul 6, 2020

Like @kvid mentioned, both wire nuts and Wago 221 series connectors behave very much like a splice, electrically speaking. Thus, they should be represented as such in WireViz.

wires in Wago connectors are all on the same side of the connector. It would be nice if this important property could be carried over in the graphical representation.

For a functional representation of the wiring (which is what WireViz is for), this is irrelevant, and also hard to implement in the current code.

See example 05:

X1, X2 and X3 are all the same type of connector, but X2 has wires coming out both sides of each pin due to the daisy chaining. That doesn't mean it suddenly has more pins.

If the orientation is really important, I guess it could be achieved defining the Wago as a connector, and making sure it is to the left/right of all connecting elements, a little like example 06, if you imagine X2, X4 and X6 to be the Wagos.

I will therefore close this issue and refer to #26 for now.

@formatc1702
Copy link
Collaborator

formatc1702 commented Jul 6, 2020

As a bonus, here's how the image in the first comment might be rendered in WireViz:
(PE rendered as green, since multicolored wires are still in the works)

test

I realize the text to generate the connections is not very compact, this is an issue that could be addressed in the future (#67).

cables:
  C1: &cable
    type: Mains cable
    colors: [BN, BU, GN] # GN to be replaced with GNYE for PE
    gauge: 1.5
  C2:
    <<: *cable
  C3:
    <<: *cable

connectors:
  S1: &wago
    category: ferrule
    manufacturer: Wago
    manufacturer_part_number: 221-413
    color: OG
  S2:
    <<: *wago
  S3:
    <<: *wago

connections:
  -
    - C1: 1
    - S1
  -
    - C1: 2
    - S2
  -
    - C1: 3
    - S3:
  -
    - C2: 1
    - S1
  -
    - C2: 2
    - S2
  -
    - C2: 3
    - S3
  -
    - S1
    - C3: 1
  -
    - S2
    - C3: 2
  -
    - S3
    - C3: 3

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

4 participants