Difference between revisions of "OpenPLC-version1-with-LDmicro/C2/OpenPLC-Switchboard-module/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with " {| border="1" |- || '''VISUAL CUE''' || '''NARRATION''' |- || Slide 1: || Welcome to the spoken tutorial on '''OpenPLC Switchboard module ''' |- || Slide 2: Learning Objec...")
 
 
Line 7: Line 7:
 
|-
 
|-
 
|| Slide 1:  
 
|| Slide 1:  
|| Welcome to the spoken tutorial on '''OpenPLC Switchboard module '''
+
|| Welcome to the spoken tutorial on '''OpenPLC Switchboard module.'''
 
|-  
 
|-  
 
|| Slide 2: Learning Objectives
 
|| Slide 2: Learning Objectives
  
 
We will learn about
 
We will learn about
* OpenPLC Switchboard''' '''module
+
* OpenPLC Switchboard module'''
||  
+
|| In this tutorial, we will learn about '''OpenPLC Switchboard module'''.
 
+
In this tutorial, we will learn about* '''OpenPLC Switchboard '''module
+
 
|-  
 
|-  
 
|| Slide 3: System Requirements
 
|| Slide 3: System Requirements
Line 24: Line 22:
 
To record this tutorial I am using:
 
To record this tutorial I am using:
 
* '''Ubuntu Linux 18.04''' operating system
 
* '''Ubuntu Linux 18.04''' operating system
* '''OpenPLC''' '''Switchboard''' module
+
* '''OpenPLC Switchboard module'''  
 
|-  
 
|-  
 
|| Slide 4: Pre-requisites
 
|| Slide 4: Pre-requisites
|| * To follow this tutorial, you should know about '''OpenPLC version 1''' '''Mainboard'''.
+
||  
 +
* 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.
 
* If not, please refer to the relevant tutorials in this series on this website.
  
 
|-  
 
|-  
|| Slide 5: SwitchboardThe goal of this module is to get familiarized with different types of switches
+
|| 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
 
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'''.
 
+
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.
 
In particular their usage in the real time applications in industries.
 
|-  
 
|-  
 
|| Slide 6: Main Components
 
|| Slide 6: Main Components
4 Normally Open switches
+
*4 '''Normally Open switches'''
4 Normally Closed switches
+
*4 '''Normally Closed switches'''
2 Latched action switches
+
*2 '''Latched action switches'''
LEDs for each switch
+
*'''LEDs''' for each '''switch'''
  
|| This module has
+
|| This '''module''' has
*4 Normally Open switches
+
*4 '''Normally Open switches'''
*4 Normally Closed switches
+
*4 '''Normally Closed switches'''
*2 Latched action switches and
+
*2 '''Latched action switches''' and
*LEDs for each switch
+
*'''LEDs''' for each '''switch'''
 
|-  
 
|-  
 
|| switchboard.jpg
 
|| switchboard.jpg
|| This is the '''Switchboard''' module.
+
|| This is the '''Switchboard module'''.
 
|-  
 
|-  
|| Slide 7: Types of Switches:Normally open (NO)
+
|| Slide 7: Types of '''Switches:'''
Normally closed (NC)
+
*'''Normally open''' (NO)'''
Latched action (L)
+
*'''Normally closed (NC)'''
 +
*'''Latched action (L)'''
  
|| In this module, there are three kinds of switches available.
+
|| In this '''module''', there are three kinds of '''switches''' available.
  
 
They are '''Normally Open, Normally Closed '''and''' Latched action switches.'''
 
They are '''Normally Open, Normally Closed '''and''' Latched action switches.'''
Line 66: Line 65:
 
|| '''Normally Open''' is represented as '''NO''' and '''Normally Closed''' is represented as '''NC'''.
 
|| '''Normally Open''' is represented as '''NO''' and '''Normally Closed''' is represented as '''NC'''.
  
'''Latched action''' switches are represented as '''L'''.
+
'''Latched action switches''' are represented as '''L'''.
 
|-  
 
|-  
 
|| SB-switches.png
 
|| SB-switches.png
|| We will now look at their arrangement on the module from bottom to top.
+
|| We will now look at their arrangement on the '''module''' from bottom to top.
 
|-  
 
|-  
 
|| SB-switches.png
 
|| SB-switches.png
Line 76: Line 75:
  
 
Then NC and then NO
 
Then NC and then NO
|| At the bottom, we have two '''Latched action''' switches.
+
|| At the bottom, we have two '''Latched action switches'''.
  
Above that we have 4 '''Normally Closed''' and then 4 '''Normally Open '''switches.
+
Above that we have 4 '''Normally Closed''' and then 4 '''Normally Open switches'''.
 
|-  
 
|-  
 
|| SB-leds.png
 
|| SB-leds.png
  
|| Above these switches we have LEDs corresponding to each switch.  
+
|| Above these '''switches''' we have '''LEDs''' corresponding to each '''switch'''.  
  
The LEDs are arranged in the same order as that of switches.
+
The '''LEDs''' are arranged in the same order as that of '''switches'''.
 
|-  
 
|-  
 
||  
 
||  
|| Each LED glow indicates a corresponding switch press.
+
|| Each '''LED''' glow indicates a corresponding '''switch''' press.
 
|-  
 
|-  
 
|| SB-connectors.png
 
|| SB-connectors.png
|| On the top we have female berg connectors for connections.
+
|| On the top we have '''female berg''' connectors for connections.
 
|-  
 
|-  
 
|| SB-connectors-z.png
 
|| SB-connectors-z.png
  
 
Point to each particular pin
 
Point to each particular pin
|| Next, we will see about the pins.
+
|| Next, we will see about the '''pins'''.
  
Starting from the right, the first two pins are GND and 5V respectively.
+
Starting from the right, the first two '''pins''' are '''GND''' and '''5V''' respectively.
  
These are the input power pins of this module.
+
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.'''  
+
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'''.
+
The last 2 '''pins''' are for 2 '''latched action switches'''.
 
|-  
 
|-  
 
|| Slide 8: Important Note
 
|| Slide 8: Important Note
Line 110: Line 109:
 
* Note that LEDs of NC switches will work, even if they are not connected to I/Os
 
* 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.
+
|| '''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.
+
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.
+
Note that '''LEDs''' of '''NC switches''' will work, even if they are not connected to '''I/O'''s of the '''microcontroller'''.
 
|-  
 
|-  
 
||  
 
||  
|| Now, we’ll learn how each type of the switch works.
+
|| Now, we’ll learn how each type of the '''switch''' works.
 
|-  
 
|-  
|| Slide 9: Normally Open switchThe output pin of a '''NO switch '''will read logic 0 when it is not pressed
+
|| Slide 9: Normally Open switch
When the switch is pressed, the output pin will read 5V
+
*The output pin of a '''NO switch '''will read logic 0 when it is not pressed
This is due to the supply from the microcontroller’s internal pull up register
+
*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.
+
|| 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.
+
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.
+
This is due to the supply from the '''microcontroller’s''' internal '''pull up register'''.
 
|-  
 
|-  
|| Slide 10: Normally Closed switchThe output pin of a NC switch will read 5V when it is not pressed
+
|| Slide 10: Normally Closed switch
This is due to the supply from the microcontroller’s internal pull up register
+
*The output pin of a NC switch will read 5V when it is not pressed
Upon switch press, the output pin will read logic 0 or ground
+
*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.
+
|| 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.
+
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'''.
+
Upon '''switch''' press, the output '''pin''' will read '''logic 0''' or '''Ground'''.
 
|-  
 
|-  
|| Slide 11: Latched action switchIt is basically a '''push-to-make,''' '''push-to-break''' type of switch
+
|| Slide 11: Latched action switch
That is, the output pin will read 5V, when it is pressed for the first time
+
*It is basically a '''push-to-make, push-to-break''' type of '''switch'''
The output pin will read 0V, when it is pressed for the second time
+
*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
  
|| '''Latched action''' switch is basically a '''push-to-make,''' '''push-to-break''' type of 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.
+
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.
+
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.'''
+
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?
 
|| Slide 12:How can the Switchboard module be powered?
  
 
Switchboard module can be powered using the output power pins of the Mainboard
 
Switchboard module can be powered using the output power pins of the Mainboard
|| How can the Switchboard module be powered?
+
|| How can the '''Switchboard module''' be powered?
  
It can be powered using the output power pins of the '''Mainboard'''.
+
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.
+
|| We have learnt about the different types of '''switches''' in the '''Switchboard module'''.
 
|-  
 
|-  
 
||  
 
||  
Line 166: Line 168:
 
Let us summarize.
 
Let us summarize.
 
|-  
 
|-  
|| Slide 13: Summary* OpenPLC''' '''Switchboard''' '''module
+
|| Slide 13: Summary
 +
* '''OpenPLC Switchboard module'''
  
|| In this tutorial, we learnt about
+
|| In this tutorial, we learnt about '''OpenPLC Switchboard module'''
* '''OpenPLC Switchboard '''module
+
  
 
|-  
 
|-  
Line 182: Line 184:
  
 
Spoken Tutorial workshops
 
Spoken Tutorial workshops
|| The''' Spoken Tutorial Project''' team:* <div style="margin-left:1.27cm;margin-right:-0.106cm;">conducts workshops using spoken tutorials and
+
|| The''' Spoken Tutorial Project''' team:
gives certificates on passing online tests.
+
* conducts workshops using spoken tutorials and
 +
* gives certificates on passing online tests.
  
For more details, please write to us
+
For more details, please write to us.
 
|-  
 
|-  
 
|| Slide 16:
 
|| Slide 16:

Latest revision as of 11:22, 16 January 2021


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