6.2
Creating a Function Block
Objective:
Build a Function Block to act as a Star/Delta Starter. Declare the following variables:
–
Start Pushbutton:
START
–
Stop Pushbutton:
STOP
–
Overload Contact:
OVERLOAD
–
Switchover Time:
TIMEBASE
–
Time Register:
TIME_COIL
–
Star Contactor Output:
STAR_COIL
–
Delta Contactor Output:
DELTA_COIL
Name the Function Block
STAR_DELTA.
Procedure:
햲
Start a new “Empty” project in GX IEC Developer called “
Motor Control
” with no POU’s.
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
MITSUBISHI ELECTRIC
Functions and Function Blocks
Creating a Function Block
햳
Create a new POU
named “STAR_DELTA”
of Class "Function Block" (
FB
) with a language
Body type
Ladder Diagram
.
Summary of Contents for FX2N-32CAN
Page 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 10: ...IV MITSUBISHI ELECTRIC ...
Page 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Page 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Page 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Page 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Page 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Page 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Page 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Page 283: ......