Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 6 of 20

Do-more T1H Series PLC Hardware User Manual: Chapter 1. Getting Started, pages 37 to 44

Pages 37 to 44 of 168, from Do-more T1H Series PLC Hardware User Manual

The original document is the PDF (40 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the AutomationDirect T1K-08B, Konnect-It T1K-08B and Koyo T1K-08B

Page 37

Chapter 1: Getting Started Since a Timer is a structure it has predefined elements associated with it. Elements such as .Acc (accumulated time), .Done (the completion bit) and .Timing (the timer is enabled and timing). Therefore, if “T1.” is entered into any contact name the Auto-Complete feature of Do-more Designer will display all applicable bit (boolean) selections available for that structure. Selecting the .Done option, as seen below, will assign this element to the contact and the contact name will be T1.Done.

This feature works for all structures including: timers, counters, PID loops and strings. Many system data types such as, $Main and $FirstScan, as well as user-created devices like ECOM, CTRIO, or SERIO modules can also use this feature. See the Do-more Designer Help file for more information on structures.

Now place the box cursor in the leftmost column of Rung #1. Type in a meaningful nickname, such as “T1_Start”, and press Enter or select the Normally Open Contact (F2) from the Ladder Palette Bar, enter “T1_Start” for the name and click the checkmark in the upper left corner. Either method will open the Create Nickname dialog seen here. Select the third option to assign the nickname to a specified element, type the desired memory bit for this contact (C1) and select OK.

Rung #1 should now appear as follows:

Do-more T1H Series PLC Hardware User Manual, 1st Edition, Rev. A - T1H-DM-M

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

1–25

Page 38

Chapter 1: Getting Started

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D 1–26

With the cursor in the position to the right of contact T1_Start, you are going to begin drawing a branch circuit. Under the Edit drop down menu, select Wire, then select Down. Notice the shortcuts that are available for wire drawing. The wire that should now appear in your ladder could have also been drawn using the shortcut Ctrl+Down Arrow. NOTE: There are also Delete Wire options in the Edit drop down menu that are used to erase any wires not needed.

Now place the cursor in the space to the left of the new line and select another normally open contact.

Type in the nickname “T1_Manual” and assign bit C2. Select OK to accept and Rung #1 should now resemble the rung seen on the following page.

Do-more T1H Series PLC Hardware User Manual, 1st Edition, Rev. A - T1H-DM-M

Page 39

Chapter 1: Getting Started

Rung #2 Place a normally open contact in the first position of Rung #2. This contact will be tied to the Done bit of timer T1. Therefore, the name for this contact should be entered as “T1. Done”. There should be no Create Nickname dialog as seen with the earlier normally open contacts. Lastly, you will need to add an Out coil to the end of Rung #2. Place the cursor at the end of the rung and either select Out from the Ladder Palette Bar or just type “OUT” and select the Out instruction from the drop down menu. Next, choose which bit will be tied to this coil. Tie this coil to the physical output Y1 by typing “Y1” and click the check mark. The ladder program should now look like the following. When either the T1_Start or T1_Manual contact is energized, the timer will begin timing. When it times out, contact T1_Done will energize and the output coil Y1 will turn on. Note that an END instruction is not required.

Do-more T1H Series PLC Hardware User Manual, 1st Edition, Rev. A - T1H-DM-M

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

1–27

Page 40

Chapter 1: Getting Started

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D 1–28

The yellow bar in the margin signifies logic that has not been accepted. So once you have verified your logic, click the Accept button in the Project Toolbar or the Ladder Palette Bar to accept the changes.

You should now see blue and green bars, shown below, signifying that the logic has not been downloaded to the CPU or saved.

Now exit the Edit mode by clicking the Edit Mode button once again or by pressing ESC on the keyboard.

Do-more T1H Series PLC Hardware User Manual, 1st Edition, Rev. A - T1H-DM-M

Page 41

Chapter 1: Getting Started

Step 8: Save a Project Save the project by selecting (a) Save Project (Ctrl+S) from the File drop down menu. Or save the file under a different name or in a different location by selecting the (b) Save Project As... option.

Step 9: Write Project to the Do-more T1H Series PLC Now that you have created the example ladder logic program, you can write the program to the PLC. To do so, click the Write PLC button in the Project Toolbar.

If the Write PLC button is not active, then you must first connect to the PLC to activate the online portion of the Project Toolbar (see the “Establish Communication” section of this chapter). If you have altered the System Configuration, which includes the hardware configuration, in any way, then the PLC must be taken out of Run mode in order to process the download. Do-more T1H Series PLC Hardware User Manual, 1st Edition, Rev. A - T1H-DM-M

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

1–29

Page 42

Chapter 1: Getting Started The message seen here will appear asking you to verify if this is a good time to do so. Since this is the setup phase of this system, select Switch to Program Mode and continue with the download. If this system was previously commissioned and in use, then you would need to verify that the process it is controlling can be interrupted at this time before continuing. Download the project and once the download is finished, assuming there are no errors, the Do-more T1H Series PLC should return to Run mode. If at any time you need to change the PLC mode, select the Mode icon in the Project Toolbar, click the Mode Status indication in the Status Bar or select PLC > PLC Modes.... The PLC Modes window shown here will open displaying the current mode the PLC is in with options to change it to either Run or Program mode. Click OK to accept the change or Cancel to exit.

1 2 3 4 5 6 7 8 9 Step 10: Testing Project Using Data View 10 With the project successfully downloaded into the Do-more T1H Series PLC, you can now test the function of the ladder program using the Data View tool. To start, you need to open a new Data window in the software. To do so, click the Data icon 11 in the Project Toolbar, select Debug > Data View > New or press Ctrl+Shift+F3. 12 The Data View window seen here will open. This window will open in the project browser section of the 13 programming window but it can be relocated anywhere on the screen by clicking the title bar and dragging it to a new location. 14 Now enter the elements that you wish to monitor. On line one type “C1” under the Element column and press A Enter. You will see the C1 change to the variable name associated with it or T1_Start. On line two type the B element “C2” and on line three type “Y1”. C With the ladder elements entered into the Data View window, you now need to activate their status. To do so, click the All Status icon on the Project Toolbar or select Debug > All Status D On. The All Status On option will not only activate the status of the Data View window but also the status of the ladder program as seen on the following page.

1–30

Do-more T1H Series PLC Hardware User Manual, 1st Edition, Rev. A - T1H-DM-M

Page 43

Chapter 1: Getting Started

1 2 3 4 5 6 7 The next step is to enable edits within the Data View window. To do so, click the yellow box with the “E” found in the top left corner of the Data View window, as seen above. The Edits 8 column is now added to the Data View window. The Edits column allows you to make changes to the current values of the elements listed. T1_Start’s current value is OFF. Click the ON button under the Edits column and the 9 Write Current Edit and the Writes All Edits buttons will appear at the top of the window. These buttons will write individual or all edits made in the Data View window to the PLC. 10 11 12 13 14 A B C Click the Write Current Edit to PLC button and confirm it. This will write the new value D to T1_Start. Once T1_Start changes to an ON state, the timer (T1) will begin to time and quickly reach the preset. As soon as the preset is reached, the done bit, T1.Done, will turn ON causing output Y1 to also turn ON as seen on the following page. Now write an OFF to T1_Start and watch as the timer and Y1 reset. Do-more T1H Series PLC Hardware User Manual, 1st Edition, Rev. A - T1H-DM-M

1–31

Page 44

Chapter 1: Getting Started

1 2 3 4 5 6 7 Congratulations, you have now programmed, downloaded and tested a ladder logic program 8 for the Do-more PLC. Feel free to experiment with a program of your own and don’t forget that the software Help file is an essential tool to use when programming your controller. 9 Accessing the Help File 10 The software Help file, seen below, is available as a quick reference or detailed guide to the many features and capabilities of the Do-more PLC. To access the 11 Help File select the Help File icon from the Project Toolbar, choose Help from the Help menu drop down or use the shortcut F1. 12 13 14 A B C D 1–32

Do-more T1H Series PLC Hardware User Manual, 1st Edition, Rev. A - T1H-DM-M