SlideShare a Scribd company logo
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

TIA Portal Software for PLC ladder programming
TIA Portal Software for PLC ladder programmingTIA Portal Software for PLC ladder programming
TIA Portal Software for PLC ladder programming
ASIF ADNAN BAYAN
 
SATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxSATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptx
satyamVerma186725
 
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 introduction
JakupBerisha2
 
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx
© Dmitriy ShironosovShutterStock, Inc.LABORATORYLogic C.docx
gerardkortney
 
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
webmtn
 
Hart 475
Hart 475Hart 475
Drv10 lab3 pf755_pcam
Drv10 lab3 pf755_pcamDrv10 lab3 pf755_pcam
Drv10 lab3 pf755_pcam
confidencial
 
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
nettletondevon
 
plc slc 500.pptx
plc slc 500.pptxplc slc 500.pptx
plc slc 500.pptx
MUST
 
Pf700 energy savings_lab
Pf700 energy savings_labPf700 energy savings_lab
Pf700 energy savings_lab
confidencial
 
Pf70 700 process_pi
Pf70 700 process_piPf70 700 process_pi
Pf70 700 process_pi
confidencial
 
Prodigy Control System Operation Manual
Prodigy Control System Operation ManualProdigy Control System Operation Manual
Prodigy Control System Operation ManualSTACY DAVIS
 
Instruction-Manual-ICT India.pdf
Instruction-Manual-ICT India.pdfInstruction-Manual-ICT India.pdf
Instruction-Manual-ICT India.pdf
Trumen Technologies Pvt. Ltd. India
 
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
Sanjeev Singh
 
Xgt training
Xgt trainingXgt training
Xgt training
Nguyễn Yên Giang
 
Electronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.SivakumarElectronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.Sivakumar
Sivakumar R D .
 

Similar to Plc trilogi5 purdue (20)

TIA Portal Software for PLC ladder programming
TIA Portal Software for PLC ladder programmingTIA Portal Software for PLC ladder programming
TIA Portal Software for PLC ladder programming
 
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
 

Recently uploaded

digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
dxobcob
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 

Recently uploaded (20)

digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 

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.