PLC training courses in lahore by burraq engineering solutions

PLC – automated control for the industry

Programmable logic controllers monitor and regulate machines and manufacturing processes in industrial environments with automation technology. In the future, as autonomous systems, they could even optimize processes intelligently and independently. In our guide, we introduce you to the various systems and provide tips on selection and the right accessories.


  • What role does the programmable logic controller play in automation?
  • Advantages of SPS
  • How is a programmable logic controller structured?
  • Functions of programmable logic controllers
  • Compatibility and accessories for networking
  • The right equipment for your PLC
  • types of PLC
  • Modular PLC: A simple and individual solution for every machine system
  • Programming languages ​​for PLC

What role does the programmable logic controller play in automation?

A PLC is a digital electronic system that is equipped with programmable memory. The respective control instruction for the appropriate function can then be saved on this. Various types of machines and processes are then controlled via digital or analogue inputs and outputs.
Thanks to their great flexibility, PLCs are being used more and more frequently in many areas of industry and are replacing conventional connection-programmable controllers. Instead of hard-wired logic based on relay switches, where the control function can only be changed by laborious switching, these electronic components can be digitally programmed and take on complex control tasks in networked production processes of Industry 4.0.
Typical examples of the use of PLCs can be found in production plants, packaging machines, in the beverage and steel industries and also in the medical sector. But you also come across digital electrical controls in everyday life, for example in traffic light circuits, escalators, elevators, roller shutters and gate systems or even in heating systems.

Advantages of PLC

  • high flexibility and versatility
  • uncomplicated duplication and modification of the programming instead of cumbersome rewiring
  • simplified implementation of programming
  • less assembly effort
  • quick change of function
  • high reliability
  • low energy consumption
  • little need for space
  • Networking options with other devices and systems
  • Remote diagnosis and maintenance are possible

Programmable logic controllers only have a few disadvantages, which in individual cases speak for the use of conventional connection-programmable controllers: The costs for the components are comparatively high so the purchase of PLCs is not worthwhile for many small controllers. In addition, an appropriate technical infrastructure with digital devices and trained personnel are required for effective use. Acceptance and commissioning of systems can also be more complex since the program routines and programming have to be tested in addition to the machine components. Individual components such as safety circuits or device monitoring may become more complex.

How is a programmable logic controller structured?

The basic version of a PLC consists of a processor in the central module, signal inputs and outputs, an operating system and the interface.
The control is programmed via the application program on the computer or via a connected control panel. It is loaded onto the PLC via the interface and defines the switching of inputs and outputs. The actual operation then takes place independently of the computer and, thanks to its own PLC power supply, also autonomously.
Depending on the complexity, PLCs have a different number of analogue or digital inputs and outputs, which are linked to the machine or system via so-called sensors and actuators. At the inputs, for example, sensors such as pressure sensors, temperature or level sensors monitor the machine functions. The operating system evaluates the information collected, compares it with the parameters programmed by the user and sends the appropriate control signals to the outputs.
The actuators that control the functions are connected here. These can be contactors for switching on electric motors, electric valves for compressed air and hydraulics or drive control modules.

Functions of programmable logic controllers

PLCs can take on specific functions, such as:

  • link control,
  • Flow control,
  • as well as time, counting and arithmetic functions.

Cycle-oriented PLCs work strictly according to EVA, the basic principle of data processing with input, processing, output. The inputs are queried and control is passed to the user program. After transferring the control signals to the outputs, the process starts over.
Cyclic PLCs with interrupt processing report an alarm when the status of the connected sensor changes and then start an additional program loop adapted to the respective situation before continuing the main program.
Event-controlled PLCs process-specific pre-programmed tasks after a status change of the connected sensors.

Compatibility and accessories for networking

One of the biggest advantages of PLC is the cross-system networking with other devices and computers. Correct networking is not only important for new installations. Even PLCs based on older standards can be connected to modern devices during retrofitting using the appropriate PLC cables, plugs and adapters.
Most PLCs can be connected to a PC via a serial cable. Serial device servers are suitable for this, with which conventional serial components can be connected via LAN. Ethernet media converters connect different transmission media with each other in a compatible way. Common interfaces are RS-232 and RS-485 with DB-9 and DB-25 connectors.
However, PLC interfaces are not standardized, so depending on the device provider, other solutions are used in addition to standard serial cables, which you should find out about in advance or involve a specialist. In general, the design thus determines the requirements for the accessories for the respective PLC

The right equipment for your PLC

Your PLC gains in efficiency with the right additional equipment and can also be expanded with devices via the interface.

  • DIN rails: for optimal assembly.
  • Displays and monitors: for the direct display of operational data.
  • HMI touch panel: for multifunctional visualization, operation and diagnosis of machines and systems.
  • Smart gateway: Networking machines and systems intelligently in the IoT.

types of PLC

In terms of structure and functionality, a distinction is made between hard PLCs and soft PLCs as well as compact and slot PLCs.
Classic PLCs are hardware-based, hence their name Hard-PLC. They usually only include the most important control functions, but extensions for DIN rails and plug connections are quickly possible.
Soft PLCs take over the control in software form. They have their own operating system and often additional user software. However, they do not have their own CPU, but use the PC processor and have to share the processing power with the PC’s operating system and, if necessary, other applications. This can have an impact on the performance of the respective PLC when the load is high.
With a compact PLC, all components are housed together on a single circuit board in a single housing.
A slot PLC is used directly as a PCI plug-in card and for specific tasks such as storing production data. With these controllers, the PC replaces the PLC hardware. In contrast to a soft PLC, however, a slot PLC has a co-processor and its own operating system, with which it executes control tasks independently of the PC processor. Integrated connections enable access to decentralized actuators and sensors.

design typeHard PLCSoft PLCCompact PLCSlot PLC
notes• PLC hardware
solution • are started up quickly
• good real-time
behaviour • most important functions with expansion options
• PLC software solution
• more convenient to use
• slow start-up
• unstable at very high loads
• space-saving
• inexpensive
• suitable for small-scale tasks
• low space requirements
• they remain active thanks to their own power supply even if the PC fails
• simplified communication between PLC and PC thanks to visualization software

Modular PLC: A simple and individual solution for every machine system

Modular PLCs are not assemblies in the true sense but can be understood as a superordinate system. With modular controls, each individual functional component is housed in its own housing and on a separate control board. In this way, the PLC can be assembled individually using individual plug-in modules and easily expanded if required. An additional advantage is that in the event of a defect, only the respective assembly needs to be replaced and not the entire controller.


  • individual compilation of the required elements
  • Extension with the appropriate circuit board possible
  • for more complex regulation and control circuits

Some typical manufacturers and model series of modular PLCs


  • S7-300
  • S7-1200
  • S7-1500

Schneider Electric

⦁ M200s
⦁ M340
⦁ M580


⦁ CP1E
⦁ CP1H
⦁ CP1L

Allen Bradley

  • micro 820
  • micro 850
  • micro 870

Programming languages ​​for PLC

Various programming languages ​​can be found in the controls:

  • ST – Structured Text
  • FBD – function block language
  • LAD – Ladder Diagram
  • IL – Instruction List
  • SCL—Structured Control Language

FBD is popular with PLC beginners because it works with drag & drop and the behaviour of inputs and outputs is easy to understand. Sophisticated programming can be implemented with SCL. ST and IL are text-based, the other three graphical.

PLC | Programmable Logic Controller

How to use Mitsubishi PLC jump instruction?

the conditional jump instruction shows that the code, mnemonic, operand and program steps of the instruction are shown in Table 8-3. Operand instruction name instruction code digits mnemonic D (·) program step condition jump FNC00 (16) CJCJ (P) P0~P127 P63 is END, without jump mark CJ and CJ(P)~3 step label P~ The use of the 1-step jump instruction in the ladder diagram is shown in the figure. The jump pointers P8 and P9 in the figure correspond to two jump instructions, CJP8 and CJP9, respectively. The meaning of the execution of the jump instruction is: when the jump condition (X000=ON) is met, the PLC does not execute the program between the jump instruction and the jump pointer Pn in each scan cycle but jumps to the pointer Pn It is executed in the block of entry until the jump condition is not met, the jump stops.
046811518222529P83640P943X000X001X002FNC00CJY001M1P8X000=ON, jump to P8; X000=OFF, execute in order X003S1X004T0X005RSTX006T246X007RSTX010C0X011X000X012Y001X013RSTT20OFFK3K0FNC12000CJY001M1P8X000=ON, jump to P8; The working status table 8-4 of the influence of the input or the state of the predecessor device before and after the jump in the figure on the result of the program execution. (1) The output relay Y, auxiliary relay M, and state S in the skipped block are no longer executed. Even if the working conditions involved in the ladder diagram change, their working states remain before the jump occurs. The status remains unchanged. Table 8-4 Effect of component jump on component status Contact state X001, X after the jump


How to use Mitsubishi PLC jump instruction CJ P0?

P0 is just the pointer number, and the driving condition is closed to jump to the designated number to execute this part of the program.
  The conditional jump instruction CJ is used to skip a certain part of the sequence program to shorten the operation cycle and control the flow of the program. The mnemonic of the instruction is CJ, the instruction code is FNC00, and the operating elements are P0-P127, and its program steps The situation is that CJ is 3 steps, and the label P is 1 step.
  If the timer and counter are working at the beginning of the skipped step, it will stop timing and counting during the skipped step, and continue to work when the condition of the CJ instruction becomes unsatisfactory. The processing of the high-speed counter is independent of the main program, and its work is not affected by the skip. If the CJ instruction is driven by the moving and closing contacts of the M8000, the conditional jump becomes an unconditional jump.
 Extended information:
  Precautions for the use of Mitsubishi plc jump instructions:
  1. JCP instruction is expressed as pulse execution mode.
  2. A label can only appear once in a program, otherwise, an error will occur.
  3. During the execution of the jump, even if the driving conditions of the skipped program are changed, the coil (or result) remains in the state before the jump, because the program is not executed at all during the jump.
  4. If the reset (RST) instruction of the totalizer timer and counter is outside the jump area, even if the coil is jumped, the reset is still valid.

The difference between Mitsubishi plc interrupt instruction and interlocking

The difference between Mitsubishi plc interrupt instruction and interlocking
The jump instruction means that the program jumps to the marked position to continue execution, and the skipped part is not executed
To call a subroutine is to jump from the current to the subroutine segment, and return to continue executing the next program of CALL after execution.
The interrupt instruction is similar to the process of executing a subroutine. Both jump, execute and return to the breakpoint to continue execution, but it may be executed anywhere in the program (triggered by external conditions), and the subroutine call is only when the program runs to a specific location. implement.

Who has the PLC jump instruction ladder diagram?

Transfer instructions are also called transfer instructions. After using the jump instruction in the program, the system can choose to execute different program segments according to different conditions. The jump instruction is composed of the jump instruction JMP and the label instruction LBL. The JMP instruction is programmed in the form of a coil in the ladder diagram.
When the control conditions are met, the jump instruction JMP n is executed, and the program is transferred to the destination location specified by the label n. The position is determined by the label instruction LBL n. The range of n is 0-255.
Pay attention to the following issues when using jump instructions.
1) JMP and LBL instructions must be in the same block, such as the same main program, subprogram or interrupt program. That is, it is not possible to jump from one block to another block.
2) After executing the jump instruction, the counter in the program segment between JMP and LBL stops counting, and its count value and counter bit status remain unchanged.
3) After the jump instruction is executed, the state of output Q, bit memory M and sequence control relay S in the block between JMP and LBL remains unchanged.
4) After executing the jump instruction, in the program segment between JMP and LBL, the timer with a resolution of 1 ms and 10 ms keeps the original working state and function; the timer with a resolution of 100 ms stops working. The value remains unchanged at the time of the jump.
The working process of this example is as follows.
1) When the input terminal I0.1 is turned on, the jump instruction JMP is executed, and the program skips network 2 and transfers to the position labelled 6 for execution.
2) For the skipped network 2, its output Q0.0 state remains unchanged from the state before the jump.

How to use Plc jump instruction?

Since you did not specify which brand of PLC, I will take S7-300 as an example directly. When you use the STL language for programming, jump instructions include JU, JL, TC, TCN, JCB, JNB, etc., and JU is unconditional. Jump, JL multi-branch jump, JC is RLO=1 is jumping waiting, in fact, there is help in the programming software to directly check which is more clear, and there are examples

In Mitsubishi PLC programming, what is the difference between

Subroutines help you divide the program into blocks. The instructions used in the main program determine the execution status of the specific subroutine. When the main program calls and executes the subprogram, the subprogram executes all instructions until the end. Then, the system returns control to the main program in the calling subprogram network.
Subroutines are used to segment and divide the program into smaller, more manageable blocks. You can take advantage of this when debugging and maintenance in the program. By using smaller program blocks, these areas and the entire program can be easily debugged and trouble-shooted. Calling the program blocks only when needed, the PLC can be used more effectively, because all the program blocks may not need to perform each scan.
Finally, if the subroutine only references parameters and local memory, the subroutine can be moved. In order to move subroutines, avoid using any global variables/symbols (I, Q, M, SM, AI, AQ, V, T, C, S, absolute addresses in AC memory). If the subroutine has no call parameters (IN, OUT, or IN_OUT) or only uses local variables in the L memory, you can export the subroutine and import it into another project.
To use a subroutine in a program, you must perform the following three tasks:
Establish subroutines
Define parameters in the local variable table of the subroutine (if any)
Call the subroutine from the appropriate POU (from the main program or another subroutine)
When the subroutine is called, the entire logic stack is saved, the top of the stack is set to one, all other stack positions are set to zero, and control is transferred to the calling subroutine. When the subroutine is completed, the stack is restored to the value retained at the call point, and control returns to the calling routine.
The subroutine and the calling routine share the accumulator. Due to the use of subroutines, no save or restore operation is performed on the accumulator.
Call subroutine with parameters
The subroutine may contain parameters for handover. The parameters are defined in the local variable table of the subroutine. The parameter must have a symbolic name (up to 23 characters), a variable type, and a data type. 16 parameters can be transferred to the subprogram or 16 parameters can be transferred from the subprogram.
The variable type field in the local variable table defines whether the parameter is transferred to the subroutine (IN), transferred to or transferred out of the subroutine (IN_OUT) or transferred out of the subroutine (OUT). The following table shows the parameter types of the subroutine. To add a parameter item, place the cursor on the variable type field of the type you want to add (IN,
IN_OUT or OUT). Right-click the unipolar mouse to get the options menu. Select the “Insert” option, and then select the “Next row” option. Another parameter entry of the selected type will be displayed below the current entry.
The jump to label (JMP) instruction performs branch operations on the specified label (n) in the program. When the jump is accepted, the top value of the stack is always logic 1. The label (LBL) instruction marks the location of the jump destination (n). You can use the “jump” instruction in the main program, subroutine or interrupt routine. The “jump” and it’s corresponding “label” instructions must always be located in the same code segment (main program, subroutine or interrupt routine). You cannot jump from the main program to a label in a subprogram or interrupt routine. Similarly, you cannot jump from a subprogram or interrupt routine to a label outside the subprogram or interrupt routine. You can use the “jump” instruction in the SCR segment, but the corresponding “label” instruction must be located in the same SCR segment.
The Enable Interrupt (ENI) instruction globally enables all additional interrupt event processes. The Disable Interrupt (DISI) instruction globally prohibits all interrupt event processes. When transitioning to RUN mode, the interrupt is disabled at the beginning. Once you enter the RUN mode, you can enable all interrupt processes by executing the global interrupt enable instruction. Executing the interrupt prohibition instruction will prohibit processing interrupts, but the active interrupt event will continue to be queued for waiting

What is the difference between jump instruction and interrupt?

Jump instruction, you will not jump until it is executed. That is, it will be executed only after the scanning period has been scanned, just like your mother told you not to play games to buy food, you have to wait until the game is over.
And interruption, when an interruption occurs, stop the current scan for interruption processing, just like your girlfriend, let you come over now, even if you are in the game.

What is the function and role of the jump instruction in PLC?

This is basically the case.
Jump instruction, jump to the pointer position for execution, execute to the return instruction and then return to the next jump instruction to continue execution.
There are many types of interrupts, some of which are not scanned. Anyway, always continue to execute the next program after execution.

Our New Initiative alhumdulillah. Hostel Facility for Trainees.
This is default text for notification bar

of escort çukurova escort kozan escort seyhan escort yüreğir escort adana mutlu son masaj besni escort kahta escort gölbaşı escort adıyaman mutlu son masaj bolvadin escort dinar escort sandıklı escort emirdağ escort afyon mutlu son masaj diyadin escort doğubayazıt escort patnos escort ağrı mutlu son masaj ortaköy escort aksaray mutlu son masaj merzifon escort suluova escort taşova escort amasya mutlu son masaj çankaya escort keçiören escort yenimahalle escort mamak escort etimesgut escort sincan escort altındağ escort pursaklar escort gölbaşı escort polatlı escort çubuk escort kahramankazan escort beypazari escort ankara mutlu son masaj alanya escort manavgat escort serik escort antalya mutlu son masaj şehitkamil escort nizip escort ıslahiye escort antep mutlu son masaj ardahan mutlu son masaj artvin mutlu son masaj hopa escort borçka escort aydın mutlu son masaj efeler escort nazilli escort kuşadası escort söke escort didim escort incirliova escort çine escort germencik escort balıkesir mutlu son masaj karesi escort altıeylül escort edremit escort bandırma escort gönen escort ayvalık escort burhaniye escort bigadiç escort susurluk escort bartın mutlu son masaj batman mutlu son masaj kozluk escort sason escort beşiri escort bayburt mutlu son masaj bilecik mutlu son masaj bozuyuk escort bingöl mutlu son masaj solhan escort genç escort karlıova escort bitlis mutlu son masaj tatvan escort güroaymak escort ahlat escort bolu mutlu son masaj gerede escort burdur mutlu son masaj bucak escort bursa mutlu son masaj osmangazi escort yıldırım escort nilüfer escort inegöl escort gemlik escort mudanya escort mustafakemalpaşa escort gürsu escort karacabey escort orhangazi escort kestel escort iznik escort çanakkale mutlu son masaj biga escort can escort gelibolu escort ayvacık escort çankırı mutlu son masaj çerkes escort çorum mutlu son masaj sungurlu escort osmancık escort alaca escort iskilip escort denizli mutlu son masaj pamukkale escort merkezefendi escort çivril escort acıpayam escort tavas escort diyarbakır mutlu son masaj kayapınar escort bağlar escort yenişehir escort ergani escort bismil escort sur escort silvan escort çermik escort dicle escort düzce mutlu son masaj akçakoca escort kaynaşlı escort edirne mutlu son masaj keşan escort uzunköprü escort ipsala escort elazığ mutlu son masaj kovancılar escort karakoçan escort erzincan mutlu son masaj erzurum mutlu son masaj yakutiye escort palandöken escort aziziye escort horasan escort oltu escort pasinler escort odunpazarı escort tepebaşı escort eskişehir mutlu son masaj bulancak escort espiye escort tirebolu escort görele escort giresun mutlu son masaj gümüşhane mutlu son masaj kelkit escort hakkari mutlu son masaj yüksekova escort şemdinli escort hatay mutlu son masaj antakya escort iskenderun escort defne escort dörtyol escort samandağ escort kırıkhan escort reyhanlı escort arsuz escort altınözü escort hassa escort payas escort erzin escort yayladağı escort ığdır mutlu son masaj yalvaç escort eğirdir escort sarkıkaraağaç escort ısparta mutlu son masaj istanbul mutlu son masaj izmir mutlu son masaj buca escort karabağlar escort bornova escort karşıyaka escort konak escort bayraklı escort çiğli escort torbalı escort menemen escort gaziemir escort ödemiş escort kemalpaşa escort bergama escort menderes escort aliağa escort tire escort