Free Contents for Teaching PLC Programming

Our mission is to help PLC Programming educators focus on their students and provide them with the best education. This is why we have made PLC3000. This is why we provide you with all free resources below.

PLC Educative Solutions For Factory Automation

Timer – IL

The IEC 61131 standart offers a definition of Timers. PLC3000 integrates only TON timers that can be set by defining the time base %Ti.TB, and the preset value %Ti.PV. The timer is triggered by activating the input %Ti.IN, and the output %Ti.Q goes to 1 when the current timer value reaches the preset value. The time bases %Ti.TB that can be declared are: 1, 10, 100 ms; 1, 10 s; 1 min. Generation in IL
Let’s consider three timers with different time bases and preset values
LD %S1 %T0.TB := 100ms %T1.TB := 1s %T2.TB := 1min %T0.PV := 3 ...
Read More
PLC Educative Solutions For Factory Automation

Edge Generation – IL

PLC3000 does not include Rising and Falling Edge functions. However, they can easily be generated from the available memory bits Generation in IL Generate a Rising Edge on %I0 is done by considering a memory bit, e.g. %M1, such as <img width="300" height="130" src="https://plc3000.com/wp-content/uploads/2021/05/FrontMontant-300x130.jpg" alt="" loading="lazy" srcset="https://i1.wp.com/plc3000.com/wp-content/uploads/2021/05/FrontMontant.jpg?resize=300%2C130&ssl=1 300w, https://i1.wp.com/plc3000.com/wp-content/uploads/2021/05/FrontMontant.jpg?w=533&ssl=1 533w" sizes="(max-width: 300px) 100vw, 300px" /> <pre> LD %I0 ANDN %M0 ST %M1 LD %I0 ST %M0
Generate a Falling Edge on %I1 is done by considering a memory bit, e.g. %M3, such as

LDN %I1 ANDN %M2 ST %M3 LDN %I1 ST %M2 ...
Read More
PLC Educative Solutions For Factory Automation

Programming in ST

1. Example in ST Let’s considering the logical equation: %M0 = %I0.%I1+%I2. /%I3 PROGRAM LogicalFunction %M0 := %I0 AND %I1 OR %I2 AND NOT %I3; END_PROGRAM     2. Example of Grafcet in ST Let’s considering the elementary Grafcet a. Programming Transition/Transition PROGRAM TrTr (* INIT *) IF %S2 THEN %M0 := TRUE; %M1 := FALSE; END_IF (* TRANSITIONS *) IF %M0 AND %I0 THEN %M1 := TRUE; %M0 := FALSE; END_IF IF %M1 AND %I1 THEN %M0 := TRUE; %M1 := FALSE; END_IF (* ACTIONS *) %Q0 := %M1; END_PROGRAM b. Programming Transition/Transition with Crossing bits PROGRAM TrTrB (* ...
Read More
PLC Educative Solutions For Factory Automation

Instructions in ST

The programming language Structured Text (ST) is defined by the IEC 61131 standard. It includes the instructions: := ; --> Assignment := TRUE; --> Assignment to 1 := FALSE; --> Assignment to 0 PROGRAM ... END_PROGRAM IF ... THEN ... ELSE ... END_IF FOR ... END_FOR WHILE ... END_WHILE Basic logic functions are: AND OR XOR: eXclusive OR and their complement are: AND NOT OR NOT XOR NOT : eXclusive AND Logic functions can be followed with parentheses: AND( OR( XOR( ) ) ) Comments can be added inside the symbols: (*…. *). The programming language includes two types of ...
Read More
PLC Educative Solutions For Factory Automation

Programming in IL

c. Programming Step/Step
* START LD %M1 AND %I1 OR( %M0 ANDN %I0 ) OR %S2 S %M0 R %M1 * LD %M0 AND %I0 OR( %M1 ANDN %I1 ) S %M1 R %M0 * ACTIONS LD %M1 ST %Q0 d. Programming Step/Step with Crossing Bits * START LD %M1 AND %I1 OR( %M0 ANDN %I0 ) OR %S2 ST %M10 * LD %M0 AND %I0 OR( %M1 ANDN %I1 ) ST %M11 * CROSSING LD %M10 S %M0 R %M1 * LD %M11 S %M1 R %M0 * ACTIONS LD %M1 ST %Q0 b. Programming Transition/Transition with Crossing Bits
...
Read More
PLC Educative Solutions For Factory Automation

Instructions in IL

The programming language Instruction List (IL) is defined by the IEC 61131 standard. It includes the instructions: LD: LOAD ST: STORE S: SET R: RESET the set of basic logic functions: AND OR XOR: eXclusive OR and their complement: LDN: LOAD NOT ANDN: AND NOT ORN : OR NOT To the logic functions are associated with parentheses: AND( OR( XOR( ) ) ) Comments can be added after the symbol: * ...
Read More
PLC Educative Solutions For Factory Automation

Mnemonics in the IL Language

At each variable can be associated a mnemonic. It is then possible to use the mnemonic or variable completely transparently in programs. To associate the variable Switch to the input %I0, the variables RedLight and GreenLight to the outputs %Q0 and %Q1 respectively, it is necessary to write: %I0 Switch %Q0 RedLight %Q1 GreenLight ...
Read More
PLC Educative Solutions For Factory Automation

System Bits

PLC 3000 has 2 system bits:
  • %S1: for the initialization and setting of timers and counters,
  • %S2: for the initialization of the memory bits. 
These system bits correspond to Rising Edges correlated to the RUN of the Code and the Reset of the scale models ...
Read More
PLC Educative Solutions For Factory Automation

Getting Started

Functionalities of PLC3000 are accessible from the exercise catalog, with a login and password. The user is granted access to an index of themes and exercises presenting a sequence in the learning of Automation and Grafcets implementation according to the IEC 61131 standard. Access to each exercise is very easy via navigation between the different web pages thanks to the hyperlinks. For each selected exercise, a web page with several windows appears with the scale model always visible. Buttons (resp. Instructions, Code and PLC) located at the bottom left allow the display or not of these functionalities:
PLC Educative Solutions For Factory Automation

What is PLC 3000?

PLC3000 is an intuitive tool for coding and simulating Programmable Logic Controllers (PLCs) with various interactive scale models. It has the advantage, from the user's point of view, of using only one page on a web browser. From this web page, the user has access to the exercise topics, to the visualization of the educational scale models, but also to two other sub-windows for programming and debugging, respectively. The code can be written in programming languages Instruction List (IL) or Structured Text (ST) according to IEC 61131 standard. The number of inputs/outputs, memories, timers and counters is not limited. This ...
Read More