SlideShare a Scribd company logo
1 of 24
Download to read offline
1
1
TRILOGI
5.3
PLC Ladder Diagram Programmer
and Simulator
A tutorial prepared for IE 575 by
Dr. T.C. Chang
2
Use On-Line Help
Use on-line help for program editing and
TBasic function definitions.
2
3
Open File
Open from local drive (file on your disk).
4
Select the desired file
3
5
File Open
6
Simulate the Program
4
7
Simulation
Use left
button to
select an input
(push button).
Right button
to toggle an
input.
8
Simulation
Click
“View” to
show
variables.
5
9
Start Server
Need server to connect
to a PLC.
Set the correct COM
port. In networked
PLCs use “Change
PLCID” to set PLC ID
number. The PLC ID
will be saved in the
EEPROM of the PLC.
10
Configure Users
Click Configure
Users. You must be
an administrator to
enter a new user.
This is not for IE
575 students.
6
11
Enter New User
Click –Add New User-
to add new user.
12
Download program to PLC – select
PLC
7
13
Enter Username, Password and
Select PLC ID
IE 575
students use
ie575 and
camclass as
username and
password.
14
Program Transfer to PLC
8
15
Program Transfer
Click
“Yes” on
several
questions
and the
program
will be
transferred
. “Yes” on
Reset
PLC.
16
On-Line Monitoring
9
17
On-Line Monitoring Window
You may not
click on the
input to change
it. Only input at
the PLC will be
shown.
18
Disconnect from Server
In order to link
your TRiLOGI
window to a
different PLC,
you must
disconnect it from
the current PLC.
10
19
Connect to Server
In the previous
example, the
server was
running on the
local PC. You
may connect to a
server running on
a remote PC
(anywhere), as
long as you have
the username and
password for the
PLC and the IP
address of the PC.
20
New Server
Change the
server IP
address.
11
21
User New Server
• After the new server has been connected,
treat it the same as the local server. No extra
example will be given here.
22
Input New Program
12
23
Enter I/O Table
You must define
I/O table before
you may insert
new circuit (rung).
24
I/O Table
Click the label name for Input # 1
to enter “Switch1”. Press “enter”
to enter the name.
Click the > button to advance to
“Output”, “Relay”, “Timer”, etc.
13
25
Insert Circuit
26
Insert a Contact
Click contact, right
click to select
Normally Closed
contact. Now choose
the Input.
14
27
“OR” and Contact
Insertion point is
shown in a green
box. After the “OR”
contact is selected,
choose a relay from
the I/O table. Use the
“>” or the pull down
menu to select Relay.
28
Choose a Relay Contact
Click on Switch1 to move the
insertion point to the right hand
side of Switch1. Then click the
right arrow to move the
insertion point after both
contacts.
15
29
New Insertion Point
If the insertion point is not moved here
the logic will be (Switch1 *
Switch2’)+R1. When the insertion point
is moved outside (solid yellow box) the
logic becomes (Switch1+R1)*Switch2’
30
Insert a Normally Closed Contact
Right click contact and
select the input.
16
31
Add an Output
Click on the output and select the
correct one.
32
Delete the Output and Change to
Relay
While Out is highlighted, click DEL twice
quickly.
17
33
Replace with Relay
Click the output and choose relay from
the I/O table. Press “Enter” to go to next
rung.
34
Add New Rung
Use the procedure discussed before to enter a
new circuit (rung).
18
35
Insert a Contact
Click on Switch2 to choose the
insertion point. Right click contact to
insert Switch3.
36
Competed Ladder Diagram
19
37
Add OR Condition
Add new element OR (Switch2’*Switch3’). Click on
Switch2, then, click element 5. Element 5 change to
close on the right hand side. Select the close point.
Following example is used to show how to edit the ladder
diagram. The resultant program may not be correct.
38
Close the OR Logic
Click the contact to close, then, click
element 5.
20
39
New Element Complete
An AND condition is added.
40
Insert Custom Function
Double click here to add a new rung.
21
41
Add a Special Bit 0.1s Pulse
Every 0.1 second, the contact
will close then open.
42
Select Custom Function
The output of the rung
is a custom function.
22
43
Select Delta Custom Function 1
Edit custom function using the edit
menu or right click Function_1.
44
Edit Custom Function
Type the Tbasic program.
May edit other custom
function. When editing is
done, close the editor.
23
45
Simulate the Program
This program will run two stepper motors continuously. Since
the function is called every 0.1 second.
46
Replace the Clock with R1
Right click on Clk:0.1s and enter R1
in the “Edit Label Name” box.
24
47
Simulate the Modified Program

More Related Content

Similar to Plc trilogi5 purdue

SATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxSATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxsatyamVerma186725
 
105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studioTùng Nguyễn
 
Lab view introduction
Lab view introductionLab view introduction
Lab view introductionJakupBerisha2
 
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docxgerardkortney
 
All you need to know about adding an sw7
All you need to know about adding an sw7All you need to know about adding an sw7
All you need to know about adding an sw7webmtn
 
Drv10 lab3 pf755_pcam
Drv10 lab3 pf755_pcamDrv10 lab3 pf755_pcam
Drv10 lab3 pf755_pcamconfidencial
 
Adapted from Harris & Harris Digital Design and Computer Arch.docx
Adapted from Harris & Harris Digital Design and Computer Arch.docxAdapted from Harris & Harris Digital Design and Computer Arch.docx
Adapted from Harris & Harris Digital Design and Computer Arch.docxnettletondevon
 
plc slc 500.pptx
plc slc 500.pptxplc slc 500.pptx
plc slc 500.pptxMUST
 
Pf700 energy savings_lab
Pf700 energy savings_labPf700 energy savings_lab
Pf700 energy savings_labconfidencial
 
Prodigy Control System Operation Manual
Prodigy Control System Operation ManualProdigy Control System Operation Manual
Prodigy Control System Operation ManualSTACY DAVIS
 
File 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designFile 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designSanjeev Singh
 
Electronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.SivakumarElectronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.SivakumarSivakumar R D .
 

Similar to Plc trilogi5 purdue (20)

SATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxSATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptx
 
105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio
 
Lab view introduction
Lab view introductionLab view introduction
Lab view introduction
 
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx
 
All you need to know about adding an sw7
All you need to know about adding an sw7All you need to know about adding an sw7
All you need to know about adding an sw7
 
Fx9860 gsd 9860g_e
Fx9860 gsd 9860g_eFx9860 gsd 9860g_e
Fx9860 gsd 9860g_e
 
Hart 475
Hart 475Hart 475
Hart 475
 
corey_hw_final (1)
corey_hw_final (1)corey_hw_final (1)
corey_hw_final (1)
 
Drv10 lab3 pf755_pcam
Drv10 lab3 pf755_pcamDrv10 lab3 pf755_pcam
Drv10 lab3 pf755_pcam
 
Adapted from Harris & Harris Digital Design and Computer Arch.docx
Adapted from Harris & Harris Digital Design and Computer Arch.docxAdapted from Harris & Harris Digital Design and Computer Arch.docx
Adapted from Harris & Harris Digital Design and Computer Arch.docx
 
plc slc 500.pptx
plc slc 500.pptxplc slc 500.pptx
plc slc 500.pptx
 
Manual LogixPro
Manual LogixProManual LogixPro
Manual LogixPro
 
Pf700 energy savings_lab
Pf700 energy savings_labPf700 energy savings_lab
Pf700 energy savings_lab
 
Pf70 700 process_pi
Pf70 700 process_piPf70 700 process_pi
Pf70 700 process_pi
 
Prodigy Control System Operation Manual
Prodigy Control System Operation ManualProdigy Control System Operation Manual
Prodigy Control System Operation Manual
 
Instruction-Manual-ICT India.pdf
Instruction-Manual-ICT India.pdfInstruction-Manual-ICT India.pdf
Instruction-Manual-ICT India.pdf
 
File 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designFile 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit design
 
Xgt training
Xgt trainingXgt training
Xgt training
 
Electronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.SivakumarElectronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.Sivakumar
 
Pf40 pid lab fan
Pf40 pid lab fanPf40 pid lab fan
Pf40 pid lab fan
 

Recently uploaded

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 

Recently uploaded (20)

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 

Plc trilogi5 purdue

  • 1. 1 1 TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator A tutorial prepared for IE 575 by Dr. T.C. Chang 2 Use On-Line Help Use on-line help for program editing and TBasic function definitions.
  • 2. 2 3 Open File Open from local drive (file on your disk). 4 Select the desired file
  • 4. 4 7 Simulation Use left button to select an input (push button). Right button to toggle an input. 8 Simulation Click “View” to show variables.
  • 5. 5 9 Start Server Need server to connect to a PLC. Set the correct COM port. In networked PLCs use “Change PLCID” to set PLC ID number. The PLC ID will be saved in the EEPROM of the PLC. 10 Configure Users Click Configure Users. You must be an administrator to enter a new user. This is not for IE 575 students.
  • 6. 6 11 Enter New User Click –Add New User- to add new user. 12 Download program to PLC – select PLC
  • 7. 7 13 Enter Username, Password and Select PLC ID IE 575 students use ie575 and camclass as username and password. 14 Program Transfer to PLC
  • 8. 8 15 Program Transfer Click “Yes” on several questions and the program will be transferred . “Yes” on Reset PLC. 16 On-Line Monitoring
  • 9. 9 17 On-Line Monitoring Window You may not click on the input to change it. Only input at the PLC will be shown. 18 Disconnect from Server In order to link your TRiLOGI window to a different PLC, you must disconnect it from the current PLC.
  • 10. 10 19 Connect to Server In the previous example, the server was running on the local PC. You may connect to a server running on a remote PC (anywhere), as long as you have the username and password for the PLC and the IP address of the PC. 20 New Server Change the server IP address.
  • 11. 11 21 User New Server • After the new server has been connected, treat it the same as the local server. No extra example will be given here. 22 Input New Program
  • 12. 12 23 Enter I/O Table You must define I/O table before you may insert new circuit (rung). 24 I/O Table Click the label name for Input # 1 to enter “Switch1”. Press “enter” to enter the name. Click the > button to advance to “Output”, “Relay”, “Timer”, etc.
  • 13. 13 25 Insert Circuit 26 Insert a Contact Click contact, right click to select Normally Closed contact. Now choose the Input.
  • 14. 14 27 “OR” and Contact Insertion point is shown in a green box. After the “OR” contact is selected, choose a relay from the I/O table. Use the “>” or the pull down menu to select Relay. 28 Choose a Relay Contact Click on Switch1 to move the insertion point to the right hand side of Switch1. Then click the right arrow to move the insertion point after both contacts.
  • 15. 15 29 New Insertion Point If the insertion point is not moved here the logic will be (Switch1 * Switch2’)+R1. When the insertion point is moved outside (solid yellow box) the logic becomes (Switch1+R1)*Switch2’ 30 Insert a Normally Closed Contact Right click contact and select the input.
  • 16. 16 31 Add an Output Click on the output and select the correct one. 32 Delete the Output and Change to Relay While Out is highlighted, click DEL twice quickly.
  • 17. 17 33 Replace with Relay Click the output and choose relay from the I/O table. Press “Enter” to go to next rung. 34 Add New Rung Use the procedure discussed before to enter a new circuit (rung).
  • 18. 18 35 Insert a Contact Click on Switch2 to choose the insertion point. Right click contact to insert Switch3. 36 Competed Ladder Diagram
  • 19. 19 37 Add OR Condition Add new element OR (Switch2’*Switch3’). Click on Switch2, then, click element 5. Element 5 change to close on the right hand side. Select the close point. Following example is used to show how to edit the ladder diagram. The resultant program may not be correct. 38 Close the OR Logic Click the contact to close, then, click element 5.
  • 20. 20 39 New Element Complete An AND condition is added. 40 Insert Custom Function Double click here to add a new rung.
  • 21. 21 41 Add a Special Bit 0.1s Pulse Every 0.1 second, the contact will close then open. 42 Select Custom Function The output of the rung is a custom function.
  • 22. 22 43 Select Delta Custom Function 1 Edit custom function using the edit menu or right click Function_1. 44 Edit Custom Function Type the Tbasic program. May edit other custom function. When editing is done, close the editor.
  • 23. 23 45 Simulate the Program This program will run two stepper motors continuously. Since the function is called every 0.1 second. 46 Replace the Clock with R1 Right click on Clk:0.1s and enter R1 in the “Edit Label Name” box.