Sk

Moulded connector cables

14 posts / 0 new
Last post
#1 Moulded connector cables

Hi,

I would like to represent a cable with moulded connectors e.g. a ready made USB or HDMI cable. How do I do this. Ideally I would like to draw something like #3 in https://my.skycad.ca/forums/got-question-got-issue/high-level-representa... and then be able to insert a list block giving the cable and the start and end connectors (CN2 & CN3 in the example). Additionally, I would also like to be able to insert a list block for the connectors which would display the cable attached to the connector (and possibly the connector at the other end of the cable but this is less important). Since the cable is ready made I don't have any wires associated with the cable, and may not know what the wires are in some cases.  Also, I note that the #3 example cable doesn't have any connector pins associated with the connectors. In this case I'm not sure how the connectors know what they are connected to nor how the cable knows what connectors it is attached to. I thought all connectors require a connector pin for each connection but maybe this is my misunderstanding of connectors in SkyCAD .

 

julianburt83

Good question

Thanks for posting on the forum.

Please give us a little time to see what solution we can come up with.

We have some questions

We may be close to formulating a good solution for you, but we need to ask a few questions to better understand your exact requirement:

...and then be able to insert a list block giving the cable and the start and end connectors...
Do you want a list block for that specific cable or would a list block showing all the cables in the project and what connectors they're connected to suffice?

Additionally, I would also like to be able to insert a list block for the connectors which would display the cable attached to the connector...
Do you mean that you want to have a list block for all the connectors in the project, which displays the cables connected to the connectors?

Also, are the connectors you are referring to loose connectors or are they connectors attached to components? Please provide some more details about that too.

Thank you!

Response

Thanks for the quick response.

The answers to your first question is really that I'd like to be able to do both. Currently I have a list block for each cable giving the wires and their soruce and destination. For moulded cables I'd like a similar table that gives the source and destination for the whole cable as the connector names at each end (source CN2, destination CN3 in the #3 example). A summary table would also be useful useful to show the connectors at each end of all cables. However, I'm not sure how this would cater for cables that have more than one connector at one or each end.

For the second question. Currently I have an unique  list block for each connector giving the wires at each pin. For completeness I'd like to have similar for moulded connector but the table would have a simgle entry saying the cable name. A summary list of the cables going to each connector would also be useful if possible.

The connectors can be either loose or connected. For instance a HDMI cable may connect a PC to a monitor and so is connected at each end but a USB cable may be connected at one end and the other loose  e.g. a USB cable going from a PC enclosed inside a tool that leade to a panel mounted USB socket on the tool front panel.

How does this look?

Thanks for the details.

Here is what we have come up with so far, based on the description you gave in your last paragraph. The specific use of connectors may not be necessary, though they can be added if desired.

Please have a look at this and let us know what you think. In the meantime, we will continue working on your other requests.

 

Looks promising

Thanks for the suggestion, which looks promising. I have tried to use blocks as a work around and, as you show, it does allow a lot of what I was asking about (which I'd still like to achieve). One of my main dislikes to using blocks was the large size of the symbol generated which, when using a lot of cables, can make the diagrams cluttered. I haven't been able to edit the generated block symbol to a more suitable size/shape because of what appears to be a an uneditable fundamental component of the block symbol. However, I see that you appear to have the USB1 connection as a small symbol. How has this been generated? Could you post instructions describing how you generated the your example diagram, list blocks and especially the USB1 symbol. Thanks.

Please note we've reached out

Please note we've reached out to you via email.

Thanks

Hi Jeff,

Many thanks for the time on Friday explaining how you created your example in #5. Having upgraded to the beta version and gone back through the session video I started again with creating the moulded connector query that we had trouble with and it seems to work now as shown below.

In this example I've had to manually select which columns in the query results are displayed in the list block. Is there a way to permanently set which columns are displayed for this query and what data is shown in the title (I'd like other cable properties displayed as well). I tried the approach you previously suggested in https://my.skycad.ca/forums/got-question-got-issue/list-block-modification but this failed because I was unable to link the list block to a cable. Any suggestions?

We hope this helps

Is there a way to permanently set which columns are displayed for this query...
This should already be the case by default. The next time you execute this query for another cable, the column should be displayed how and where you want them. Is this not the case?

...what data is shown in the title (I'd like other cable properties displayed as well).
Which cable properties do you want shown? Also, so we understand clearly, you want those properties to be displayed in the title? E.g. Cable1, Part #123, (Moulded Connectors)?

I tried the approach you previously suggested in https://my.skycad.ca/forums/got-question-got-issue/list-block-modification but this failed because I was unable to link the list block to a cable.
This should still work with cables as described in comment #4 of that forum topic. The only difference is that in step 4, you need to Show>Cables.

Please let us know if that helps.

That worked. After restarting

That worked. After restarting SkyCAD the query only showed the columns for the query as you said it would. I've set the list block title to show the cable name as well as a simple component description, supplier and order code that I'd added previously as properties to the base Cable entity. Pressing Shift when inserting the saved list block worked as you said. For some reason I'd forgotten the Shift step and used the Link To instead. Thanks very much for your help.

The pin-out list block is also a very useful feature but would be greatly improved if the wires that make the connections between the 'Terminal Pin' and the 'Connected To' terminal could also be listed. I assume this would need the Connection Port entity to have a GetConnectedWire query similar to that found in Connector Pins. Is this feature planned in the future?

Like comment #5?

The pin-out list block is also a very useful feature but would be greatly improved if the wires that make the connections between the 'Terminal Pin' and the 'Connected To' terminal could also be listed.
We assume you're talking about the list block titled Wiring pin-out table. This does work in most cases, such as the PLC in comment #5. See column Net Number.

Please let us know if you're refering to something different.

I've looked at the wiring pin

I've looked at the wiring pin-out table for several components (Block Generator, PLC, Drive, Power Supply etc) but can't see a 'Net Number' column if I 'Show Hidden Columns'. I get columns Class Name, Description, Name, Connected wire numbering Format, Label, Terminal Pin and Connected To. The default is to display Terminal Pin and Connected To. Do I need to add something to the Wiring Pin-out Table query? I'm using single wires for all connections so would like a list of the unique wires connected to each terminal of the component.

After experimenting I think I

After experimenting I think I've got the wiring pin-out table to show the wires connected to the component's terminals. I've added two new queries to the Wiring pin-out table query of the component class. The first calls GetNet.DisplayedLabel to display connection nets and the second calls GetConnectionPoint.GetConnections.GetNetBranches.Number to display single wires.  Below is a simple example with single wires and a multiple connection to one terminal.

Is this the correct approach and have I got the correct queries?

Almost!

If you use the queries below, this pin-out table should work with your custom connector symbol too.

For Wires:

GetConnectionPoint.GetConnections.GetAssociatedWires.DisplayedLabel

For Net:

GetConnectionPoint.GetConnections.GetNet.DisplayedLabel

Please let us know how it goes.