Professional Documents
Culture Documents
Fourth Year
Experiment no.1
Student's Name:
Student's No.:
Type of Studying:
Introduction
A Programmable Logic Controller is called a PLC. PLCs are special-purpose industrial
computers designed for use in the control of a wide variety of manufacturing machines
and systems. In addition, a PLC is a specialized electronic device based on one or more
microprocessors that is used to control industrial machinery. XG5000 is a software tool
designed to program and debug XGT PLC series with the following features and merits. It
allows users to edit, monitor or manage PLC system interlocked with several PLC
included in a project at the same time. Additionally, the program can be made as
divided into Scan programs and various Task programs. Furthermore, XG-SIM is a
Windows-based virtual PLC for XGT PLC series. If using XG-SIM, an operator may execute
a created program without PLC and debug a PLC program by using the functions of input
setup and module simulation. XG-SIM supports the following functions:
1) Program simulation
An operator can simulate a program created by either Ladder Diagrams (LD), Sequential
Function Charts (SFC) or Structured Text (ST) languages based on IEC 61131 Languages.
In addition, it supports modification function during run, with which an operator may
apply modification during run of a program that is operated in XG-SIM, and it supports
debugging function that trace a user-created program by unit of step.
Besides program monitoring function provided by XG5000, an operator may user online
diagnosis functions such as system monitor, device monitor, trend monitor, data trace
and user event.
3) Module simulation
It also supports simple simulation function for modules mountable on XGK rack type
PLC, such as digital I/O module, A/D conversion module, D/A conversion module, high
speed counter, temperature control module and positioning module. If using the
module simulation function, a program may be simulated by using input values from
module.
The value of device may be set with value of specific device or channel value in a
module set as input conditions. Using I/O input condition setup function may realize the
program simulation as created with no PLC program separately created to test a created
PLC program.
Exercise 01: Draw the Program as show in Fig.3 which performs a simple on/off
switching circuit.
On/Off
Out
IX0.0.0 QX0.0.0
Workspace
environment
Step 1: Establish interfacing between the PC and the PLC as shown in Fig.8.
Output Devices
PLC
Output
Input
Input Devices
b) 𝐹2 = 𝐴. 𝐵. (𝐶 + 𝐷) (3 Marks).
3. Download and test function (𝐹2 ) on the PLC, then draw your connection
below (2 Marks):