OpenPLC-version1-with-LDmicro/C2/OpenPLC-Switchboard-module/English

From Script | Spoken-Tutorial
Jump to: navigation, search


VISUAL CUE NARRATION
Slide 1: Welcome to the spoken tutorial on OpenPLC Switchboard module.
Slide 2: Learning Objectives

We will learn about

  • OpenPLC Switchboard module
In this tutorial, we will learn about OpenPLC Switchboard module.
Slide 3: System Requirements
  • Ubuntu Linux 18.04 operating system
  • OpenPLC Switchboard module

To record this tutorial I am using:

  • Ubuntu Linux 18.04 operating system
  • OpenPLC Switchboard module
Slide 4: Pre-requisites
  • To follow this tutorial, you should know about OpenPLC version 1 Mainboard.
  • If not, please refer to the relevant tutorials in this series on this website.
Slide 5: Switchboard

The goal of this module is to get familiarized with different types of switches In particular their usage in the real time applications in industries

The goal of this module is to get familiarized with different types of switches.

In particular their usage in the real time applications in industries.

Slide 6: Main Components
  • 4 Normally Open switches
  • 4 Normally Closed switches
  • 2 Latched action switches
  • LEDs for each switch
This module has
  • 4 Normally Open switches
  • 4 Normally Closed switches
  • 2 Latched action switches and
  • LEDs for each switch
switchboard.jpg This is the Switchboard module.
Slide 7: Types of Switches:
  • Normally open (NO)
  • Normally closed (NC)
  • Latched action (L)
In this module, there are three kinds of switches available.

They are Normally Open, Normally Closed and Latched action switches.

switchboard.jpg ( to show with arrow) Normally Open is represented as NO and Normally Closed is represented as NC.

Latched action switches are represented as L.

SB-switches.png We will now look at their arrangement on the module from bottom to top.
SB-switches.png

Highlight Latch switches

Then NC and then NO

At the bottom, we have two Latched action switches.

Above that we have 4 Normally Closed and then 4 Normally Open switches.

SB-leds.png Above these switches we have LEDs corresponding to each switch.

The LEDs are arranged in the same order as that of switches.

Each LED glow indicates a corresponding switch press.
SB-connectors.png On the top we have female berg connectors for connections.
SB-connectors-z.png

Point to each particular pin

Next, we will see about the pins.

Starting from the right, the first two pins are GND and 5V respectively.

These are the input power pins of this module.

Then we have 4 pins for 4 NO switches and 4 pins for 4 NC switches.

The last 2 pins are for 2 latched action switches.

Slide 8: Important Note
  • NO and latched action switches must be connected to the I/Os of the microcontroller
  • Only then the LEDs of the corresponding switches will work
  • Note that LEDs of NC switches will work, even if they are not connected to I/Os
NO and Latched action switches must be connected to the I/Os of the microcontroller.

Only then the LEDs of the corresponding switches will work.

Note that LEDs of NC switches will work, even if they are not connected to I/Os of the microcontroller.

Now, we’ll learn how each type of the switch works.
Slide 9: Normally Open switch
  • The output pin of a NO switch will read logic 0 when it is not pressed
  • When the switch is pressed, the output pin will read 5V
  • This is due to the supply from the microcontroller’s internal pull up register
The output pin of a NO switch will read logic 0 when it is not pressed.

When the switch is pressed, the output pin will read 5V.

This is due to the supply from the microcontroller’s internal pull up register.

Slide 10: Normally Closed switch
  • The output pin of a NC switch will read 5V when it is not pressed
  • This is due to the supply from the microcontroller’s internal pull up register
  • Upon switch press, the output pin will read logic 0 or ground
The output pin of a NC switch will read 5V when it is not pressed.

This is due to the supply from the microcontroller’s internal pull up register.

Upon switch press, the output pin will read logic 0 or Ground.

Slide 11: Latched action switch
  • It is basically a push-to-make, push-to-break type of switch
  • That is, the output pin will read 5V, when it is pressed for the first time

The output pin will read 0V, when it is pressed for the second time

It is basically a push-to-make, push-to-break type of switch.

That is, the output pin will read 5V, when it is pressed for the first time.

The output pin will read 0V, when it is pressed for the second time.

Working of the LED of a latched action switch corresponds to that of a NO switch.

Slide 12:How can the Switchboard module be powered?

Switchboard module can be powered using the output power pins of the Mainboard

How can the Switchboard module be powered?

It can be powered using the output power pins of the Mainboard.

We have learnt about the different types of switches in the Switchboard module.
This brings us to the end of the tutorial.

Let us summarize.

Slide 13: Summary
  • OpenPLC Switchboard module
In this tutorial, we learnt about OpenPLC Switchboard module
Slide 14:

About Spoken Tutorial project

The video at the following link summarises the Spoken Tutorial project.

Please download and watch it

Slide 15:

Spoken Tutorial workshops

The Spoken Tutorial Project team:
  • conducts workshops using spoken tutorials and
  • gives certificates on passing online tests.

For more details, please write to us.

Slide 16:

Forum for specific questions:

Please post your timed queries in this forum
Slide 17:

Forum for specific questions:

Do you have any general / technical questions on OpenPLC?

Please visit the FOSSEE forum and post your question.

Slide 18:

Acknowledgement

Spoken Tutorial Project is funded by MHRD, Government of India.
Slide 19:

Thank you slide

This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.

And this is Harsha Priyanka from the FOSSEE team, signing off.

Thanks for watching.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat