| Programming
|
|
| Ladder logic programs mimic the electrical circuit diagrams used for
wiring control systems in the electrical industry. The basic purpose of an electrical
control system is to determine whether a load should be turned ON or turned OFF, under
what circumstances and when it should happen. To understand a ladder program, just
remember the concept of current flow - a load is turned ON when the current can flow to it
and is turned OFF when the current could not flow to it. Chapter 8 in the TRiLOGI
Programmer's Reference Guide has a short introductory course on Ladder Logic Programming.
For a little more reading, please download the Chapter below: www.tri-plc.com/appnotes/Chapter8.pdf
Read more discussions : http://www.tri-plc.com/yabbse/index.php?board=2;action=display;threadid=303
You can now go to the following web page to download a free PLC programming E-book
written by Kevin Collins of Ireland Sligo Institute:
http://www.tri-plc.com/reqplcbook.htm
This book presents a number of ladder programs that are constructed using the TRiLOGI
software and you can use our PLC simulator to test the program.
|
|
| Programming
|
|
| Most PLCs in the industry are programmed by pure "Ladder
Logic". Ladder Logic language has its strength in handling single bit
digital I/O programming, but it is awkward to handle data processing where numerical data
needs to be manipulated. On the other hand, desktop computers are typically
programmed by high-level languages such as BASIC, C, PASCAL, C++, Java
etc. These powerful programming languages are designed for data processing, but they are
not oriented towards flipping single bit digital I/Os.
By combining these two most important branches of programming languages
into one single, seamless entity, we created the industry's first "Ladder +
BASIC" language that can easily handle sophisticated tasks with just a few
lines of codes. Please click on the the link below to see some examples of how simple it
is to perform a fairly sophiscated job using Ladder+BASIC:
http://www.tri-plc.com/examples.htm
|
|
| Programming |
|
Because of the power and simplicity accorded the programmer, iTRiLOGI :
- reduces a company's dependency on highly-skilled programming engineers
- shortens programming leadtime and gets projects working sooner
- makes troubleshooting easier due to the ability to view ALL internal variables in real
time using the iTRiLOGI the On-line monitoring capability.
- allows rapid testing of program changes using built-in offline SIMULATOR
- allows remote troubleshooting locally or via LAN or over the INTERNET!
- performs sophisticated communication with 3rd party MODBUS devices, HMI, SCADA, barcode
reader, smart-card reader, serial printers etc.
|
|
| Programming
|
|
- Click this link : http://www.tri-plc.com/trilogiintro.htm
to learn more about Ladder+BASIC.
- You can register to download a free, fully working copy of the Educational
Version of iTRiLOGI 6.xx & Programmer's Reference from the following link: http://www.tri-plc.com/trilogi.htm
The Educational TRiLOGI offers a fully functional offline simulator which allows you to
create your own ladder+BASIC program and perform near 100% testing on your PC without
purchasing any PLC hardware.
- For a quick evaluation without installing the software, you can
try out an Applet version of TRiLOGI software which will run off your Java-enabled browser
at the following link: http://www.tri-plc.com/TLeval/runTRiLOGI.htm
|
|
| Programming
|
|
- You can click on the "Help" menu in iTRiLOGI 5.xx or 6.xx software (a free
educational version is available for download from http://www.tri-plc.com/trilogi.htm).
Select "Content" and you will find a "Ladder Logic Programming
Tutorial" where you can follow the tutorial to create your first Ladder + BASIC
program.
- There are many well-documented example programs in your TRiLOGI installation folder:
C:\TRiLOGI\TL6\usr\samples. You should open up these sample programs and read the
comments carefully, then run simulations to test the functions described in these
programs. That is the best way of learning our Ladder and Ladder+BASIC programming
method. There are also several subfolders in the ...\samples folder that provide numerous
examples for utilizing the built-in PLC Web server, interfacing to devices such as the
I-70xx modules, and some pure ladder logic programs.
- Professor TC Chang of Purdue University has written a TRiLOGI 5.3 Tutorial for use by
his students as teaching material and he has kindly allowed us to share his work with
anyone interested in TL5 Tutorial (backwards compatible with TRiLOGI 6.xx). You can click
on the following link to obtain the tutorial:
http://www.tri-plc.com/TCChangTL5_Tutorial.pdf
- Kevin Collins of Institute of Technology Sligo (Ireland) has written a free PLC
programming E-book. This book presents a number of ladder programs that are constructed
using the TRiLOGI software and you can use our PLC simulator to test the program. It can
be downloaded from the following link: http://www.tri-plc.com/reqplcbook.htm
|
|
| Programming |
|
| All TRi PLCs can be programmed through a connection to any PC with an
RS232 serial connection port (or USB port using a USB-RS232 adapter) and running on
Windows or even DOS. The only exception is the Nano-10 PLC that can only connect serially
using a USB to RS485 adapter since it does not have an RS232 port on board. The Ethernet equiped PLCs including the Nano-10, FMD series, and F-series
models can be connected to a network using a wired Ethernet connection and can be
programmed over a LAN or the Internet using a PC.
You will then just need a production copy of TRiLOGI and a DB9
cable (USB adapter may be required) or Ethernet cable for the Ethernet-equiped PLCs to
make the connection. As such, your first purchase of a TRi PLC should always be (or
include) a Starter Kit, which includes both cable (DB9 only) and software as well as
installation and programming manuals. USB to RS232 or RS485 adapters are not included with
starter kits and can be purchased from TRi if necessary. The only exception is the
Nano-10, which does include a USB to RS485 adapter in the starter kit.
There are two basic classes of TRiLOGI software which are supplied with the respective
starter kits:
- iTRiLOGI version 5.xx or 6.xx supports LADDER+BASIC capability and is the only software
needed to program any of the Nano-10, FMD series (and M-series), or F-series PLC models.
- WinTRiLOGI version 3.5x supports only pure Ladder logic programming (i.e. no BASIC) and
is needed for programming any E10 or H-series PLCs.
|
|
 Programming |
|
- Both iTRiLOGI and WinTRiLOGI can run on Windows 98,Me,2000,NT,XP, Server2003, Vista, and
Windows 7.
- A DOS version of TRiLOGI is bundled with the iTRiLOGI or WinTRiLOGI CD-ROM in the
Starter Kit at no charge. This allows users who still use PC-DOS to program the PLC.
- Linux/MAC - Although iTRiLOGI and WinTRiLOGI are both written in pure Java, we currently
do not support them to run on Linux or MAC platforms due to the subtle differences between
Windows and Linux versions of Java Runtime Environment, which can potentially lead to the
instability of these software when running on Linux platform.
|
|