Assigning Variables to a Function Block
Now complete the POU by assigning variables to your Function Blocks as shown below:
NOTES
Mitsubishi addresses or symbolic declarations may be used. However, if Mitsubishi
‘MELSEC’ direct addresses are used then the program will no longer adhere to the IEC con-
ventions.
Designating the variable “TRUE” as above, automatically assigns a ‘normally on’ contact
(Special relay M8000 in MELSEC FX series) which is neater and conforms to IEC
conventions.
The STAR_DELTA FB can be used many times in the project and must use different Instance
names.
Creating a New Task:
햲
Create a new Task “MAIN” in the task pool:
6 - 18
MITSUBISHI ELECTRIC
Functions and Function Blocks
Creating a Function Block
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: ......