1. What Is Ladder Logic 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 HERE.

 

Read more discussions : http://www.triplc.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: HERE.

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.  

 

2. What Is the Difference Between Ladder Logic and iTRiLOGI's Ladder+Basic 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.

 

3. What Do I Benefit From iTRiLOGI Ladder+Basic?

 

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.

 

4. How Can I learn More About iTRiLOGI Ladder+Basic?

 

  1. Click this link : http://www.triplc.com/trilogi.htm to learn more about Ladder+BASIC.

  1. 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.triplc.com/edutrilogi.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.

 

5. Is There a Tutorial For Learning TRiLOGI and TRiLOGI Ladder+Basic?

 

  1. 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.triplc.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.

  2. 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.

  3. 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.triplc.com/documents/TRILOGI5-purdue.pdf

  1. 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.triplc.com/reqplcbook.htm

 

6. What Do I Need to Program a TRi PLC?

 

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 Fx-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:

 

  1. 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 Fx-series PLC models.

  2. 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.

 

7. Can I Run TRiLOGI on Windows and Linux/MAC Platforms?

 

  1. Both iTRiLOGI and WinTRiLOGI can run on XP, Server20xx, Vista, Windows 7, Windows 8, and Windows 10.

  2. 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.