Creating A Function Block - Mitsubishi Electric FX Series Training Manual

Programmable logic controllers
Hide thumbs Also See for FX Series:
Table of Contents

Advertisement

Functions and Function Blocks

Creating a Function Block

6.2
Objective:
Build a Function Block to act as a Star/Delta Starter. Declare the following variables:
Start Pushbutton:
Stop Pushbutton:
Overload Contact:
Switchover Time:
Time Register:
Star Contactor Output:
Delta Contactor Output:
Name the Function Block STAR_DELTA.
Procedure:
Start a new "Empty" project in GX IEC Developer called "Motor Control" with no POU's.
Create a new POU
of Class "Function Block" ( FB ) with a language
Body type Ladder Diagram .
STAR_DELTA will now have appeared on the POU tree.
Click once to open the Header and Body branches.
Double click, to open the Header.
Declaring Local Variables
Declare variables as shown below.
Check, save and then close the Header window.
6 - 14
START
STOP
OVERLOAD
TIMEBASE
TIME_COIL
STAR_COIL
DELTA_COIL
named "STAR_DELTA"
Creating a Function Block
MITSUBISHI ELECTRIC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents