Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Function Block Diagram Programming with PLC Tutorial, Lecture notes of Circuit Theory

Definition: Function Block Diagram programming is a language in which elements appear as blocks that are connected together resembling a circuit diagram.

Typology: Lecture notes

2021/2022

Uploaded on 09/27/2022

claire67
claire67 🇬🇧

4.6

(5)

265 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Function Block Diagram Programming with PLC
Tutorial
By: Matthew Jourden
Brighton High School
Definition: Function Block Diagram programming is a language in which elements appear as blocks that
are connected together resembling a circuit diagram.
Function block diagrams show the relationship between the principal parts of a total system and are
well-suited for process or drives control.
Function (Instruction) Block is a graphical representation of a series of executable code that contains
user-defined control algorithms.
1. Open Connected Components Workbench (CCW) > New Project > Change Project Name > Add
Controller 2080-LC50-24QBB Version 9
2. Setup the modules
a. 2080-MEMBAK-RTC
b. 2080-TC-2
3. Add on Modules
a. 2085-IF4
b. 2085-OF4
pf3
pf4
pf5

Partial preview of the text

Download Function Block Diagram Programming with PLC Tutorial and more Lecture notes Circuit Theory in PDF only on Docsity!

Function Block Diagram Programming with PLC

Tutorial

By: Matthew Jourden

Brighton High School

Definition: Function Block Diagram programming is a language in which elements appear as blocks that are connected together resembling a circuit diagram.

Function block diagrams show the relationship between the principal parts of a total system and are well-suited for process or drives control.

Function (Instruction) Block is a graphical representation of a series of executable code that contains user-defined control algorithms.

  1. Open Connected Components Workbench (CCW) > New Project > Change Project Name > Add Controller 2080-LC50-24QBB Version 9
  2. Setup the modules a. 2080-MEMBAK-RTC b. 2080-TC-
  3. Add on Modules a. 2085-IF b. 2085-OF
  1. Modifying the Analog Module IF-4. Click on the module to activate the feature in the module properties in the lower part of the screen
  2. Change the following a. Channel 0L Minimum/Maximum Input Range -10V to 10V b. Channel 1, 2, and 3 > Check the Enable Channel. This will deactivate the channel so the module on the board will not try to look for input where there is no input value(s)
  3. File > New > Select
  4. Left Click on Program in the model tree > Select Add > Function Block Programming
  5. Rename Program: TEMPS > Double Click on the program to open it
  6. Modify the Analog IF-4 Module

a. Click on the IF-4 Module

Select the IF- Module to see its properties

Scenario: HVAC System : The function specification state

b. Blue status light (DO6) indicates the cooling system is running c. The cooling system runs when the thermostat’s (potentiometer) meter reading (analog output meter) is less than the temperature probe (thermocouple channel 0) d. A red status light (DO0) indicates the heating system is running e. The heating system runs when the thermostat’s meter reading is greater than the temperature probe

Program Temp

  1. Drag a Variable symbol from the toolbox and place in the top left area of the work space > once placed the system will prompt user to set the I/O variable > Select the Potentiometer I/O (IO_X1_A1_00) > rename Thermostat
  2. Drag a Variable symbol from the toolbox and place it below the Thermostat variable (See below for spacing) > set the variable type to the Thermocouple I/O (IO_P2_A1_00) > Rename Thermocouple
  3. Place a function block to the right of Thermostat > Set it as MOV (converts one variable to another)
  1. Connecting wires. Place the cursor on the right edge of the Thermostat variable where the black line is showing > Hold Left Mouse Key down and drag to connect to the MOV Instruction Block.

Before (^) After

Hold Left Mouse Button here > Drag to MOV i

Assignment 9 : Egg Carton Packing Machine

Convert the following program to a Function Block Program. Add code that will reset the full carton to zero so the process can repeat.

Add code that will use the Potentiometer (AI0) to simulate that there is a bad egg on input. If the Potentiometer is above 6V then the egg is bad. Turn on one of the red lights, pause for 3 seconds (simulates the bad egg being removed from the line), and do not count the egg as part of the dozen that go into a carton.

Submission

  1. Show the teacher both methods. (Maybe in person or video)
  2. Print out final code

Assignment 10: Drag Racer Starting Lights

Create a function block program that will do the following

  1. Push button DI4 to start program
  2. Turn ON the Yellow Lights (DO1/DO2)
  3. Timer 2 seconds
  4. Turn ON the Red Lights (DO3/DO4); Keep Yellow Lights ON
  5. Timer 2 seconds
  6. Turn ON the Green Lights (DO5/DO6); Keep Yellow/Red Lights ON
  7. Timer 2 seconds
  8. Turn OFF all lights and turn ON Blue Lights (DO7/DO8)

Submission

  1. Show the teacher both methods. (Maybe in person or video)
  2. Print out final code