Lab 2 Industrial Automation
Lab 2 Industrial Automation
LAB#02
Objective:
Introduction to
Ladder Logic Programming Elements
Memory Element of Fatek FBs14MA
Programming PLC through Winproladdder
Equipment and Components
Fatek FBs14MA
Winproladder
Theory:
Ladder Logic
Ladder logic is a programming language that creates and represents a program through
ladder diagrams that are based on circuit diagrams. It is mainly used in developing programs or
software for programmable logic controllers (PLCs), which are used in industrial applications.
Ladder logic is described as a rule-based language rather than a procedural or imperative
one. Each "rung" in the ladder represents a rule, so when implemented to relays and various
electromechanical devices, these rules execute simultaneously and immediately. But if the
program is applied to PLCs, the rules are executed sequentially through software and in a
continuous loop.
The idea behind ladder logic is that even personnel without programming backgrounds can
quickly program since it makes use of conventional and familiar engineering symbols for
programming. But this advantage is quickly negated since manufacturers of PLCs often also
provide ladder logic programming systems with their products, which sometimes do not use the
same symbols and conventions as those made for other models of PLCs from other
manufacturers. Some basic ladder logic symbol are common used in PLC’s programming are
given below:
Basic Ladder Logic symbol
Ladder Symbol Title Description
Normally The Normally Open Contact mimics the
Open behavior of a physical contact and changes in
Contact response to the status of a Bit Memory
Address. The Normally Open Contact is ON
when the related bit is ON.
Fatek PLCs
Edge The Edge Contact turns ON when the
Contact related bit transitions from OFF to ON
(Rising Edge) or ON to OFF (Falling
Edge).
The FBs-PLC’s design incorporates a “System on Chip” (SoC) developed in-house by Fatek
Corporation. The BGA chip consists of
Over 120,000 gates which integrates powerful features such as a Central Processing Unit
(CPU)
Memory
Hardware Logic Solver (HLS)
5 high-speed communication ports
4 sets of hardware high-speed counters/timers
4 axes of high-speed pulse outputs for NC positioning control (with linear interpolation)
16 high-speed interrupts and captured inputs.
The FBs-PLC represents high functionality and reliability with exceptional value compared to
other PLC’s in its class.
FBs Series
The FBs-PLC has more than 300 instructions which adopts a user friendly and readable multi-
input/multi-output function structure. With this multi-input instruction structure the user can
derive many types of functionality which other brands of PLC’s may require the use of many
instructions to achieve this.
Winproladder
Winproladder can simulate the FATEK PLC ladder program execution without PLC
connection.
With providing single/multiple/continuous scan mode, the execution result at each scan
end can be easily checked.
With providing program address breakpoint and data breakpoint, it is convenient to check
any intermediate execution result and to identify any data changed.
Provides communication interface allows external program or device to modify or
monitor the variable value during the simulation.
With run time editing feature, during the simulation process the program can be modified
without stop the execution.
Functions Toolbar
The functions toolbar is the collection of functions included in the applications software,
presented in different categories. When the user selects any of the categories in the above
functions toolbar, a list of additional selectable functions will be displayed for the user to select.
Toolbar
In the process of the design of a project, it is often convenient to provide a toolbar with the
most commonly used functions included in it for the user to directly select, which can prove to
be much faster and more convenient that having to find the function through the functions
toolbar.
Figure4: Toolbar
Components Tray
We provide a component tray which allows the user to easily select the components and
command functions that they need to use without having to search for what they want through
the functions toolbar, which is faster and more convenient.
Status Bar
The status bar displays information on the status of the current application, such as whether
the application is connected, whether it is in execution or has been disconnected, and the current
location of the cursor, etc., allowing the user to know the status of the current application at all
times.
Procedure:
Create a Project
1. Execute the W inProlad.exe program.
2. Select [File] [New Project] from the function toolbar using your mouse, or press
“Ctrl” + “N” on your keyboard, and the [New Project] window will appear, as is shown
below:
3. Then goes to main menu: PLC>Simulation. It will enter simulation mode after execution.
4. Again goes to PLC then Run the program. After execution, the color of power line of
ladder program will become to red color.
5. After that the PLC connection dialog window appears, select the desired connection file
name, and press “OK” button.
6. After the connection has been established, information on this connection will be
displayed. Then press ok and the PLC connection will be completed.
Conclusion:
In this lab we learn different feature of Fatek FBs14MA PLC’s and ladder language
programming of Fatek PLC using Winproladder.