Using The PLC Database File Editor (3:33 min)

Prerequisites

Completion of Using the PLC Database File Editor Lesson

Objective:  In this project, you add a new drawing to your project and insert a ladder. After creating a PLC module with the PLC Database File Editor, you insert the new module in the ladder.

Process:  Process to Create a Drawing and Insert a Ladder


Instructions

1:  If the Project Manager is not displayed, on the Project tab, Project Tools panel, click Manager.

2:  If PLC_Modules_NFPA is the active project, skip to step 6. If it is open but not active, in the Project Manager, do the following:
â–  Right-click PLC_Modules_NFPA.
â–  Click Activate.
â–  Skip to step 6.

3:  In the Project Manager, click Open Project.

4:  Browse to where you installed the exercise files. Select PLC_Modules_NFPA.wdp. Click Open.

5:  From the Projects list, double-click PLC_Modules_NFPA to expand the drawing list.

6:  Click New Drawing.

7:  In the Create New Drawing dialog box, do the following:
â–  For Name, type PLC_Module_NFPA_11
â–  For Template, click Browse and select ACAD_ELECTRICAL.dwt.
â–  Click Open.
■ Click OK. 

8:  On the Schematic tab, Insert Wires/Wire Numbers panel, Insert Ladder flyout, click Insert Ladder.


9:  In the Insert Ladder dialog box, do the following:
â–  For Width, type 9.0
â–  For Spacing, type 1.0
â–  For Rungs, type 20
â–  Click OK.

10:  In the drawing, for the start position, type 3.0,20.5. Press ENTER.

11:  Define a New Module:
On the Schematic tab, Other Tools expansion panel, PLC Database File Editor flyout, click PLC Database File Editor.

12:  In the PLC Database File Editor dialog box, click New Module.

13:  In the New Module dialog box, do the following:
â–  For Manufacturer, type ACME
â–  For Series, type DI001
â–  For Series Type, type DISCRETE INPUT
â–  For Code, type 123-456-7A
â–  For Description, type 8-POINT INPUT
â–  For Module Type, type DI

14:  Continuing in the New Module dialog box, do the following:
â–  From the Base Addressing list, select Prompt.
â–  For Rating, type 120VAC
â–  For Terminals, type 11
â–  For Addressable Points, type 8
â–  Click Module Prompts.

15:  In the Prompts at Module Insertion Time dialog box, do the following:
â–  From the Prompt Number list, select %%1.
â–  For New Prompt Text, type RACK NUMBER
â–  Click Change.
â–  From the Prompt Number list, select %%2.
â–  For New Prompt Text, type SLOT NUMBER
â–  Click Change.
â–  Click OK.

16:  In the New Module dialog box, click OK.

17:  Specify a Terminal List:

In the PLC Database File Editor dialog box, on the terminal grid, in the Terminal Type column, right-click the Row 1 cell. Click Edit Terminal.

18:  In the Select Terminal Information dialog box, do the following:
â–  From the Category list, select Top Input.
â–  Under Types for Category Top Input, select Module Info Input I/O Point Wire Left (first column).
â–  Click OK.

19:  In the PLC Database File Editor dialog box, on the terminal grid, do the following:
â–  Under Show, select When Excluding Unused from the list.
â–  Under Optional Re-prompt, select No from the list.
â–  Clear the Break After check box.

20:  In the Terminal Type column, right-click the Row 2 cell. Click Edit Terminal.

21:  In the Select Terminal Information dialog box, do the following:
â–  From the Category list, select Top Terminal.
â–  Under Types for Category Top Input, select Module Info Terminal Point Wire Left (first row, first column).
â–  Click OK.


22:  In the PLC Database File Editor dialog box, on the terminal grid, do the following:
â–  Under Show, select When Including Unused from the list.
â–  Under Optional Re-prompt, select No from the list.
â–  Clear the Break After check box.


23:  In the Terminal Type column, right-click the Row 3 cell. Click Edit Terminal.

24:  In the Select Terminal Information dialog box, do the following:
â–  From the Category list, select Input.
â–  Under Types for Category Input, select Input I/O Point Wire Left (first row, first column).
â–  Click OK.

25:  In the PLC Database File Editor dialog box, on the terminal grid, do the following:
â–  Under Show, select When Including Unused from the list.
â–  Under Optional Re-prompt, select No from the list.
â–  Clear the Break After check box.

26:  In the Terminal Type column, click the Row 4 cell. Drag to select all cells up to Row 10.

27:  Right-click in any highlighted cell. Click Edit Terminal.

28:  In the Select Terminal Information dialog box, do the following:
â–  From the Category list, select Input.
â–  Under Types for Category Input, select Input I/O Point Wire Left (first row, first column).
â–  Click OK.

29:  In the PLC Database File Editor dialog box, on the terminal grid, do the following:
â–  Under Show, select Always from the list.
â–  Under Optional Re-prompt, select No from the list.
â–  Clear the Break After check box.

30:  In the Terminal Type column, right-click the Row 11 cell. Click Edit Terminal.

31:  In the Select Terminal Information dialog box, do the following:
â–  From the Category list, select Terminal.
â–  Under Types for Category Top Input, select Terminal Point Wire Right (first row, first column).
â–  Click OK.

32:  In the PLC Database File Editor dialog box, on the terminal grid, do the following:
â–  Under Show, select Always from the list.
â–  Under Optional Re-prompt, select No from the list.
â–  Clear the Break After check box.

33:  Click Save Module. Click Done.

34:  Insert a New PLC Module:
On the Schematic tab, Insert Components panel, Insert PLC (Parametric) flyout, click Insert PLC (Parametric).

35:  In the PLC Parametric Selection dialog box, select ACME 123-456-7A from the list. Click OK.

36:  In the drawing, on the right side of rung 742, select an insertion point.

37:  In the Module Layout dialog box, click Insert All. Click OK.

38:  In the I/O Point dialog box, do the following:
â–  For Rack Number, type 1
â–  For Slot Number, type 2
â–  Click OK.

39:  In the I/O Address dialog box, for Beginning Address, select I:12/00. Click OK.

 The module you defined is inserted in the drawing.