Documente Academic
Documente Profesional
Documente Cultură
P&ID Tutorials
Copyright
Copyright 2003-2012 Intergraph Corporation. All Rights Reserved. Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license agreement; contains confidential and proprietary information of Intergraph and/or third parties which is protected by copyright law, trade secret law, and international treaty, and may not be provided or otherwise made available without proper authorization from Intergraph Corporation.
Terms of Use
Use of this software product is subject to the End User License Agreement ("EULA") delivered with this software product unless the licensee has a valid signed license for this software product with Intergraph Corporation. If the licensee has a valid signed license for this software product with Intergraph Corporation, the valid signed license shall take precedence and govern the use of this software product. Subject to the terms contained within the applicable license agreement, Intergraph Corporation gives licensee permission to print a reasonable number of copies of the documentation as defined in the applicable license agreement and delivered with the software product for licensee's internal, non-commercial use. The documentation may not be printed for resale or redistribution.
Trademarks
Intergraph, the Intergraph logo, CADWorx, and CAESAR II are trademarks or registered trademarks of Intergraph Corporation or its subsidiaries in the United States, and other countries. Microsoft, and Windows are registered trademarks of Microsoft Corporation. Oracle, JD Edwards, PeopleSoft, and Retek are registered trademarks of Oracle Corporation, and/or its affiliates. AutoCAD, ObjectARX, and RealDWG are trademarks of Autodesk. HOOPS is a trademark of Tech Soft 3D, L.L.C. Other brands, and product names are trademarks of their respective owners. CADWorx Design Review contains Autodesk RealDWG by Autodesk, Inc., copyright Autodesk, Inc. All rights reserved. Autodesk, Inc., 111 McInnis Parkway, San Rafael, California 94903 ("Autodesk") is a third-party beneficiary to this Agreement to the extent that the Software Product contains RealDWG, and to the extent that the provisions herein relate to Licensees use of the Software Product containing RealDWG. Such provisions are made expressly for the benefit of Autodesk, and are enforceable by Autodesk in addition to Intergraph.
Contents
Preface for CADWorx P&ID Tutorials ........................................................................................................ 5 Basic Tutorial ............................................................................................................................................... 7 Start a new drawing ................................................................................................................................ 8 Setup drawing parameters ...................................................................................................................... 8 Place a vertical vessel .......................................................................................................................... 10 Place a pump ........................................................................................................................................ 11 Place the horizontal vessel ................................................................................................................... 13 Place an exchanger .............................................................................................................................. 14 Define equipment tags .......................................................................................................................... 15 Draw process lines ................................................................................................................................ 17 Annotate the process lines .................................................................................................................... 20 Place a nozzle ....................................................................................................................................... 22 Place instrumentation ........................................................................................................................... 23 Place valves and control valves ............................................................................................................ 27 Draw connecting lines .................................................................................................................... 29 Create relief valves ............................................................................................................................... 32 Place on/off arrows ............................................................................................................................... 34 Tag the process lines ............................................................................................................................ 35 Advanced Tutorial ..................................................................................................................................... 37 Start a new drawing .............................................................................................................................. 38 Setup drawing parameters .................................................................................................................... 39 Place a vertical vessel .......................................................................................................................... 41 Place a pump ........................................................................................................................................ 43 Place the horizontal vessel ................................................................................................................... 45 Place an exchanger .............................................................................................................................. 46 Draw process lines ................................................................................................................................ 47 Add line count to the line numbering system ................................................................................. 51 Enter tag information for process lines ........................................................................................... 51 Place nozzles ........................................................................................................................................ 53 Place instrumentation ........................................................................................................................... 54 Place valves and control valves ............................................................................................................ 58 Create new blocks and symbols ........................................................................................................... 62 Create embedded instruments.............................................................................................................. 67 Create relief valves ............................................................................................................................... 68 Add documentation to equipment ......................................................................................................... 70 Add links................................................................................................................................................ 71 Place on/off arrows ............................................................................................................................... 74 Add a non-database drawing to the project .......................................................................................... 76 Default project, forms, and queries ....................................................................................................... 77 Create a query in Microsoft Access ................................................................................................ 77 Create a form in Microsoft Access ................................................................................................. 79 Create a report in Microsoft Access ............................................................................................... 81 Change data within Microsoft Access ............................................................................................ 83
Contents
Index ........................................................................................................................................................... 85
SECTION 1
Basic Tutorial
The lessons in the Basic Tutorial section guide you through using the tools and commands in CADWorx P&ID to create a drawing without a database. After you complete all of the lessons in this section, the finished drawing should resemble the example below.
Even if you intend to use the software with a database, we recommend that you complete the Basic Tutorial lessons. When appropriate, a tutorial lesson cross-references a pertinent topic in the CADWorx P&ID User's Guide so that you can get additional information regarding a specific command or concept.
By default Annotation is set to Off. Do not change this setting while you are working the lessons in the Basic Tutorial.
Basic Tutorial
2. Click Border. The Borders dialog box appears.
3. Under Border type, select Predefined. A list of predefined borders displays under Predefined borders. The list of predefined borders is controlled by the [Product Folder]\P&ID\Support\MVSetup.dfs file. 4. Select 34x22 (ANSI-D) in the Predefined borders list, and click OK. 5. Click OK on the CADWorx P&ID Setup dialog box. The Edit Attributes dialog box appears. 6. Define the information required for the title block, and click OK. 7. Click Save . The Save Drawing As dialog box appears. 8. Type 10112 in the File name box, and click Save. For more information about setting up drawing parameters, see "Setup" in the CADWorx P&ID User's Guide.
Basic Tutorial
1. If the entire drawing is not visible, click the View tab and then click Extents in the Navigate 2D Panel. 2. Click the CADWorxP&ID tab and then click Vessels in the Equip panel. Alternatively, type ICONVESSEL, and press ENTER. The Vessels dialog box appears. 3. Select Vert Vessel Ellip w/Skirt, and click OK. First corner point. 4. Click a point in the drawing to define the lower left corner of the internal rectangle. Second corner point. 5. Click a second point in the drawing, approximately four grid spaces to the right and 12 grid spaces up from the first point, to define the upper right corner of the internal rectangle. The software draws the vertical tank with the ellipses at the top and bottom of the vessel. Pick skirt base. 6. Click in the drawing to define the location for the base of the skirt. Pick position. 7. Click a point within the vessel to define the placement of the vessel tag. Pick position 8. Click a point above the vessel at the top of the drawing, about one grid space down from the drawing border, to define the placement of the vessel label. For more detailed command reference information, see "Vessels" in the CADWorx P&ID User's Guide.
10
Basic Tutorial
Place a pump
In the next lesson, you will place two pumps.
1. Click the CADWorxP&ID tab and then click Pumps on the Equip panel. Alternatively, type ICONPUMP, and press ENTER. The Pumps dialog box appears. 2. Select Pump Centrifugal (Y axis), and click OK. Pick position. 3. Click a point in the drawing to the right of the bottom of the tank to place the pump.
Pick orientation. 4. Define the orientation of the pump so that the suction and discharge are facing toward the right edge of the drawing.
11
Basic Tutorial
Move the mouse from the left to the right to assign the correct orientation of the pump. When the pump is oriented correctly, click once in the drawing to exit the command. Pick position. 5. Click a point just below the pump to place the additional tag. Pick position. 6. Click a point directly above the pump and one grid space down from the drawing border to define a position for the pump label. 7. Place a copy of the pump approximately ten spaces to the right of the first pump.
12
Basic Tutorial
1. Click the CADWorxP&ID tab and then click Vessels on the Equip panel. Alternatively, type ICONVESSEL, and press ENTER. The Vessels dialog box appears. 2. Select Horiz Vessel Ellip, and click OK. First corner point. 3. Click a point in the drawing to define the lower left corner of the internal rectangle. Second corner point. 4. Click a second point in the drawing, approximately four grid spaces up and 10 grid spaces to the right of the first point, to define the upper right corner of the internal rectangle. The software draws the horizontal vessel with the ellipses on each end of the vessel Pick position. 5. Click a point within the horizontal vessel to define the placement of the vessel tag. Pick position. 6. Click a point above the horizontal vessel at the top of the drawing, about one grid space down from the drawing border, to define the placement of the vessel label. For more detailed command reference information, see "Vessels" in the CADWorx P&ID User's Guide.
13
Basic Tutorial
Place an exchanger
In this lesson, you will place two exchangers: one to the left of the vertical tank, and the other above the horizontal tank.
1. Click the CADWorxP&ID tab and then click Exchangers in the Equip panel. Alternatively, type ICONEXHANGE and then press ENTER. The Exchangers dialog box appears. 2. Select Exchanger - Process Flow, and click OK. Pick position. 3. Click a point in the drawing to the left of the vertical tank, just above the seam, to define the location of the first exchanger. Second position. 4. Click a point at the upper left of the exchanger to place the additional tag. Pick position. 5. Click a point above the exchanger at the top of the drawing, about one grid space down from the drawing border, to define the placement of the exchanger label. 6. Repeat steps1 through 5 to place an identical exchanger above the left end of the horizontal vessel. For more detailed command reference information, see "Exchangers" in the CADWorx P&ID User's Guide.
14
Basic Tutorial
1. Click the CADWorxP&ID tab and then click Edit on the Modify panel. Alternatively, type CEDIT, and press ENTER. Select P&ID entity. 2. Select the vertical tank on the left side of the drawing. The Editing Vessel Component dialog box appears. You can also get this box to display by double clicking the P&ID entity. 3. Define the property data as shown in the example below.
15
Basic Tutorial
4. Click Additional Data. The Additional Data dialog box appears.
5. Type Depropanizer in the Corrosion Allowance box, and click OK. 6. Click OK on the Editing Vessel Component dialog box. The equipment tag on the face of the vertical tank and the equipment label at the top of the drawing are both appended with the tag number. 7. Repeat steps 1 through 6 to edit the properties for the remaining equipment on the drawing as indicated below. Horizontal Vessel: Length - 16-0 T/T OD - 74 Tag - V-010 Corrosion Allowance - Overhead Accumulator Pump 1 (right of vertical tank): Tag - P-001 Service - Reflux Product Pump Pump 2: Tag - P-002 Service - Reflux Product Pump Exchanger 1 (left side of vertical tank): Tag - EX-001 Service - Reboiler Exchanger 2 (above horizontal vessel): Tag - EX-002 Service - Overhead Condenser For more information, see "Edit" in the CADWorx P&ID User's Guide.
16
Basic Tutorial
5. Continue to use Major Primary to draw the remaining process lines as outlined below. a. Draw a process line from the bottom of exchanger EX-002 to the top of vessel V-010. b. Draw a process line from the bottom of vessel V-010 to the suction side of pump P-002.
17
Basic Tutorial
c. Draw a process line up from the discharge side of pump P002 over to vessel T-001. From the corner of this line, above the P-002 pump, draw a line towards the right edge of the drawing.
d. Draw the suction line to pump P-001 and then draw the discharge line.
e. Draw a line from the bottom of the ellipse on vessel T-001 to exchanger EX-001. f. Draw the line from the top of exchanger EX-001 to the left side of vessel T-001.
18
Basic Tutorial
g. Draw a line from the bottom ellipse on vessel T-001 to the right side of the drawing.
h. Draw a line coming out of the left side of vessel T-001 toward the left edge of the drawing.
i.
19
Basic Tutorial
Your finished drawing should look similar to the example below.
For more detailed command reference information, see "Process Lines Panel" in the CADWorx P&ID User's Guide.
20
Basic Tutorial
1. Click the CADWorxP&ID tab and then click Edit on the Modify panel. Alternatively, type CEDIT, and press ENTER. 2. Select the process line coming out of the top of vessel T-001 (A). The Editing Line Component dialog box appears. 3. Define the process line properties as shown in the example below and click OK.
4. Continue using Edit to assign size and specification data for each of the remaining process lines as outlined in the table below. Process Line Label B C D E F G H I J K Size 10 2 10 8 10 8 6 16 6 20 Spec 150 150 150 150 150 150 150 150 150 150 Tag 10"-150 2"-150 10"-150 8"-150 10"-150 8"-150 6"-150 16"-150 6"-150 20"-150
The information that you define is stored with the process line. In Tag the process lines (on page 35), you will place tags on these process lines. To assign a specification to any CADWorx component, click the CADWorxP&ID tab and then click Spec Assign in the Size_Spec panel. For more information, see "Spec Assign" in the CADWorx P&ID User's Guide. You can also use the CADWorx P&ID Setup dialog box to set the specification to 150-lb so that all process lines drawn are assigned the specification automatically at placement. The line number system is explained in the Advanced Tutorial section. Using a line numbering system requires that you only enter the size and specification of the process line to automatically generate the tag value.
21
Basic Tutorial
Place a nozzle
If you want the nozzles you place to acquire the size of the process line, you must first set the size of the process line. Otherwise, you must edit each connection manually. 1. Click the CADWorxP&ID tab and then click Nozzles on the Equip panel. Alternatively, type ICONNOZZLE, and press ENTER. The Nozzles dialog box appears. 2. Select Nozzle - single line /w blind, and click OK. Pick position. 3. Select the point where the line coming out of the top of vessel T-001 meets the ellipse. Pick rotation. 4. Drag the mouse upright so that the nozzle is oriented correctly. 5. Repeat steps 1 through 4 to place the Nozzle - single line /w blind for each of the remaining connections on vessel T-001, as shown in the example below.
6. Repeat Steps 1 through 4 to place the Nozzle No Flange on V-010, as shown in the example below.
For more detailed command reference information, see "Nozzles" in the CADWorx P&ID User's Guide.
22
Basic Tutorial
Place instrumentation
1. Click the View tab and then click Window window around the pumps. The software zooms in around the pumps. on the Navigate 2D panel, and drag a
2. Click the CADWorxP&ID tab and then click Discrete - Local on the Instruments panel. Alternatively, type DILOCAL and then press ENTER. Specify start point. 3. Click the discharge line on pump P-100, about one grid space up from the pump. Specify next point or [Undo]. 4. Click a point about 1-1/2 grid spaces to the left of the discharge line to define the insertion point of the instrument bubble, and press ENTER. The Lines dialog box, which contains different types of instrument lines, displays. 5. Select Instrument, and click OK. 6. Click Edit on the Modify panel . Alternatively, type CEDIT, and press ENTER. Select P&ID entity. 7. Select the instrument you just placed. The Editing Instrument Component dialog box appears. 8. Type values for Function and Tag as shown in the example below, and click OK.
9. Repeat steps 2 through 8 to place an instrument bubble on the discharge line of pump P-002, and tag the bubble PI-002.
23
Basic Tutorial
10. Click the View tab and then click Window on the Navigate 2D panel, and drag a window around V-010. The software zooms in around the vessel. 11. Repeat steps 2 through 8 to place an instrument bubble at the top of vessel V-010, and tag it PC-010.
12. Place another instrument bubble attached to the PC-010 instrument line, and tag it PI-010. You must pick three different points to place the bubble. The first point is the instrument line on PC-010, the second is directly across, about 1-1/2 grid spaces to the left of the first point, and the third point is directly up from second point, even with the PC-010 bubble. The drawing should resemble the example below.
13. Click the View tab and then click Window on the Navigate 2D panel, and drag a window around the right end of vessel V-010, leaving enough room for two instrument bubbles. The software zooms in around the right end of the vessel.
24
Basic Tutorial
14. Repeat steps 2 through 8 to draw an instrument bubble from the center of the ellipse, and tag that bubble LT-010.
6. Click the Home tab and then click TRIM on the Modify panel. Select objects. Right-click anywhere in the drawing. Select object to trim or shift select to extend or.
25
Basic Tutorial
7. Click the bottom of the line coming out of the LT-010 instrument bubble to trim the instrument lines back to the ellipse, as shown in the example below.
3. 4. 5.
6.
When you select the center of an existing instrument bubble, the software uses the same tag for the new bubble, which is 010 in this example. Specify next point or [Undo]. Drag the bubble to the right until it is flush against the right edge of the first instrument bubble, click once, and press ENTER. Select the instrument, and click OK. Type CEDIT, and press ENTER. Select P&ID entity. The Editing Instrument Component dialog box appears. Type LC-010 in the Tag box, and click OK.
26
Basic Tutorial
7. Repeat the previous steps in this lesson as necessary to place LT-001 and LC-001 instrument bubbles on T-001 and then place nozzles on the instrument arms, similar to the example shown below.
For more detailed command reference information, see "Instruments Panel" in the CADWorx P&ID User's Guide.
2. Click the CADWorxP&ID tab and then click Valve - Control Alternatively, type ICONCONVALVE, and press ENTER. The Valves Control dialog box appears.
27
Basic Tutorial
3. Select Control Gate Diaphragm, and click OK. Pick position. 4. Place the control valve about two grid spaces from the right side of the horizontal line, similar to the example shown below.
5. Click Discrete - Local on the Instruments panel. Alternatively, type DILOCAL and then press ENTER. Specify start point. 6. Place an instrument bubble for the control valve, as shown in the example below.
To place the instrument line at an angle, you must turn off Ortho. 7. Type CEDIT, and press ENTER. Select P&ID entity. 8. Select the instrument you just placed. The Editing Instrument Component dialog box appears. 9. Type LCV in the Function box and 001 in the Tag box, and click OK. 10. Click Valve - Regular on the Valves panel. Alternatively, type ICONREGVALVE, and press ENTER. The Valves Regular dialog box appears. 11. Select Gate, and press OK. Pick position. 12. Place a gate valve approximately three grid spaces to the left of the control valve. 13. Right-click anywhere in the drawing, and select Repeat ICONREGVALVE.
28
Basic Tutorial
14. Place a second gate valve approximately three grid spaces to the right of the control valve, as shown in the example below.
For more detailed command reference information, see "Valves Panel" in the CADWorx P&ID User's Guide. The 6 attribute for the control valve is a little close to the 6 attribute of the gate valve on the right. You can use the grips of the block attribute to move them a little farther away from each other.
3. Click Major - Secondary and then press ENTER. Specify the start point,
29
Basic Tutorial
4. Draw the bypass process line for the control station. 5. Type CEDIT, and click OK. Select PID entity, 6. Select the bypass process line. The Editing Line Component dialog box appears. 7. Type the values as specified below: Size - 4" Spec - 150 Tag - 4"-150 8. Click Valves - Regular on the Valves panel. Alternatively, type ICONREGVALVE, and press ENTER. The software opens the Valves Regular dialog box. 9. Select Globe, and press OK. Pick position. 10. Place a globe valve in the bypass line, as shown in the example below.
11. Continue using the Valves - Regular command to first select and then place check and gate valves around the pumps as shown in the example below.
You can also click the CADWorxP&ID tab and then click Menu Symbols on the Setup panel to draw a customized control station block. This command allows you to do
30
Basic Tutorial
what the multiple commands in this lesson do. For more information, see Create new blocks and symbols (on page 62) in the Advanced Tutorial section. 12. Repeat steps 1 through 10 to draw three additional control stations: a. Draw a control station connected to the LC-010 instrument bubble on V-010 (horizontal vessel).
b. Draw a control station on the line coming off the top of vessel V-010.
31
Basic Tutorial
c. Draw a flow control station on the line that goes into the right side of T-001 (vertical vessel). Use the Flange command in the Valves panel to place a flange in the line for instrument bubble FT-001 and draw FT-001 out from it.
32
Basic Tutorial
The Valves Other dialog box appears. 6. Select Relief, and click OK. Pick position. 7. Place the valve at the top of the vertical line where the vertical and horizontal lines meet, as shown in the example below.
8. Place an instrument bubble on the relief valve, and tag the bubble RV-001. Place instrumentation (on page 23) 9. Continue using the Valve-Regular command to select and place a gate valve on each side of the relief valve. 10. Click Large on the Text panel. Alternatively, type LARGETEXT and then press ENTER. Text start point. 11. Click just above the end of the process line coming from RV-001, and type TO FLARE.
For more detailed command reference information, see "Valves Panel" in the CADWorx P&ID User's Guide.
33
Basic Tutorial
34
Basic Tutorial
5. Repeat steps 1 and 2 to place two arrows on the process lines that run towards the right edge of the drawing, as shown in the example below.
6. Click Large on the Text panel. Alternatively, type LARGEARROW, and then press ENTER. Pick insertion or point on polyline. 7. Click a point near the end of each process line in the drawing to place a flow arrow. The flow arrow defaults to the end of the lines, in the direction of the flow. See the finished drawing at the end of Tag the process lines (on page 35) if you are having trouble placing the arrows correctly. Each placement of a flow arrow terminates the LARGEARROW command. To recall the command and continue placement, right-click anywhere in the drawing, and select Repeat LARGEARROW. For more detailed command reference information, see "Links" in the CADWorx P&ID User's Guide.
35
Basic Tutorial
The software displays the tag data that you defined in Annotate the process lines (on page 20).
5. Repeat steps 1 through 4 to place tags on the remaining process lines as needed. The finished drawing should resemble the example shown below.
36
SECTION 2
Advanced Tutorial
The lessons in the Advanced Tutorial section guide you through using the tools and commands in CADWorx P&ID to create a project using an external database. After you complete the lessons in this section, your finished drawing should resemble the example below.
Although the drawing layout used for the advanced tutorial lessons is similar to the one used in the basic tutorial lessons, the two drawings are different. Also, the advanced lessons use a slightly modified workflow for defining and modifying property data than the one used in the basic lessons. Do not store drawings created using an external database in the same folder with drawings created without an external database. For more information about any of the commands referenced in the advanced lessons, see the CADWorx P&ID User's Guide.
37
38
Advanced Tutorial
The Setup New Project Directory dialog box appears.
4. Select Access in the Database Type list, and click Browse. The Access File to Create dialog box appears. 5. Define a path for the project and type a name for the Access database, and click Save. 6. In Setup New Project Directory, click OK. The software associates this information with the drawing/project. The Startup Options dialog box appears again. 7. Click With Database under New Drawing, and click OK. The New Drawing Name dialog box appears. 8. Name the new drawing 10111, and click OK. The new drawing that you create must reside in the same folder as the project you created in step 5.
39
Advanced Tutorial
The Borders dialog box appears.
4. Under Border type, select Predefined. A list of predefined borders displays under Predefined borders. The list of predefined borders is controlled by [Product Folder]\P&ID\Support\MVSetup.dfs. 5. Select 34x22 (ANSI-D) in the Predefined borders list, and click OK. 6. Click OK on the CADWorx P&ID Setup dialog box. The Edit Attributes dialog box appears. 7. Define the information required for the title block, and click OK. For more information about setting up drawing parameters, see "Setup" in the CADWorx P&ID User's Guide.
40
Advanced Tutorial
1. Click the View tab and then click Extents on the Navigate 2D panel so that the entire drawing is visible. 2. Click the CADWorxP&ID tab and then click Vessels on the Equip panel. Alternatively, type ICONVESSEL, and press ENTER. The Vessels dialog box appears. 3. Select Vert Vessel Ellip w/Skirt, and click OK. First corner point. 4. Click once in the drawing to define the lower left corner of the vessel. Second corner point. 5. Click once in the drawing to define a second point approximately four grids to the right and 12 grids up from the first point to define the upper right corner of the vessel. The software draws the vertical tank with the ellipses at the top and bottom of the vessel. Pick skirt base. 6. Click in the drawing to define a point for the base of the skirt. Pick position. 7. Click a point within the vessel to define the placement of the vessel tag. Pick position. 8. Click a point above the vessel at the top of the drawing, about one grid from the border, to define the placement of the vessel label. The Editing Vessel Component dialog box appears.
41
Advanced Tutorial
9. Define the property data as shown in the example below.
10. Click Additional Data. The Additional Data dialog box appears.
11. Type Depropanizer in the Corrosion Allowance box, and click OK. 12. Click OK on the Editing Vessel Component dialog box. The equipment tag on the face of the vertical tank and the main equipment tag at the top of the drawing are appended with the tag number. For more detailed command reference information, see "Vessels" in the CADWorx P&ID User's Guide.
42
Advanced Tutorial
Place a pump
In the next lesson, you will place two pumps. 1. Click the CADWorxP&ID tab and then click Pumps on the Equip panel. Alternatively, type ICONPUMP, and press ENTER. The Pumps dialog box appears. 2. Select Pump Centrifugal (Y axis), and click OK. Pick position. 3. Click a point on the drawing to the right of the bottom of the tank to place the pump. Pick orientation. 4. Define the orientation of the pump so that the suction and discharge are on the right side of the pump. Move the mouse from the left to the right to assign the correct orientation of the pump. When the pump is oriented correctly, click once in the drawing. Pick position. Click a point just below the pump to place the pump tag. Pick position. Click a point directly above the pump and one grid down from the border to define a position for the pump label. The Editing Mechanical Component dialog box appears. Type P-001 in the Tag box, and click Additional Data. Type Reflux Product Pump in the Service box, and click OK. Click OK in the Editing Mechanical Component dialog box to return to the drawing.
5. 6.
7. 8. 9.
43
CADWorx clears the tag value for all pumps and vessels that are copied to prevent duplicate tag values. Equipment that you draw in CADWorx is grouped together. To move an individual component within a group, you must use the AutoCAD STRETCH command. For more detailed command reference information, see "Pumps" in the CADWorx P&ID User's Guide.
44
Advanced Tutorial
1. Click the CADWorxP&ID tab and then click Vessels on the Equip panel. Alternatively, type ICONVESSEL, and press ENTER. The Vessels dialog box appears. 2. Select Horiz Vessel Ellip, and click OK. First corner point. 3. Click once in the drawing to define the lower left corner of the vessel. Second corner point. 4. Click once in the drawing to define a second point approximately four grids up and 10 grids to the right of the first point to define the upper right corner of the vessel. The software draws the vessel with the ellipses on either end. Pick position. 5. Click a point within the vessel to define the placement of the vessel tag. Pick position. 6. Click a point above the vessel at the top of the drawing, about one grid space down from the top border, to define the placement of the vessel label. The Editing Mechanical Component dialog box appears. 7. Type V-010 in the Tag box, and click Additional Data. 8. Type Overhead Accumulator in the Service box, and click OK. 9. Click OK in the Editing Mechanical Component dialog box to return to the drawing. The equipment tag on the face of the horizontal vessel and the main equipment tag at the top of the drawing are appended with the tag number. For more detailed command reference information, see Vessels in the CADWorx P&ID User's Guide.
45
Advanced Tutorial
Place an exchanger
In this lesson, you will place two exchangers: one to the left of the vertical tank, and the other above the horizontal tank. The resulting drawing will look similar to the example below.
1. Click the CADWorxP&ID tab and then click Exchangers on the Equip panel. Alternatively, type ICONEXHANGE, and press ENTER. The Exchangers dialog box appears. 2. Select Exchanger - Process Flow, and click OK. Pick position. 3. Click once in the drawing to the left of the vertical tank, just above the seam, to place the first exchanger. Second position. 4. Click a point at the upper left of the exchanger to place the additional tag. Pick position. 5. Click a point above the exchanger at the top of the drawing, about one grid space below the top border, to define the placement of the exchanger label. 6. Click Edit on the Modify panel. Alternatively, type CEDIT, and press ENTER. Select P&ID entity. 7. Select the exchanger. The Editing Mechanical Component dialog box appears. This may happen automatically at this point. If the Editing Mechanical Component box opens automatically skip the steps as needed. 8. Type EX-001 in the Tag box. 9. Type Overhead Condenser in the Service box, and click OK. 10. Click OK in the Editing Mechanical Component dialog box to return to the drawing.
46
Advanced Tutorial
11. Repeat steps1 through 10 to place an identical exchanger above the horizontal vessel, and tag it as EX-002. For more information, see "Exchangers" in the CADWorx P&ID User's Guide.
47
Advanced Tutorial
4. When you reach the top of exchanger EX-002, right-click and select Enter to end the process line. Your drawing should look similar to the example below.
5. Continue to use Major Primary to draw the remaining process lines as outlined below. a. Draw a process line from the bottom of exchanger EX-002 to the top of vessel V-010. b. Draw a process line from the bottom of vessel V-010 to the suction side of pump P-002. The drawing should look similar to the example below.
c. Draw the discharge line from pump P-002 to vessel T-001. d. Draw the suction line to pump P-001, and draw the discharge line for P-001. The line should lead up and attach to the horizontal vessel. The drawing should look similar to the example below.
48
Advanced Tutorial
e. Draw a process line coming out of the bottom of the ellipse on vessel T-001 to exchanger EX-001 and another process line from exchanger EX-001 to vessel T-001, as shown in the example below.
f.
Draw a process line from the bottom ellipse of vessel T-001 to the right side of the drawing.
49
Advanced Tutorial
g. Draw a process line from the left side of the drawing to the left side of vessel T-001, similar to the example below.
h. Draw a process line from the top of the discharge line from pump P-001, to the right side of the drawing, and another process line from the top of vessel V-010 to flare. The finished drawing should now look similar to the example below.
For more information about process lines, see "Process Lines Panel" in the CADWorx P&ID User's Guide.
50
Advanced Tutorial
The value displayed in parentheses in the dialog box is the database ID and is unique for each component in the project. 3. Click Additional Data. The Additional Data dialog box appears. 4. Type 1001 in the Count box, and click OK. The software appends the tag number with the process line tag count of 1001. 5. Click OK to return to the drawing.
51
Advanced Tutorial
6. Use the Edit command to update the remaining process lines as noted below. Process line from the bottom of exchanger EX-002 to the top of vessel V-010. Size - 10 Count - 1002 Process line at the top right of vessel V-010. Size - 2 Count - 4001 Process line from the bottom of vessel V-010 to pump P-002. Size - 10 Count - 1003 Process line from pump P-002 to vessel T-001. Size - 8 Count - 1004 Process line from the 8 discharge line of pump P-002 to the suction side of pump P-001. Size - 10 Count - 1005 Process line on the discharge side of pump P-001. Size - 8 Count - 1006 Horizontal process line to the right of the discharge line of pump P-001. Size - 4 Count - 1007 Horizontal process line going to the vessel T-001 from the left side of the drawing. Size - 6 Count - 1000 Process line from vessel T-001 to exchanger EX-001 to the left of the vertical line coming from the bottom ellipse of T-001. Size - 16 Count - 1008 Process line from the top of exchanger EX-001 to vessel T-001. Size - 20 Count - 1009 Process line to the right of the vertical line coming out of the bottom of exchanger T-001. Size - 6 Count - 1010
52
Advanced Tutorial
Place nozzles
1. Click the CADWorxP&ID tab and then click Nozzles on the Equip panel. Alternatively, type ICONNOZZLE, and press ENTER. The Nozzles dialog box appears. 2. Select Nozzle - single line /w blind, and click OK. Pick position. 3. Click the point where the line coming out of the top of vessel T-001 meets the ellipse. Pick rotation. 4. Drag the mouse up so that the nozzle is displayed correctly. 5. Repeat steps 1 through 4 to place a Nozzle - single line /w blind for each of the remaining connections on vessel T-001, as shown in the example below.
6. Repeat Steps 1 through 4 to place a Nozzle No Flange on vessel V-010 in the three locations shown in the example below.
For more information, see "Nozzles" in the CADWorx P&ID User's Guide.
53
Advanced Tutorial
Place instrumentation
Follow the steps below to place instrumentation and then add process lines and tag data. 1. Click the View tab and then click Window window around the pumps. The software zooms in around the pumps. on the Navigate 2D panel, and drag a
2. Click the CADWorxP&ID tab and then click Discrete - Local on the Instruments panel. Alternatively, type DILOCAL and then press ENTER. Specify start point. 3. Click the discharge line on pump P-001, about one grid space up from the pump. Specify next point or [Undo]. 4. Click a point about 1-1/2 grid spaces to the left of the discharge line to define the insertion of the instrument bubble, and press ENTER. The Lines dialog box, which contains different types of instrument lines, appears. 5. Select Instrument, and click OK. The Editing Instrument Component dialog box appears. 6. Type values for Function and Tag as shown in the example below, and click OK.
Loop Number on the Instruments panel controls automatic loop number attributes. For more information, see "Loop Numbering" in the CADWorx P&ID User's Guide. 7. Repeat steps 2 through 8 to place an instrument bubble on the discharge line of pump P-002, and tag the bubble PI-002.
54
Advanced Tutorial
8. Click the View tab and then click Window on the Navigate 2D panel, and drag a window around vessel V-010. The software zooms in around the vessel. 9. Repeat steps 2 through 8 to place an instrument bubble on the top of vessel V-010, and tag it PC-010.
10. Place another instrument bubble attached to the PC-010 instrument line, and tag it PI-010. You must pick three different points to place the bubble. The first point is the instrument line on PC-010, the second point is directly across, about 1-1/2 grid spaces to the left of the first point, and the third point is directly up from second point, even with the PC-010 instrument bubble. The drawing should resemble the example below.
11. Use the Window command, and drag a window around the right end of vessel V-010, leaving enough room for two instrument bubbles. The software zooms in around the right end of the vessel.
55
Advanced Tutorial
12. Repeat steps 2 through 8 to draw an instrument bubble from the center of the ellipse, and tag the bubble LT-010.
13. Click the instrument line that runs from the horizontal vessel to the LT-010 instrument bubble, and press DELETE. 14. Click the CADWorxP&ID tab and then click Instrument on the Instrument Lines panel. Alternatively, type INSTRUMENT, and press ENTER. Specify start point. 15. Click a point at the top of the LT-010 instrument bubble and draw a line up and over into the vessel ellipse. 16. Press ENTER to exit the command. 17. Repeat steps 14 to 15 and draw a second instrument line from the bottom of the instrument bubble to the vessel ellipse and then press ENTER.
18. Click the Home tab and then click TRIM on the Modify panel. Select Objects. 19. Select the two lines coming off the ellipse of the vessel and press ENTER. Select object to trim or shift-select to extend or.
56
Advanced Tutorial
20. Trim the instrument lines back to the ellipse, as shown in the example below by click on the line inside the curve of the horizontal vessel.
21. Click the CADWorxP&ID tab and then click Discrete - Local Specify start point. 22. Select the center of the LT-010 bubble.
When you select the center of an existing bubble, the software uses the same tag (010) for the new bubble. Specify next point or [Undo]. 23. Drag the bubble to the right until it is flush against the right edge of the first instrument bubble, click once and press ENTER. The Editing Instrument Component dialog box appears. 24. Type LC in the Function box, if necessary, type 010 in the Tag box and then click OK.
25. Repeat the steps in this lesson as needed to complete the tasks below. a. Place two instrument bubbles on T-001. b. Tag the instrument bubbles LT-001 and LC-001. c. Place nozzles on the instrument arms. Place nozzles (on page 53)
57
Advanced Tutorial
The finished instrument loop should resemble the example shown below.
For more detailed command reference information, see "Instruments Panel" in the CADWorx P&ID User's Guide.
2. Click the CADWorxP&ID tab and then click Valves - Control Alternatively, type ICONCONVALVE, and press ENTER. The Valves Control dialog box appears. 3. Select Control Gate Diaphragm, and click OK. Pick position.
58
Advanced Tutorial
4. Place the control valve about two grid spaces from the right side of the horizontal line, similar to the example shown below.
5. Click Discrete - Local on the Instruments panel. Alternatively, type DILOCAL and then press ENTER. Specify start point. 6. Place an instrument bubble for the control valve, as shown in the example below.
7. 8. 9. 10. 11.
To place the instrument line at an angle, you must turn off Ortho. The Editing Instrument Component dialog box appears. Type LCV in the Function box and 001 in the Tag box, and click OK. Click Valves - Regular on the Valves panel. The Valves Regular dialog box appears. Select Gate, and press OK. Pick position. Place a gate valve approximately three grid spaces to the left of the gate valve. Right-click anywhere in the drawing, and select Repeat ICONREGVALVE.
59
Advanced Tutorial
12. Place a second ball valve approximately three grid spaces to the right of the gate valve, as shown in the example below.
The 6 attribute for the control valve is a little close to the 6 attribute of the gate valve on the right. You can use the grips of the block attribute to move them a little farther away from each other. 13. Click Pneumatic on the Instrument Lines panel. Alternatively, type PNEUMATICBIN and then press ENTER. Specify start point, 14. Follow the command prompts to draw a pneumatic line from the LC-001 instrument bubble on the horizontal tank to the top of the control valve actuator, as shown in the example below.
15. Click Major - Secondary on the Process Lines panel. Alternatively, type MSECOND and then press ENTER. Specify the start point, 16. Draw the bypass process line for the control station. The Editing Line Component dialog box appears. 17. Type the values as specified below: Size - 4" Count - 1010B
60
Advanced Tutorial
18. Click Valves - Regular on the Valves panel. The Valves Regular dialog box appears. 19. Select Globe, and press OK. Pick position. 20. Place a globe valve in the bypass line, as shown in the example below.
21. Click the View tab and then click Extents drawing is visible.
22. Click the Window on the Navigate 2D panel, and drag a window around the two pumps in the bottom right corner of the drawing.
23. Click the CADWorxP&ID tab and then click Valves - Regular place check and gate valves around the pumps.
Each placement of a valve terminates the command. To recall the command and continue placement, right-click anywhere in the drawing, and select Repeat ICONREGVALVE.
61
Advanced Tutorial
24. After you have placed the valves, use the EDIT command to assign the size and specification properties as shown in the example below.
For more detailed command reference information, see Valves Panel in the CADWorx P&ID User's Guide.
The Write Block dialog box appears. 3. Navigate to the [Product Folder]\P&ID\Support folder, and type CONTROL_ALT in the File name box. 4. Click Save. 5. Click Select objects Select objects. .
62
Advanced Tutorial
6. In the drawing, click the two gate valves, the control valve, and the instrument bubble and leader line, and press ENTER. The Write Block dialog box appears. 7. Click Pick point . Specify insertion base point. 8. Click the center of the control valve. The Write Block dialog box appears. 9. Under Objects, click Retain if not defaulted already and then click OK. 10. Click the CADWorxP&ID tab and then click Menu Symbols on the Setup panel. Alternatively, type MENUSYMBOL, and press ENTER. The Menu Maintenance dialog box appears. 11. Select Valves Other in the Section list, and click Add Item. The Adding Item dialog box appears. 12. Define the options on the Break tab as listed below. Click Browse, navigate to the [Product Folder]\P&ID\Support folder, and double-click the CONTROL_ALT file. Use the AutoCAD DIST command to calculate the distance from the left side of the left gate valve to the right side of the right, and type that value in the Side 1 size box. The example below uses a calculated value of 1.75. Click 1-way, and type 1.00000 in the Scale box. In the Table Name list, select VALVE. In the Layer Name list, select Equip. In the Description box, type Control Loop.
13. Click OK to return to the Menu Maintenance dialog box. The Item Description list on the Menu Maintenance dialog box now includes the control
63
Advanced Tutorial
loop. The Preview window displays a graphical representation of the control loop, which is identical to the one in your drawing on which this control loop item is based.
14. Click OK to return to your drawing. 15. Click the View tab and then click Window on the Navigate 2D panel, and drag a window around the LT/LC-010 instrument bubbles and the horizontal line below it. The software zooms in around the instrument bubbles. 16. Click the CADWorxP&ID tab and then click Valve Other on the Valves panel. Alternatively, type ICONOTHERVALVE, and press ENTER. The Valves Other dialog box appears. 17. Select Control Loop, and click OK. Pick position. 18. Click a point in the horizontal line to insert the control loop similar to the example below. The Editing Valve Components box displays.
64
Advanced Tutorial
19. Check the data, and click OK.
20. Click the Home tab and then click Explode on the Modify panel. Alternatively, type EXPLODE, and press ENTER. Select objects 21. Click the control loop in the drawing, and press ENTER. The software automatically inserts the appropriate rows into the database. To ensure that there is only one row in the database for the multiple pLine segments of the enter process line, use the Combine Lines command on the Process Lines panel, select the line to the left of the left-hand gate valve and then click all the segments to the right of the left-hand gate valve. Type CEDIT, and press ENTER. Alternatively double-click the entity. Select P&ID entity. Click one of the valves in the control loop. The Editing Valve Component dialog box appears. Type 4" in the Size box, and click OK. Repeat steps 22 through 24 to change the size of the other two valves in the control loop, adding Tags as needed. Click Pneumatic on the Instrument Lines panel. Alternatively, type PNEUMATICBIN, and press ENTER. Specify start point.
65
Advanced Tutorial
27. Follow the command prompts, and draw a pneumatic line from the LC-010 instrument bubble on the horizontal tank to the top of the control valve actuator, as shown in the example below. 28. Draw a secondary line with a globe valve below the control station, as shown in the example below.
29. Draw a control station on the line coming off the top of vessel V-010 so that the drawing looks similar to the example below. You can use the Control Loop block or build the control station from scratch.
66
Advanced Tutorial
30. Draw the flow control station on the line that goes into the right side of vessel T-001 so that it looks similar to the example below.
67
Advanced Tutorial
5. Click Edit. The Editing Embedded Instrument Component dialog box appears. 6. Type 001 in the Tag box, and click OK. 7. In Embedded Instruments, click Close and then click OK.
5. Click Valve Other on the Valves panel. Alternatively, type ICONOTHERVALVE, and press ENTER. The Valves Other dialog box appears. 6. Select Relief, and click OK. Pick position. 7. Place the valve at the top of the vertical line where the vertical and horizontal lines meet, as shown in the example below. The Editing Valve Component dialog box appears.
68
Advanced Tutorial
8. Click OK.
9. Place an instrument bubble on the relief valve, and tag the bubble RV-001. Place instrumentation (on page 54) 10. Click Valve- Regular on the Valves panel. Alternatively, type ICONREGVALVE, and press ENTER and place a gate valve on either side of the relief valve. 11. Click Large on the Text panel. Alternatively, type LARGETEXT and then press ENTER. Text start point. 12. Click above the end of the process line coming from PCV-010, and type TO FLARE. Your drawing should resemble the example shown below.
For more detailed command reference information, see "Valves Panel" in the CADWorx P&ID User's Guide.
69
Advanced Tutorial
70
Advanced Tutorial
All of the commands available to you through Windows Explorer are now available within the Documentation function.
Add links
You will place three on/off arrows: one on the process line that runs from the left edge of the drawing, and the other two on the process lines that run towards the right edge of the drawing. 1. Click the CADWorxP&ID tab and then click Links on the Equip panel. Alternatively, type ICONLINK and then press ENTER. The Links dialog box appears. 2. Select Link From (type 1), and click OK. Pick position. 3. Place the arrow on the line that runs from the left edge of the drawing to the left side of T-001. Pick rotation.
71
Advanced Tutorial
4. Drag the mouse to the right (in the direction of the point of the arrow) so that the head of the arrow points towards the horizontal tank.
5. Repeat steps 1 and 2 to place an arrow on each process line that runs towards the right edge of the drawing, as shown in the example below.
6. Click Large on the Text panel. Alternatively, type LARGEARROW, and press ENTER. Pick insertion or point on polyline. 7. Click a point near the end of each process line in the drawing to place a flow arrow. The flow arrow defaults to the end of the line, in the direction of the flow. Placement of a flow arrow terminates the LARGEARROW command. To recall the command and continue placement, right-click anywhere in the drawing, and select Repeat LARGEARROW. 8. Click Tag Line press ENTER. on the Process Lines panel. Alternatively, type TAGNUMBER and then
72
Advanced Tutorial
Select a line entity to tag. 9. Click the process line you want to tag. Pick position. 10. Click a point to define the location of the tag Pick rotation. 11. Drag the mouse to define the orientation of the tag. 12. Repeat steps 8 through 11 to place tags on the remaining process lines, as needed. The finished drawing should resemble the example shown below.
For more detailed command reference information, see "Links" in the CADWorx P&ID User's Guide.
73
Advanced Tutorial
74
Advanced Tutorial
8. Select the line. The Editing Line Component dialog box appears. 9. Type 6" in the Size box, 150-1010 in the Spec box, and click OK. 10. Click Links on the Equip panel. Alternatively, type ICONLINK and then press ENTER. The Links dialog box appears. 11. Select Link From (type 1), and click OK. Pick position. 12. Place the link on the line just drawn, similar to the example below.
13. Type CEDIT, and press ENTER. Select P&ID entity. 14. Click the link you placed previously in the drawing. The Editing Drawing Links dialog box appears. 15. Click View Line Numbers to see the lines drawn in the project. The View Line Numbers dialog box appears. 16. On the By Line Number tab, select 6-150-1010 in the Select Line Number list, and select 10100.DWG in the Drawings this line number appears: box. 17. Click on Close to return to the Editing Line Component dialog box. 18. Click Make Link. The Make Link dialog box appears. 19. On the Select Line Number box, select 6"-150-1010 in the Select Line Number list, 10100.DWG in the Drawings this line numbers appears list, and click Select.
75
Advanced Tutorial
The link should resemble the example below. The arrow automatically fills in the From information after the link is established.
To remove the link, use the EDIT command to open the Editing Line Component dialog box, and click Remove Link. Because another link cannot be made to an item after one link is established, Make Link is not available on the dialog box. If an error is made when a link is established, click Remove Link and then click Make Link to create another link.
For more information, see "Database Structure" in the CADWorx P&ID User's Guide.
76
Advanced Tutorial
For more information, see "Database Structure" in the CADWorx P&ID User's Guide.
77
Advanced Tutorial
DWG_NAME_ moves to the Selected Fields list.
6. Move TAG_, FUNCTION_, LOOP_, AREA_, SERVICE_, and DESC_ to the Selected Fields list as shown in the example below.
78
Advanced Tutorial
7. Click Next. 8. Accept the default selections that appear on the next page of the wizard, and click Finish. The software displays the query results.
79
Advanced Tutorial
5. Move TAG_, FUNCTION_, LOOP_, AREA_, SERVICE_, and DESC_ to the Selected Fields list as shown in the example below.
6. Click Next. 7. Select the Tabular layout, and click Next. 8. Accept the default selections that appear on the next page of the wizard, and click Finish. The form, similar to the example below, displays.
80
Advanced Tutorial
6. Click Next. 7. Accept the default grouping levels, and click Next.
81
Advanced Tutorial
8. In the Column 1 list, select DWG_NAME, and click Next.
9. Select the Tabular layout and the Portrait orientation unless already selected, and click Next. 10. Accept the defaults, and click Finish.
82
Advanced Tutorial
The report, similar to the example below, displays.
83
Advanced Tutorial
2. In the Navigation Pane (on the left under All Access Objects), open the form that you created in Create a form in Microsoft Access (on page 79).
3. Locate the F-001 loop components, and add an A to the end of each of the tag numbers so that they are 001A. 4. Click Save . 5. Navigate to the [Product Folder]\Tutorial\SampleProject folder, and double-click the 10100 drawing file. 6. Click Yes in the Synchronize dialog box. The loop data has been changed in the drawing. The new loop number appears in red, the system layer, informing you that a change has been made to the database. Click the CADWorxP&ID tab and then click Change Att Layer on the Text panel to place the instrument tags back on the proper layer . Alternatively, type CHANGEATTLAYER on the command line and then press ENTER.
84
Index
A
Add a non-database drawing to the project 76 Add documentation to equipment 70 Add line count to the line numbering system 51 Add links 71 Advanced Tutorial 37 Annotate the process lines 20
S
Setup drawing parameters 8, 39 Start a new drawing 8, 38
T
Tag the process lines 35
B
Basic Tutorial 7
C
Change data within Microsoft Access 83 Create a form in Microsoft Access 79 Create a query in Microsoft Access 77 Create a report in Microsoft Access 81 Create embedded instruments 67 Create new blocks and symbols 62 Create relief valves 32, 68
D
Default project, forms, and queries 77 Define equipment tags 15 Draw connecting lines 29 Draw process lines 17, 47
E
Enter tag information for process lines 51
P
Place a nozzle 22 Place a pump 11, 43 Place a vertical vessel 10, 41 Place an exchanger 14, 46 Place instrumentation 23, 54 Place nozzles 53 Place on/off arrows 34, 74 Place the horizontal vessel 13, 45 Place valves and control valves 27, 58 Preface for CADWorx P&ID Tutorials 5
85