This document allows first time users of MELSEC iQ-F Series to easily learn programming fundamentals.
Please scan the QR code to get the video explaining the programming method, and read while watching the video.
Caution
In the videos, GX Works3 Ver. 1.030G is used. Screen content may differ depending on the version used.
An Internet connection is required to play the videos.
Smartphone and tablet users
- Vid eo s connect to the ex ternal site YouTube and the official channel fo r Mitsubi sh i Electric Factor y Automation.
- Video playback uses high communication volume, so continuous playback may result in slower communication speed.
Dep en di ng on the com mu nication an d ne tw ork conditi ons and your de vice model, vid eo s may not p lay correctly. Wi-Fi connecti on
is recommended for smooth playback.
- The u se r is responsibl e for any packet com mu nicatio n fe es incurred for watc hing videos.
- The v id eo s may be changed or r em ove d wi thout prior notice.
PC users
- Sea rch “Mitsub is hi Electr ic FA YouTube”
Click “Tutorials” Click “MELSEC i Q-F Se ri es Q ui ck Start Gui de [FBD/LD langu ag e]” o r
“MELSEC iQ -F Series Quick Star t Guide [Ladder langu ag e]”
Click on playlist in the official Mitsubishi Electric Factory Automation YouTube channel
Prepare equipment
To program MELSEC iQ-F Series, the following equipment is necessary.
Required materials
MELSEC iQ-F Series
FX5U/FX5UC CPU module
*1 : Please use a PC running Windows®. For details of supported OS, refer to the MELSOFT GX Works3 catalog.
*2 : 100BASE-TX connection: Ethernet standard compatible cable category 5 or above (STP cable)
10BASE-T connection: Ethernet standard compatible cable category 3 or above (STP cable)
PC
1
*
Engineering tool
GX Works3
Connect
1
Install GX Works3 onto your PC.
Ethernet
cable*
2
2
Connect your PC and FX5U CPU module with Ethernet cable.
PC and FX5U CPU module can be
directly connected by Ethernet
cable.
Ethernet
FX5U CPU mo du lePC
2
Select a programming language
GX Works3 supports the following programming languages.
FBD/LD language
(Function block diagram/ladder diagram)
Ladder Diagram
Language to write programs by connecting blocks for performing specific
tasks, variables, and constants according to the flow of data and signals.
Ladder diagram is a language that describes the sequence control by indicating
logical operations consisting of “AND” or “OR” with combinations of series
connections and parallel connections in a ladder consisting of contacts and coils.The
inline structured tex t functions to edit ST programs on the ladder editor can be used.
ST language
(St ruct ur ed Text l an gu ag e)
SFC language
(Sequential Function Chart language)
Text based program language with synta x structure that is similar to
C language.
A graphic language for clarifying an execution order and an execution condition
of a program. (F X5U/FX5UC do not suppor t it.)
This document ex plains the programming method using FBD/LD language and Ladder Diagram.
Program the FX5U CPU module
1
Before programming, make the settings in GX Works3 for connecting
the PC and FX5U CPU module.
For d et ails, scan t he
QR code and play t he v id eo
(Video is silent)
FBD/ LD
language
Ladde r
Diagram
2
Try programming.
Create a program that makes Y0 turn on/off at one second intervals.
3
Compile the created program into executable code.
4
Write the compiled program to the FX5U CPU module.
5
Check that the program operates correctly.
Reset or cycle power on the F X5U CPU module.
Reset method for F X5U CPU module
Hold the RUN/STOP/RESET switch [1] in the RESET position for
at least one second.
Check that the ERR LED [2] blinks.
FBD/ LD
language
FBD/ LD
language
FBD/ LD
language
Ladde r
Diagram
Ladde r
Diagram
Ladde r
Diagram
[2]
Return the RUN/STOP/RESET switch to the STOP position.
Shift the RUN/STOP/RESE T switch to the RUN position.
Output display LED [3] turns on/off at one second inter vals.
RESET complete
[1]
[3]
3
Quick Start Guide
4000
3500
3000
2500
2000
1500
1000
0
24681012024681012
Digital valueDigital valueInput voltageInput voltage
4000
3500
3000
2500
2000
1500
1000
0
Digital valueOutput voltage
)
Make various settings
1
Try setting analog input.
Before scalingAfter scaling
500
0
10 V
5 V
0 V
t (time)t (time)
4000
3000
2000
1000
0
-1000
-2000
-3000
-4000
10 V
5 V
0 V
Analog input CH1
SD6021: Analog input scaled result
For d et ails, scan t he
QR code and play t he v id eo
Scaled result can be referenced in the program just by reading SD6021.
Other functions like these are also available:
- Averaging function - Process alarm function
- Over scale detection function - Shift function
FBD/ LD
language
2
Try setting analog output.
10 V
5 V
500
0
24681012
0 V
t(time
Analog output
SD6180: Analog output digital value
Analog output is possible by writing a value into SD6180.
FBD/ LD
language
Other functions like these are also available:
4
- Scaling function - Warning output function - Shift function
(Video is silent)
Ladde r
Diagram
Ladde r
Diagram
3
Try setting high speed counter.
FX5U CPU mo du le
4
Try setting positioning.
FX5U CPU mo du le
5
Try setting Ethernet communication.
Servo amplifier
FX5U CPU mo du le
PLC A
IP address: 192.168.3.100
Por t no. : 10000
Ethernet
FX5U CPU mo du le
FBD/ LD
language
FBD/ LD
language
PLC B
IP address:
Por t no. :
Ladde r
Diagram
Ladde r
Diagram
192.168.3.200
20000
DataData
Try setting parameters.
In the video for PLC A an d B, the only dif ference is the por t nu mb er.
PLC APLC B
FBD/ LD
language
Ladde r
Diagram
FBD/ LD
language
Try programming.
When both FX5U CPU modules are set to RUN, communication is performed.
After program write, reset or cycle power on the FX5U CPU modules.
Ladde r
Diagram
FBD/ LD
language
Ladde r
Diagram
5
Quick Start Guide
Security function types
File password
Besides the program file, password can also be set to parameters, so settings
of individual modules can be protected.
Prevents unauthorized
reading or writing
Reading
Writing
Check if the file password setting has been properly set.
When the password is unknown:
When the password is known:
For d et ails, scan t he
QR code and play t he v id eo
(Video is silent)
FBD/ LD
language
FBD/ LD
language
Ladde r
Diagram
Ladde r
Diagram
Block password
Password can be set to individual program blocks, so developers and users can
set passwords as required from their standpoint.
Project data
Developer
Set a password to
programs that
must not be read
or copied.
- Startup program
Communication program
-
- Function block
- Data setting value
- Measured value
calculation
FBD/ LD
language
Set password to
customized
programs.
User
Ladde r
Diagram
6
Security key
or Key [B]
be executed
“
”
“
”
Disables reading and program execution if the keys of the program file, PLC, PC, and
copy destination PLC do not match.
Program
execution
Key [A]
Program
cannot
be executed
Removed SD memory card
or data copy
Program file
Key [A]
Key [A]
No Key,
or Key [B]
Read
Cannot read
Program file
Key [A]
Key
Program
execution
[A]
Program
cannot
No Key,
Remote password
Allows communication access only to people that know the password.
Remote
password ??
Remote
password
ÝÝÝÝ
ÝÝÝÝ
Remote
password ??
Ethernet
Remote
password
ÝÝÝÝ
ÝÝÝÝ
No Key,
or Key [B]
For details, refer to the catalog below and the manuals.
MELSEC i Q- F Se ri es
iQ Platform-compatible
PLC
L(NA)08428ENG
Programmable controller
engineering software
MELSOF T GX Wor ks3
L(NA)08334ENG
MELSEC i Q- F
FX5 User's Manual
- Application (JY997D55401)
- Analog Control
(J Y9 97D6 0501)
- Positioning Control
(JY997D56301)
- Ethernet Communication
(J Y9 97D5 62 01)
7
iQ Platform-compatible PLC
MELSEC iQ-F Series
Designed on the concepts of outstanding performance, superior drive
control and user centric programming, Mitsubishi's MELSEC-F Series has
been reborn as the MELSEC iQ-F Series.
From stand alone use to networked system applications, MELSEC iQ-F
Series brings your business to the next level of industry.
New micro PLC designed on the concepts of …
Outstanding Performance
- High-speed system bus
- Extensive built-in functions
- Enhanced security functions
- Battery-less
Superior Drive Control
-
Easy built-in positioning (4-axis)
- Simple interpolation functions
4-axis/8-axis synchronous control
with simple motion module (dedicated
positioning software not needed)
The next level of industry
Further extending the range of applications through improved
fundamental performance, cooperation with drive devices and
improved programming environment.
Intuitive Programming Environment
- Easy programming by drag and drop
- Reduced develo pment time with
module FB
- Parameterized setup for a variety of
functions
The next level of industry
Safety Warning
To ensure proper use of the products in this document, please be sure to read the instruction manual prior to
use.
L(NA)08449ENG-A 1701(MEE)
Registration
Ethernet is a trademark of Xerox Corporation.
•
The SD and SDHC logos are trademarks or registered trademarks of SD-3C, LLC.
•
Microsoft, Windows are registered trademarks or trademarks of Microsoft Corporation in the United States
•
and in each country.
QR Code is a trademark or a registered trademark of DENSO WAVE INCORPORATED in JAPAN, the United States
•
and/or other countries.
YouTube is a trademark or registered trademarks of Google Inc.
•
All company names and product names used in this document are trademarks or registered trademarks of
•
their respective companies.
HEAD OFFICE: TOKYO BLDG., 2-7-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
http://Global.MitsubishiElectric.com
Printed Jan. 2017
All trademarks acknowledged.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.