Industrial Mechatronics Technology  ·  Level 6
Plc System Installation And Maintenance
Chapter 3: Program PLC
📚 14 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Correctly install PLC programming software by following the manufacturer’s instructions.
  • Accurately program the PLC to meet specific job requirements.
  • Simulate the PLC program to check that it works as expected.
  • Safely download the PLC program according to software specifications.
  • Thoroughly test the PLC program to ensure it functions correctly.

Mastering these skills will help you confidently handle PLC programming tasks in real industrial settings.

Industrial Mechatronics Technology professionals in Kenya rely heavily on Programmable Logic Controllers (PLCs) for automation and control tasks in manufacturing, processing plants, and other industrial settings. Programming these PLCs requires specialized software tailored to different brands and models. This chapter delves into the installation of key PLC programming software packages widely used within the Kenyan industrial landscape, enabling technicians and engineers to configure, monitor, and troubleshoot PLC systems effectively.

3.1 Installation of PLC programming software

The installation of PLC programming software is a foundational step for any mechatronics engineer tasked with maintaining or developing PLC-based control systems. Proper installation ensures compatibility with PLC hardware, facilitates communication between the PC and PLC, and enables the use of advanced programming features. In Kenya, where industries range from agro-processing to manufacturing, the ability to install and configure these software packages is critical for operational continuity and efficiency.

3.1.1 RS Logix

RS Logix is a prominent PLC programming software developed by Rockwell Automation, commonly used with Allen-Bradley PLCs. Its installation process must be carefully managed to align with system requirements and hardware compatibility.

System Requirements for RS Logix Installation

  • Operating System Compatibility: RS Logix supports Windows 7, 8, and 10 professional editions; ensuring the PC meets these OS standards is crucial to avoid installation errors.
  • Hardware Specifications: Minimum RAM of 4GB and at least 10GB of free disk space are required for smooth operation, with a dual-core processor recommended for handling large projects.
  • Communication Ports: USB or Ethernet ports must be operational and configured correctly to enable PLC communication.

Installation Procedure

  1. Obtain Licensed Software: Acquire RS Logix installation media or download from the official Rockwell Automation portal, ensuring license validity.
  2. Run Installer as Administrator: This prevents permission errors during installation.
  3. Select Installation Type: Choose between Typical or Custom installation based on user expertise and requirements.
  4. Configure Communication Drivers: Install necessary drivers for USB or Ethernet communication with Allen-Bradley PLCs.
  5. Activate Software License: Use the provided license key to activate the software post-installation.
  6. Verify Installation: Launch RS Logix and connect to a PLC device to confirm proper setup.

Troubleshooting Common Installation Issues

  • Driver Conflicts: Conflicts with existing drivers can prevent communication; uninstall conflicting drivers and reinstall the correct ones.
  • Permission Denied Errors: Running the installer without administrative privileges often leads to failed installation.
  • Firewall Blocking Communication: Windows Firewall or antivirus software may block necessary ports; configure exceptions accordingly.
  • License Activation Failures: Incorrect license keys or expired licenses prevent software use; verify license status with Rockwell support.

Practical Applications in Kenyan Industry

At a Nairobi-based beverage processing plant, RS Logix enables technicians to program Allen-Bradley ControlLogix PLCs for automated bottling lines. Proper installation ensures rapid response to faults and efficient system upgrades, minimizing downtime.

3.1.2 Logosoft

Logosoft is Siemens’ software designed for programming their LOGO! series PLCs, popular in small-scale industrial and commercial automation projects across Kenya.

Overview of Logosoft Software

Logosoft provides a user-friendly graphical interface for ladder logic programming, ideal for simple automation tasks such as lighting control at hotels or irrigation systems on farms.

Installation Prerequisites

  • Supported Operating Systems: Windows 7 and above, with 32-bit and 64-bit versions supported.
  • Minimum Hardware Requirements: 2GB RAM and 500MB free disk space suffice due to the software’s lightweight nature.
  • USB Communication Setup: Installation of LOGO! USB drivers is necessary for hardware interfacing.

Step-by-Step Installation

  1. Download or Insert Installation Media: Obtain the latest version from Siemens’ official website.
  2. Install USB Drivers: This step is critical for establishing communication with LOGO! PLCs.
  3. Run Setup Program: Follow on-screen prompts to install core software components.
  4. Configure Language and Preferences: Select appropriate language and interface settings.
  5. Complete Installation and Restart: Reboot the PC to finalize installation.
  6. Test Connection with PLC: Open Logosoft and attempt to connect to a LOGO! PLC via USB.

Integration in Kenyan Automation Scenarios

At a county government office in Kisumu, Logosoft is used to program LOGO! PLCs controlling access gates and lighting, demonstrating its suitability for small-scale automation that enhances security and energy efficiency.

3.1.3 Gx Works

Gx Works is Mitsubishi Electric’s programming software for their MELSEC PLC range, extensively used in Kenyan manufacturing and packaging industries.

Software Features and Compatibility

Gx Works supports ladder, structured text, and function block programming, catering to diverse automation needs. It is compatible with Windows 7, 8, and 10, requiring moderate system resources.

Installation Requirements

  • Processor and Memory: Minimum Intel i3 processor and 4GB RAM recommended.
  • Disk Space: At least 8GB free space for installation and project files.
  • Communication Interfaces: USB and Ethernet drivers must be installed for proper PLC interfacing.

Installation Steps

  1. Acquire Software Package: Download from Mitsubishi’s website or use authorized distributors.
  2. Run Installer with Admin Rights: Prevents permission-related failures.
  3. Select Installation Components: Choose full installation to include debugging and simulation tools.
  4. Install Communication Drivers: Essential for USB/Ethernet connectivity.
  5. Activate License: Enter the license key to unlock full functionalities.
  6. Verify Installation: Connect to a MELSEC PLC and upload/download a test program.

Use Case in Kenyan Industry

At a dairy processing plant in Eldoret, Gx Works enables engineers to program MELSEC PLCs that automate pasteurization and packaging, improving product consistency and operational safety.

3.1.4 Step 5 - Micro WIN

Step 5 Micro WIN is Siemens’ legacy programming software for the S7-200 series PLCs, still prevalent in many Kenyan industries despite newer alternatives.

Software Characteristics and Legacy Status

Step 5 Micro WIN offers ladder logic programming in a simple interface but lacks some modern features found in newer Siemens software like TIA Portal, making it suitable for maintenance of existing S7-200 installations.

Installation Environment

  • Supported Systems: Compatible primarily with Windows XP, 7, and some versions of 10 with compatibility mode.
  • Hardware Needs: Minimal, with 2GB RAM and 1GB free disk space sufficient.
  • Communication Drivers: MPI or USB drivers required for PLC connection.

Installation Process

  1. Obtain Software Media: From Siemens archives or authorized dealers.
  2. Install Communication Drivers First: To ensure hardware recognition.
  3. Run Setup Executable: Follow prompts for installation location and components.
  4. Configure Compatibility Settings: For Windows 10, set compatibility mode to Windows 7 or XP.
  5. Complete Installation and Reboot: Ensures drivers and software initialize correctly.
  6. Test Connectivity: Use the software to read PLC status or upload a program.

Practical Considerations in Kenyan Facilities

A manufacturing workshop in Nakuru still maintains S7-200 PLCs programmed with Step 5 Micro WIN, emphasizing the need to support legacy software for uninterrupted industrial operations.

3.1.5 Step 7 - Simatic Manager

Step 7 Simatic Manager is Siemens’ advanced programming environment for S7-300 and S7-400 PLCs, widely used in complex industrial automation projects in Kenya.

Functional Overview and Software Architecture

Simatic Manager supports multiple programming languages, hardware configuration, and diagnostics. It is modular, allowing integration with other Siemens tools.

Installation Prerequisites

  • Operating System: Windows 7 or later, 64-bit preferred.
  • System Resources: At least 8GB RAM and 20GB free disk space recommended due to software complexity.
  • Network Configuration: Ethernet port required for PLC communication.

Installation Procedure

  1. Obtain Full Installation Package: From Siemens or authorized distributors.
  2. Run Installer as Administrator: To avoid permission issues.
  3. Select Components: Including Simatic Manager, S7-PLCSIM for simulation, and communication drivers.
  4. Configure Network Settings: Ensure PC and PLC are on the same subnet.
  5. Activate License: License key entry is mandatory.
  6. Validate Installation: Connect to an S7-300 or S7-400 PLC and perform a test upload/download.

Application in Kenyan Industrial Automation

At a textile factory in Thika, Step 7 Simatic Manager is used to program S7-300 PLCs controlling conveyor systems, enhancing production line automation and fault detection.

3.1.6 TIA Portal

Totally Integrated Automation (TIA) Portal represents Siemens’ latest integrated engineering framework combining programming, configuration, and diagnostics in one environment, increasingly adopted in Kenyan industries.

Software Integration and Capabilities

TIA Portal unifies Step 7, WinCC, and other Siemens software, allowing seamless project management for S7-1200, S7-1500 PLCs, and HMI devices. Its modern interface supports multi-language programming and simulation.

System Requirements and Installation Considerations

  • Operating System: Windows 10 64-bit recommended for optimal performance.
  • Hardware Specifications: Minimum 8GB RAM, quad-core processor, 40GB free disk space due to software size.
  • Graphics and Network: Dedicated graphics card recommended; Ethernet port required.

Installation Steps

  1. Download or Obtain Installation Media: From Siemens’ official channels.
  2. Run Installer with Admin Privileges: Ensures full system access.
  3. Select Required Modules: Such as PLC programming, HMI configuration, and safety programming.
  4. Install Communication Drivers: For Profinet, Ethernet, and USB interfaces.
  5. Activate Software License: Using Siemens licensing tools.
  6. Test Software Functionality: Create a sample project and connect to a TIA Portal-compatible PLC.

Impact on Kenyan Industrial Mechatronics Practice

A large agribusiness in Meru uses TIA Portal to integrate automation across planting, irrigation, and harvesting machinery, streamlining operations and improving yield through precise control.

Practice Questions

  1. Explain the key system requirements necessary for installing RS Logix software on a workstation. (10 marks)

  2. Describe the installation steps of Logosoft software and identify why USB driver installation is crucial. (10 marks)

  3. Compare the installation prerequisites of Gx Works and Step 7 Simatic Manager software. (10 marks)

  4. Outline the challenges faced when installing Step 5 Micro WIN on modern operating systems and how to address them. (10 marks)

  5. Discuss how TIA Portal integrates different Siemens software tools and the benefits this brings to industrial automation. (10 marks)

The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒3.2 Configuration of PLC software and hardware

In industrial mechatronics applications across Kenya, proper configuration of PLC software and hardware is critical to ensure that automated systems operate reliably and efficiently. Whether in automated packaging lines at manufacturing plants or process contr…

🔒3.3 Flow diagrams

Flow diagrams are vital tools in industrial mechatronics, providing visual representations of process sequences and control logic. In Kenyan industrial settings such as pharmaceutical manufacturing or automated cold storage management, flow diagrams help techn…

🔒3.4 PLC Programming Languages

In Industrial Mechatronics Technology, especially within Kenyan manufacturing plants and automated assembly lines, the choice of PLC programming language directly affects system reliability, troubleshooting, and maintainability. Each language offers distinct a…

🔒3.5 Creation of PLC I/O Schedules

In industrial mechatronics technology within Kenya, the creation of PLC input/output (I/O) schedules is a fundamental task that directly affects the accuracy and functionality of automation systems. These schedules serve as detailed maps linking physical devic…

🔒3.6 PLC Programming

PLC programming is the core activity that transforms hardware connections into functional automated processes. In the Kenyan industrial mechatronics sector, from automotive assembly plants to water treatment facilities, the ability to develop and modify PLC pr…

🔒3.7 Simulation of PLC Program

Simulation of a PLC program is a critical step in the development and testing of control systems within industrial mechatronics. In Kenya, where industrial automation is rapidly expanding in manufacturing, agro-processing, and water treatment plants, simulatio…

🔒3.8 Troubleshoot PLC Program Faults

Troubleshooting PLC program faults is an essential skill for industrial mechatronics technicians tasked with maintaining reliable automated systems. In Kenya’s manufacturing and processing industries, unexpected PLC faults can cause costly downtime and safety…

🔒3.9 Reconfiguration of PLC Programming Software

In the dynamic industrial environments typical of Kenyan manufacturing and processing plants, the ability to reconfigure PLC programming software is vital for maintaining operational efficiency and adapting to evolving production requirements. Industrial Mecha…

🔒3.10 PLC Operation Modes

PLC operation modes define how the controller functions during different phases of the automation process. Understanding these modes is crucial for Industrial Mechatronics Technology professionals working in Kenyan industries such as pharmaceutical manufacturi…

🔒3.11 Establishment of PLC Communication

In Industrial Mechatronics Technology, establishing reliable communication with Programmable Logic Controllers (PLCs) is fundamental for seamless control, monitoring, and troubleshooting of automated systems. In Kenya, industries such as manufacturing plants,…

🔒3.12 Clearance of PLC Memory

Clearing or resetting PLC memory is a critical maintenance task in industrial automation that ensures the controller operates without residual data or program conflicts. In Kenya’s industrial mechatronics environments, such as automated textile factories or co…

🔒3.13 Downloading of PLC Program to PLC Hardware

In industrial mechatronics systems across Kenya, precise and reliable transfer of control logic from development environments to physical PLC devices is critical for automation success. Whether in a manufacturing plant, water treatment facility, or automated w…

🔒3.14 Practice: Developing and Debugging PLC Programs

Developing and debugging PLC programs form the core of effective automation in industrial mechatronics. In Kenya’s diverse industrial sectors, from agro-processing plants to commercial manufacturing, engineers must ensure that PLC programs are not only functio…

Chapter Summary

This chapter provides a comprehensive overview of programming programmable logic controllers (PLCs) starting with the installation of various PLC programming software such as RS Logix, Logosoft, Gx Works, Step 5-Micro Wins, Step 7-Simatic Manager, and TIA Portal. It then covers the configuration of both PLC software and hardware to ensure proper system integration. The chapter explains the use of flow diagrams including cross-functional and swim lane flow diagrams for process visualization. Various PLC programming languages are introduced, including ladder logic, functional block diagrams, structured text, sequential flow charts, and instruction lists, highlighting their applications. Guidance on creating PLC and input/output schedules is provided to facilitate organized programming. The structure of PLC programs and the role of program rungs are detailed to build a functional understanding. Simulation techniques for testing PLC programs precede troubleshooting methods addressing faults such as I/O module failure, power supply issues, corrupted memory, and voltage supply problems. The chapter also discusses the reconfiguration of PLC software, different PLC operation modes, establishing PLC communication, and clearing PLC memory. Finally, it concludes with the process of downloading programs to PLC hardware and practical exercises on developing and debugging PLC programs to consolidate learning.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Which software would you use for programming Allen-Bradley PLCs? (2 marks)
  2. Describe the main purpose of a swim lane flow diagram in PLC programming. (3 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Describe the main features of RS Logix software used in PLC programming and explain its relevance in Kenyan manufacturing industries. (4 marks)
  2. Identify four key differences between Logosoft and Gx Works software in terms of PLC programming capabilities. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Installation and Verification of PLC Programming Software

Industrial Mechatronics Technology · Level 6
Plc System Installation And Maintenance
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Install and verify the operation of RS Logix 5000, Logosoft, Gx Works, Step 5 MicroWin, Step 7 Simatic Manager, and TIA Portal software on the provided computer station.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Computer station (Windows 10 or later)RS Logix 5000 software installation media
PLC programming cableLogosoft software installation media
External USB driveGx Works software installation media
Set of basic IT toolsStep 5 MicroWin software installation media
Step 7 Simatic Manager software installation media
TIA Portal software installation media
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Computer station (Windows 10 or later)1 Pc per Candidate
2RS Logix 5000 software installation media1 Set per Candidate
3Logosoft software installation media1 Set per Candidate
4Gx Works software installation media1 Set per Candidate
5Step 5 MicroWin software installation media1 Set per Candidate
6Step 7 Simatic Manager software installation media1 Set per Candidate
7TIA Portal software installation media1 Set per Candidate
8PLC programming cable (USB or Serial, compatible with software)1 Pc per Candidate
9External USB drive for software backup1 Pc per Candidate
10Set of basic IT tools (e.g. screwdrivers, USB extension cables)1 Set shared per 3 Candidates
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Installation Preparation and PPE
Wore personal protective equipment (PPE) including dust coat and safety boots
(Award 1 mark for each worn PPE item; 2x1=2 Marks)
2
Sub-Total2
TASK 2: Software Installation
Inserted and accessed each software installation media correctly
(Award 2 marks for correct access and preparation for each software set)
2
Installed RS Logix 5000 software successfully
(Award 3 marks for full correct installation without errors)
3
Installed Logosoft software successfully
(Award 3 marks for full correct installation without errors)
3
Installed Gx Works software successfully
(Award 3 marks for full correct installation without errors)
3
Installed Step 5 MicroWin software successfully
(Award 3 marks for full correct installation without errors)
3
Installed Step 7 Simatic Manager software successfully
(Award 3 marks for full correct installation without errors)
3
Installed TIA Portal software successfully
(Award 3 marks for full correct installation without errors)
3
Sub-Total20
TASK 3: Verification and Backup
Verified successful launch of each installed software without errors
(Award 1 mark per successful software launch x 6 = 6 Marks)
6
Connected PLC programming cable correctly to the computer
(Award 2 marks for correct connection and device recognition)
2
Backed up installation files and configuration on external USB drive
(Award 3 marks for proper backup without data loss)
3
Sub-Total11
TASK 4: Housekeeping and System Shutdown
Closed all software properly and shut down the computer station safely
(Award 2 marks for correct shutdown procedure)
2
Returned all tools and materials to their designated storage areas
(Award 2 marks for neat and complete storage)
2
Performed general housekeeping of the workstation area
(Award 2 marks for clean and organized workspace)
2
Sub-Total6
PRODUCT CHECKLIST
All six PLC programming software packages installed and launching correctly
(Award full 20 marks if all software are installed and run without errors; otherwise 0)
20
Sub-Total20
GRAND TOTAL59
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Configure PLC Software Settings and Hardware Modules for System Programming

Industrial Mechatronics Technology · Level 6
Plc System Installation And Maintenance
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Configure the PLC software communication settings and hardware modules including push button switches, capacitive sensor, and indicator lamps.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Computer station with Siemens TIA PortalPush button switches 24V DC
PLC programming cableIndicator lamps 24V DC
Digital multimeterCapacitive sensor 24V DC
Set of hand toolsPLC module Siemens S7-1200 or equivalent
Connecting wires 1mm
Power supply 24V DC
Masking tape
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Push button switches 24V DC2 Pcs per Candidate
2Indicator lamps 24V DC3 Pcs per Candidate
3Capacitive sensor 24V DC1 Pc per Candidate
4PLC module Siemens S7-1200 or equivalent1 Pc per Candidate
5Computer station with Siemens TIA Portal installed1 Pc per Candidate
6PLC programming cable compatible with Siemens S7-12001 Pc per Candidate
7Digital multimeter1 Pc per 3 Candidates
8Connecting wires 1mm10 meters per Candidate
9Power supply 24V DC1 Pc per Candidate
10Set of hand tools (screwdrivers, side cutter, stripping knife)1 set per Candidate
11Masking tape1 roll per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Configure PLC Hardware Modules and Software Settings
Wore personal protective equipment: overall/dust coat and safety boots
(Award 1 mark for each correct PPE worn)
2
Identified and prepared all required hardware components for configuration
(Award full marks for correct identification and preparation)
2
Connected push button switches and capacitive sensor correctly to the PLC input modules
(Award 1 mark each for correct wiring of each input device)
3
Connected indicator lamps correctly to the PLC output modules
(Award 1 mark each for correct wiring of each output device)
3
Configured the PLC software communication settings for correct connection between the computer and PLC
(Award full marks for correct IP addressing, port settings and driver selection)
4
Set the hardware configuration in the PLC software matching the connected physical modules
(Award full marks for correct module selection, slot assignment and addressing)
4
Tested the hardware connections using the software diagnostics and multimeter
(Award full marks for correct testing and fault identification if any)
4
Powered the PLC system safely and verified power supply connections
(Award full marks for correct power connection and safety compliance)
2
Sub-Total24
PRODUCT CHECKLIST
PLC hardware modules configured correctly matching software settings and wiring (push buttons, sensor, lamps)
(Award full marks for correct hardware and software alignment)
4
PLC software communication settings correctly configured enabling successful connection to the PLC
(Award full marks for verified communication link)
4
All wiring connections are neat, secure, and labelled using masking tape
(Award marks for neatness, security and correct labelling)
3
System powered on without faults and ready for programming
(Award full marks for successful power-up and readiness confirmation)
5
Sub-Total16
GRAND TOTAL40
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Create and Interpret Flow Diagrams for a PLC Controlled ProcessPractical 3
🔒Program PLC using ladder logic for timed indicator controlPractical 4
🔒Program a PLC using functional block diagrams for a timed lamp sequencePractical 5
🔒Program a PLC to Control Sequential Indicator Lamps Using Structured TextPractical 6
🔒Program PLC to control sequential indicator lamps using flow chartsPractical 7
🔒Program a PLC using Instruction List language for sequential lamp controlPractical 8
🔒Create detailed PLC and I/O schedules for system installationPractical 9
🔒Simulate a PLC program for sequential lamp controlPractical 10
🔒Troubleshoot and Repair Common PLC Program and Hardware FaultsPractical 11
🔒Reconfigure PLC Programming Software for Updated HardwarePractical 12
🔒Operate and Switch PLC in Run, Stop, and Program ModesPractical 13
🔒Establish and Test PLC Communication with External DevicesPractical 14
🔒Clear and Download PLC Program to Hardware with DebuggingPractical 15
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 19 questions Start quiz ▾
0%
0 / 2
🔒

17 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • Correctly install PLC programming software by following the manufacturer’s instructions.
  • Accurately program the PLC to meet specific job requirements.
  • Simulate the PLC program to check that it works as expected.
  • Safely download the PLC program according to software specifications.
  • Thoroughly test the PLC program to ensure it functions correctly.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.