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
.
Содержание FX2N-32CAN
Страница 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ...IV MITSUBISHI ELECTRIC ...
Страница 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Страница 172: ...Monitoring Instances of Function Blocks Advanced Monitoring Functions 7 12 MITSUBISHI ELECTRIC ...
Страница 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Страница 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Страница 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Страница 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Страница 220: ...14 3 SFC configuration examples SFC configuration examples Sequential Function Chart SFC 14 4 MITSUBISHI ELECTRIC ...
Страница 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Страница 248: ...Configuring GX IEC Developer to access the PLC on Ethernet Ethernet Communications 18 10 MITSUBISHI ELECTRIC ...
Страница 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Страница 283: ......