Control Operate the PLC - part 5 | Controller Circuit

Tuesday, May 22, 2012

Control Operate the PLC - part 5

4.2.3.8. Programming PLC with Computers
To program the PLC with a computer requires a supporting software. The supporting software for Omron PLC is Syswin
(we will learn is SYSWIN V3.4.), LSS, CX Program and others. For siemen PLC ; Micro Win S7, S5, and others. For Mitsubishi PLC; Melsoft series Dev 7, Médoc, and others. For LG PLC; KGL_Win, GM_Win, and others. Excess programming PLC with a computer is very much, among others; can be done editing programs using ladder diagrams or with mnemonic codes. Can also to upload programs, download programs, monitoring programs, detect errors in the PLC and many other functions. Communication tools used for this purpose is a RS232C serial port.

Syswin Software V3.4 operating instructions.
a. Creating new programs
• Run Syswin 3.4 so that will be raised ladder editing window as shown in Figure 7.1. If observed, sections on the left contains the components or conditions ladder diagrams, summary or summary shown in Figure 7.2. While the top is used for file management (saving, reading, etc.), the management ladder and means of communication with the PLC.


Figure 4.71. Program window Syswin 3.4


Figure 4.72. Brief summary of the key (shortcut)


click File - New Project - Ok (Enter)

Figure 4.73. New Project


• In the New Project Setup window, select ladder - Select the PLC and CPU type - Ok(enter)
Figure 4.74. Select the PLC and CPU type


• Click the symbol of NO (normaly open) contact - put in front of the cursor - click - give address according to PLC inputs eg 0.00 - OK (enter)

Figure 4.75. Put the input contact symbol


• Click the Output symbols - give the corresponding address for output eg 3.00 - Ok (Enter)

Figure 4.76. Put the output symbol


• To end the program, highlight the latest network - click Block - click on the Insert network - click bellows current network - Ok (enter), and then, click FUN - click select - select All instruction in the group - Select END (01) on the function - Ok - Ok

Figure 4.77. Add network

Figure 4.78. Put the END function


b. Giving Labels And Comments On Network
Label and comment on each network aims to give the title of Project and comments relating to the operations and methode at the network, the way is as follows:
• Highlight and then double-click on Main 1, then label the block1 (example: ON / OFF), write comments relating to the control circuit functions on the network and then click Close.

Figure 4.79. Put label and comment on the network


c. Saving Project at the Drive C
Aim is to store program data that has been made at any time if the program is needed we can call back the program, the way is as follows:
• Highlight at File -
highlight at Save project - Ok (enter)

Figure 4.80. Saving Project


• Select Drive C (corresponding to the selected folder) - write file name - Ok (enter)

Figure 4.81. File Naming


d. Removing auxiliary contact of I/O, and Editing Address of I/O In Ladder
d.1. Delete Item or Cut Item in Ladder
Phase should be done to delete or cut the auxiliary contact of I/O is as follows:
• Highlight auxiliary contacts (NO,NC or output) - click on delete symbol (delete items/cut items)
Figure 4.82. Deleting a symbol


d.2. edit the address inputs and outputs (I / O) in Ladder
Phase should be done to edit the address input or output (I / O):
• Highlight in input or output - double click it and then change the address input / output according to what we want.

Figure 4.83. Editing symbols


d.3. Removing / Delete Network on Ladder
Phase should be done is as follows:
• put / click the cursor on the network you want to erase / delete
• click on menu
block and then delete network

Figure 4.84. Removing network


e. Insert network
• Highlight on network to be inserted - click on menu block - click insert network - click bellows / above current network - Ok (enter)


Figure 4.85. Insert network


f. Giving Symbol And Comment On Input / Output (I / O)
• Double click on the network that will be a symbol and
comment - browse
• Give the symbol and comment on the I / O - store - Ok - Ok

Figure 4.86. Giving symbols and comments on I / O


g. Creating / Viewing program in the form mnemonic code
• highlight network to be created or seen then click Editor - click Statement List Editor - write the mnemonics code in the box instruction - click test to see results in the form of ladder - click close to close.

4.87. Dialog box of Statement List Editor


h. Printing Ladder Diagrams
To print a Ladder Diagram can be done with Ctrl + P so that the displayed Print dialog box in Figure 88. Make settings as shown in Figure 88 (which in cross only Ladder Diagram), then click option that will display the next dialog box as shown in Figure 89. Make settings as shown in the picture 89.
Figure 4.88. Dialog box of Print

Figure 4.89. Dialog box of Ladder Diagram Options

Network separators can be selected:
• Print separators
• Include comments

Print separators can be done by:
• As editor
• Every network or
• Every group

For general settings, can be done:
• Print step numbers in the margin
• Print Statement List
• Print Address List

For Cross reference can be activated or not,
by checking in field of Cross Reference with Fully or compactly. For Page Breaks can be activated or not by checking in field of Enable page breaks and can be selected:
• Every network
• Every group or
• Every block


Transfer Program
a. Download Program & Test Running
Download program is to transfer the programs that you have made from your computer to PLC, there are two prerequisites that must be met, namely: Hardware requirements and Software requirements. Hardware requirements are interface from a computer to PLC must be connected, then Software requirement are PLC mode must be on condition OFF / STOP, the way is as follows:
• Select Project menu - Communications, select Port/Com and the appropriate Interface - Click Test on PLC until Status is Connected then Ok (Enter)
• Click Phone icon (sF9) / Communications Connect
• Click Icon of change mode PLC (sF10) on position Stop or Program
• Click Download menu - click Download program to PLC
• To Test Running after transfer - Click on PLC Mode (sF10) - select Run Mode - then Ok

Figure 4.90. Test connection


Advanced Programming Instructions
a. Timer (TIM)
• Click TIM - input the numbers of timer (000 to 511) - input the value of time then click Ok


Figure 4.91. Put Timer


b. Counter (CNT)
• Click CNT - input the numbers of counter (000 to 511) - input the value of count then click Ok

Figure 4.92. Put Counter


c. KEEP, DIFU, DIFD, IL-ILC, Shift Registers, JUMP, ADD, SUB, HIGH SPEED TIMER, Compare, INC, DEC.
• Click FUN -
select All Instructions - select function that you want to use then click OK

Figure 4.93. Other advanced instruction

No comments:

Post a Comment