Hey guys,
I am currently transitioning many of my P&ID Symbols into Autocad Electrical Symbols. Currently I am working on creating a Parent Scada Block with a Child Panel Bubble Block. I have created both with the attributes required.
Whenever I change the parent symbol's tag (its loop number for example), the child symbol's tag (TAG2_PART2 in this case) does not update even though the relationship was already established.
I am new to using split tags with parent/child relationships and if anyone has any guidance it would be greatly appreciated. I have attached both custom blocks below.
Thank you,
Hunter
Solved! Go to Solution.
Solved by jalger. Go to Solution.
Hi Hcorry,
It won't work unless you have the proper naming Scheme.
The are required Characters (5-6 characters that are preset)
1 char (Orientation)
H - Horizontal Component
V - Vertical Component
2nd & 3rd Char (Family name)
DV - Device
LT - Light
PB - Push Button
4th Char ( Parent / Child)
1 - Parent
2 - Child
5th Char ( Optional Contact State)
1 - NO
2 - NC
6th + - Unique Identifier
_ACME
_SCADA
-1234
In your case you would need.
HDV1_Scada
and
HDV2_Scada (For the Bubble)
That way AutoCAD Electrical understands they are parent and child.
Currently the name on the devices are I_SCADA and I_BUB_Panel they won't work togther.
Quick question for you are you use the bubble in a Panel Drawing? or is it just labeled "panel:?
Based on the answer you may need to change how it calls out the "Child" Device.
Regards,
James
Thank you for your reply jalger,
Based off this and trying to keep our symbols' names with as little change as possible, would it be a better route to treat the I_BUB_PANEL as a footprint, which then would also allow for bidirectional updates?
The bubble is in a P&ID drawing: most of the time (but not always) the same drawing as the scada block.
Thanks,
Hunter
Hi Hunter,
You could make it a footprint.
you will need a Catalog number to tie the footprint to properly.
The other thing you could do is have it link as a peer device.
Add WDTAGALT and WDTYPE (With a Vaule orf PI [P&ID]).
that way you can link them (Tags Used Section select "Schematic or panel) Select the device, then press Copy Tag, and choose "WDTAGALT")
It Creates a Peer to Peer Link. (Electrical to Non-Electrical Device) Normally we use it for motors, Drives, etc.
I hope this helps,
James
Hi jalger,
I just realized we cannot make I_BUB_PANEL a footprint as the parent scada block is already connected to a footprint.
What we are trying to do is have the bubble in the field section of our P&ID drawings inside a symbol for a panel. The bubble needs to be able to grab the loop number of the scada block, but does not have to bidirectionally update. Because of this, I thought a child block would be the correct choice but we want to avoid having to change our naming scheme for our symbols. Peer to peer would be okay but not ideal, as we don't want it displaying another tag, we want it to have the exact same tag as the parent.
Do you have any advice on how we can achieve this? Also, can the WDTAGALT attribute solely grab the TAG1_PART2 attribute value and not the whole value of TAG1? If there is a way to do this (WDTAGALT_PART2?), a peer to peer relationship would be perfect.
Thanks a ton,
Hunter
Hi Hunter,
I can't think of another way to do this without alot of coding or Renaming the Blocks.
You may want to rename them anyway so you can link to the database properly.
Maybe someone else has an idea?
Regards,
James
Hey jalger,
I am attempting to make the I_BUB_PANEL have a peer to peer relationship with the I_SCADA block. I added the WDTAGALT and WDTYPE attributes to both blocks, but I made the WDTAGALT attribute invisible on the I_SCADA block as the information it would contain would not be relevant or useful for our drawings. After I choose "Tags Used:" > "Schematic", select the correct scada block, copy tag, and then WDTAGALT, the alternate tag attribute on the I_BUB_PANEL drawing updates accordingly. However, the attribute on the scada block does not update its value. Is this because it is hidden?
Also, whenever I update the tag on the scada block, the WDTAGALT attribute on the bubble block does not update to match the new value. Would you mind taking a look at my blocks and see if there is anything wrong with them that would cause this to be the case?
Thanks a ton,
Hunter
Sure I'll take a look at them.
James
Hi Hunter,
Ok I tried it out played with a few different Options, and the Best thing for your current setup is renaming them.
You want the second half of the Scada marker to pass the info back and forth, you need to have the Parent-Child realationship.
So if the are named
HDV1_Scada
and
HDV2_Scada
They link properly, if you make a couple of quick changes.
Tag1_Part1, and tag_Part2 in the I_Bub_Panel (the child Component) will go to Tag2_Part1 and Tag2_Part2.
And make sure they have the same Family (DV for device is ok for now)
after that it works correctly (but really Slow, looks like you have a lot excess attribtutes).
What are you doing with the attributes Wireno001 - Wireno004?
If you are trying to pass pins you should use a pinlist.
I hope this helps,
James
Hi Hunter,
Yeah I was able to get it working with the WDTAGALT, You need to Remove the WDTYPE from the Parent component.
Then Match the Family code (Just type DV in the FAM Attribute).
(it might work without the family code, but i had trouble having populate in the list without it)
If your having Trouble Let me know, and on Monday I'll save the symbols again and send them your way.
I'll post a copy with both methods so you can play around with them.
Regards,
James
Hey James,
I hope you had a great weekend.
I have removed the WDTYPE attribute on the I_SCADA block and have added matching family attributes and values to both blocks, but I am still encountering the issue of when I update the tag name on the scada block, the WDTAGALT attribute does not update on the I_BUB_PANEL block.
Would you mind taking a look at my blocks?
Thanks,
Hunter
Hi Hunter,
I'll try to take a look ast them this afternoon.
Regards,
James
Hi Hunter,
Well here are the Renamed ones.(these ones work with the parent/child relationship).
I can't find the other ones I did for just the WDTAGALT (I must have deleted them / overwrote them on my computer)
I hope these help,
James