FX Training Manual
FX Training Manual
FX Training Manual
ELECTRIC
FACTORY AUTOMATION
GX IEC Developer
About this Manual
20072010
Training Manual
GX IEC Developer Programming Software Package
Art.-no.: 208661
VDE Standards
VDE 0100
(Regulations for electrical installations with rated voltages up to 1,000V)
VDE 0105
(Operation of electrical installations)
VDE 0113
(Electrical systems with electronic equipment)
VDE 0160
(Configuration of electrical systems and electrical equipment)
VDE 0550/0551
(Regulations for transformers)
VDE 0700
(Safety of electrical appliances for household use and similar applications)
VDE 0860
(Safety regulations for mains-powered electronic appliances and their accessories for
household use and similar applications)
P
DANGER:
Personnel health and injury warnings. Failure to observe the precautions described
here can result in serious health and injury hazards.
E
CAUTION:
Equipment and property damage warnings. Failure to observe the precautions
described here can result in serious damage to the equipment or other property.
II MITSUBISHI ELECTRIC
General safety information and precautions
The following safety precautions are intended as a general guideline for using the PLC together
with other equipment. These precautions must always be observed in the design, installation
and operation of all control systems.
P
CAUTION:
Observe all safety and accident prevention regulations applicable to your
specific application. Installation, wiring and opening of the assemblies, com-
ponents and devices may only be performed with all power supplies discon-
nected.
Assemblies, components and devices must always be installed in a shockproof
housing fitted with a proper cover and protective equipment.
Devices with a permanent connection to the mains power supply must be inte-
grated in the building installations with an all-pole disconnection switch and a
suitable fuse.
Check power cables and lines connected to the equipment regularly for breaks
and insulation damage. If cable damage is found, immediately disconnect the
equipment and the cables from the power supply and replace the defective
cabling.
Before using the equipment for the first time check that the power supply rating
matches that of the local mains power.
Residual current protective devices pursuant to DIN VDE Standard 0641 Parts
1-3 are not adequate on their own as protection against indirect contact for
installations with positioning drive systems. Additional and/or other protection
facilities are essential for such installations.
EMERGENCY OFF facilities pursuant to EN 60204/IEC 204 VDE 0113 must
remain fully operative at all times and in all control system operating modes. The
EMERGENCY OFF facility reset function must be designed so that it cannot
cause an uncontrolled or undefined restart.
You must also implement hardware and software safety precautions to prevent
the possibility of undefined control system states caused by signal line cable or
core breaks.
All relevant electrical and physical specifications must be strictly observed
and maintained for all the modules in the installation.
2 The Hardware
3 Programming
4 Building a Project
VI MITSUBISHI ELECTRIC
Table of Contents
5 Program Example
8 Device Edit
9 Online Mode
11 Arrays
13 Security
17 PROFIBUS/DP Communication
18 Ethernet Communications
A Appendix
X MITSUBISHI ELECTRIC
Course Overview and Requirements Modular PLC Training Hardware
This course has been specially produced as an introduction to Mitsubishis FX family utilising the
GX IEC Developer software package.
The course content has been selectively produced to provide an introduction into the functional-
ity of the Mitsubishi range of FX PLCs, together with the GX IEC Developer programming sys-
tem. The second section deals with the PLC hardware configuration and operation, whilst the
remainder covers the use of Mitsubishis IEC61131-3 programming system, which is illustrated
using worked examples.
It is assumed that student will have a sound working knowledge of the Microsoft Windows oper-
ating environment.
Thus, adjustments according to other training simulators may be accommodated with appropri-
ate address alterations to the example code provided this training document.
2 The Hardware
Bedford Associates, founded by Richard Morley introduced the first Programmable Logic Con-
troller in 1968. This PLC was known as the Modular Digital Controller from which the MODICON
Company derived its name.
Programmable Logic Controllers were developed to provide a replacement for large relay based
control panels. These systems were inflexible requiring major rewiring or replacement when-
ever the control sequence was to be changed.
The development of the Microprocessor from the mid 1970s have allowed Programmable Logic
Controllers to take on more complex tasks and larger functions as the speed of the processor
increased. It is now common for PLCs to provide the heart of the control functions within a sys-
tem often integrated with SCADA (Supervisory Control And Data Acquisition), HMI (Human
Machine Interfaces), Expert Systems and Graphical User Interfaces (GUI). The requirements of
the PLC have expanded to providing control, data processing and management functionality.
2.1.4 Programming
Ladder Logic
PLCs had to be maintainable by technicians and electrical personnel. To support this, the pro-
gramming language of Ladder Logic was developed. Ladder Logic is based on the relay and
contact symbols technicians were used to through wiring diagrams of electrical control panels.
The documentation for early PLC Programs was either non existent or very poor, just providing
simple addressing or basic comments, making large programs difficult to follow. This has been
greatly improved with the development of PLC Programming packages such as Mitsubishis
Windows based, GX Developer.
Until recently there has been no formal programming standard for PLCs. The introduction of the
IEC 61131-3 Standard in 1998 provides a more formal approach to coding. Mitsubishi Electric
has developed a programming package, GX IEC Developer (Covered in detail later in this
document.). This enables IEC compliant coding to be adopted.
The early programmable logic controllers interfaced with the operator in much the same way as
the relay control panel, via push-buttons and switches for control and lamps for indication.
The introduction of the Personal Computer (PC) in the 1980s allowed for the development of a
computer based interface to the operator, these where initially via simple Supervisory Control
And Data Acquisition (SCADA) systems and more recently via Dedicated Operator Control Pan-
els, known as Human Machine Interfaces (HMI). It is now common place to see PLCs heavily
integrated with these products to form user friendly control system solutions.
Mitsubishi offer a very wide range of HMI and SCADA products to suit a variety of operator Inter-
face applications.
Programmable logic controllers input data, process it and then output the results. This process
is performed in three stages:
an input stage,
a processing stage
and
an output stage
Programmable Logic Controller
Input Output
Switch
Contactors
The signals from these components are generated as part of the control process and are fed to
the inputs as logical states. The input stage passes them on to the processing stage in a pre-pro-
cessed format.
A PLC program consists of a sequence of instructions that control the functions of the controller.
The PLC executes these control instructions sequentially, i.e. one after another. The entire pro-
gram sequence is cyclical, which means that it is repeated in a continuous loop. The time
required for one program repetition is referred to as the program cycle time or period.
Switch on PLC
Input signals
PLC program
....
....
Process image ....
of outputs
Instruction n
Output signals
Program execution
After this the program is executed, during which the PLC accesses the stored states of the inputs
in the process image. This means that any subsequent changes in the input states will not be
registered until the next program cycle!
The program is executed from top to bottom, in the order in which the instructions were pro-
grammed. Results of individual programming steps are stored and can be used during the cur-
rent program cycle.
Program execution
X000 X001
0 M0
Store result
M6
M1 M8013
4 Y000
Control output
M2
M0
9 Y001
Process stored result
In a PLC it is not possible to respond to changes in input signal states until the next program
cycle after the change. Nowadays this disadvantage is largely compensated by very short pro-
gram cycle periods. The duration of the program cycle period depends on the number and type
of instructions executed.
With the exception of the FX1S all the controllers of the FX series can be expanded to keep pace
with the changes in the application and the users growing requirements.
Network connections are also supported. This makes it possible for the controllers of the FX
family to communicate with other PLCs and controller systems and HMIs (Human-Machine
Interfaces and control panels). The PLC systems can be integrated both in MITSUBISHI net-
works as local stations and as slave stations in open networks like PROFIBUS/DP.
In addition to this you can also build multi-drop and peer-to-peer networks with the controllers of
the MELSEC FX family.
The FX1N, FX2N, FX3G, FX3UC and FX3U have modular expansion capabilities, making them
the right choice for complex applications and tasks requiring special functions like analog-digital
and digital-analog conversion and network capabilities.
All the controllers in the series are part of the larger MELSEC FX family and are fully compatible
with one another.
Connectable to the left side
Connectable to the right side
No. of No. of
Series I/Os Type Power supply Output type
inputs outputs
10 FX1S-10 M- 6 4
14 FX1S-14 M- 8 6 24 V DC
Transistor
FX1S or
20 FX1S-20 M- 12 8 or relay
100240 V AC
30 FX1S-30 M- 16 14
14 FX1N-14 M- 8 6
24 FX1N-24 M- 14 10 1224 V DC
Transistor
FX1N or
40 FX1N-40 M- 24 16 or relay
100240 V AC
60 FX1N-60 M- 36 24
16 FX2N-16 M- 8 8
32 FX2N-32 M- 16 16
48 FX2N-48 M- 24 24 24 V DC
Transistor
FX2N or
64 FX2N-64 M- 32 32 or relay
100240 V AC
80 FX2N-80 M- 40 40
128 FX2N-128 M- 64 64
16 FX2NC-16 M- 8 8
32 FX2NC-32 M- 16 16 Transistor
FX2NC 24 V DC
64 FX2NC-64 M- 32 32 or relay
96 FX2NC-96 M- 48 48
14 FX3G-14M/ 8 6
24 FX3G-24M/ 14 10 24 V DC
Transistor
FX3G or
40 FX3G-40M/ 24 16 or relay
100240 V AC
60 FX3G-60M/ 36 24
16 FX3U-16 M- 8 8
32 FX3U-32 M- 16 16
24 V DC
Transistor
48 FX3U-48 M- 24 24 or
or relay
FX3U 100240 V AC
64 FX3U-64 M- 32 32
80 FX3U-80 M- 40 40
Transistor
128 FX3U-128 M- 64 64 100240 V AC
or relay
16 FX3UC-16M/ 8 8
32 FX3UC-32M/ 16 16
FX3UC 24 V DC Transistor
64 FX3UC-64M/ 32 32
96 FX3UC-96M/ 48 48
Here are some considerations that should be taken into account when configuring a system:
Input/Output requirements
How many signals (external switch contacts, buttons and sensors) do you need to
input?
What types of functions do you need to switch, and how many of them are there?
How high are the loads that the outputs need to switch?
Choose relay outputs for switching high loads and transistor outputs for switching fast,
trigger-free switching operations.
The input circuits use floating inputs. They are electrically isolated from the other circuits of the
PLC with optical couplers. The output circuits use either relay or transistor output technology.
The transistor outputs are also electrically isolated from the other PLC circuits with optical
couplers.
The switching voltage at all the digital inputs must have a certain value (e.g. 24 V DC). This volt-
age can be taken from the PLCs integrated power supply unit. If the switching voltage at the
inputs is less than the rated value (e.g. <24 V DC) then the input will not be processed.
The maximum output currents are 2 A on 250 V three-phase AC and non-reactive loads with
relay outputs and 0.5 A on 24 V DC and non-reactive loads.
Protective cover
Terminal cover
Mounting hole
Power supply
connection Terminals for
digital inputs
Interface for expansion
adapter boards 100-240 S/S
X0
X1
X2
X3
X4
X5
X6
X7 LEDs for indicating
N
VAC L
0 1 2 3
the input status
Cutout for adapters or 4 5 6 7
IN
Protective cover
Terminals for
Terminal cover digital inputs
Connection of the
Mounting hole power supply
2 analog
RUN
ERROR
LEDs for indicating
potentiometers FX1N-24MR
OUT
the operating status
0 1 2 3
4 5 6 7
10 11
Connection for 0V Y0 Y1
24+ COM0 COM1
Y2 Y3
COM2 COM3 Y4
Y5 Y6 Y10
COM4 Y7 Y11
24MR
-ES/UL LEDs for indicating
programming units the output status
Connection for the MITSUBISHI
Housing cover
service power supply
Terminals for
digital outputs Lid
Protective cover
Housing cover
2 - 10 MITSUBISHI ELECTRIC
The Hardware Controller Design
Protective cover
Memory battery
Battery
compartment
Extension bus
RUN/STOP switch (on side)
MITSUBISHI Protective cover
Operating status LEDs POWER
RUN
BATT
RUN MELSEC
FX2NC-16MR-T-DS
for expansion bus
ERROR
Y0
X0 STOP
1
1
2nd interface 3
3
Y4
Y0
X0
Y1
the input status
X1
Y2
X2
COM1 Y3
Memory cassette
X3
(optional) COM
Connector for
terminal strips
Y4
X4
X5
X6
X7
Terminals for
digital inputs
Terminals for
digital outputs
Terminal cover
Protective cover
Connectors fr memory Input terminals
cassette, display module,
and expansion board
Input indicator LEDs
2 analog potentiometers
RUN/STOP switch Operation status
indicator LEDs
Option battery holder Expansion bus
connector cover
LEDs for indicating
Programming port: RS-422 the output status
Programming port: USB Input terminals
Protective cover
Terminal cover
Battery cover
Protective cover
Terminal cover
Terminals for
digital inputs
Top cover
(used if FX3U-7DM Protective cover
is not installed)
2 - 12 MITSUBISHI ELECTRIC
The Hardware Wiring
2.7 Wiring
2.7.1 Power Supply
Connection of units with DC power supply Connection of units with AC power supply
+ L
100 to 240 V AC
24 V DC 50/60 Hz
N
Grounding
The PLC should be grounded.
FX base unit In the case of the sink input type, the S/S
L terminal is connected to the 24V terminal of
N the service power supply or, when a DC pow-
ered base unit is used, to the positive pole of
24V the power supply.
0V Sink input means that a contact wired to the
S/S input (X) or a sensor with NPN open collector
transistor output connects the input of the
PLC with the negative pole of a power
X supply.
FX base unit In the case of the source input type, the S/S
L terminal is connected to the 0V terminal of the
N service power supply or, when a DC powered
base unit is used, to the negative pole of the
24V power supply.
0V Source input means that a contact wired to
S/S the input (X) or a sensor with PNP open col-
lector transistor output connects the input of
the PLC with the positive pole of a power
X supply.
All inputs of a base unit or an extension unit can be either used as sink or source inputs, but it is
not possible to mix sink and source inputs in one unit. Separate units in one PLC however can be
set as sink or source inputs types, since the base unit and input/output powered extension units
are individually set to sink or source input mode.
Sink Source
L L
N N
S/S S/S
0V 0V
24V 24V
X000 X000
X001 X001
X002 X002
X003 X003
2 - 14 MITSUBISHI ELECTRIC
The Hardware Wiring
Sink Source
24 V DC 24 V DC
S/S S/S
(0V) (0V)
(24V) (24V)
X000 X000
X001 X001
X002 X002
X003 X003
In case of base units with only few outputs (e. g. FX3G-14M or FX3U-16M) each output can
be connected separately. In case of the base units with more outputs, the outputs are pooled into
groups of 2, 3, 4, 8 or 16 outputs. Each group has a common contact for the load voltage. These
terminals are marked "COM" for base units with relays outputs or transistor outputs of the sink
type and "+V" for base units with source transistor outputs. "" stands for the number of the
output group e. g. "COM1".
Because the outputs groups are isolated against each other, one base unit can switch several
voltages with different potentials. base units with relay outputs can even switch AC and DC
voltages.
The selection of sink and source output type is done by the selection of a correspondent base
unit. Both types are available with DC or AC power supply. The output type is given in the model
designation code: base units with the code "MT/S" provide transistor sink type outputs (e. g.
FX3U-16MT/ES) while base units with the code "MT/SS" provide transistor source type out-
puts (e. g. FX3U-16MT/ESS).
Load
Y
Fuse
COM
PLC
Load
Y
Fuse
COM
PLC
Load
Y
Fuse
+V
PLC
2 - 16 MITSUBISHI ELECTRIC
The Hardware Extending the Range of Digital Inputs/Outputs
with two digital
Number of I/O
Output Power FX2N FX3U
Designation No. of No. of type FX1S FX1N FX3G
Total supply FX2NC FX3UC
inputs outputs
FX1N-4EX-BD 4 4 From base
FX1N-2EYT-BD 2 2 Transistor unit
: The extension board can be used with a base unit of this series.
: The extension board cannot be used with this series.
Number of I/O
Output Power FX2N FX3U
Designation No. of No. of type FX1S FX1N FX3G
Total supply FX2NC FX3UC
inputs outputs
100240 V
FX0N-40ER/ES-UL 40 24 16 Relay
AC
FX0N-40ER/DS 40 24 16 Relay
24 V DC
FX0N-40ET/DSS 40 24 16 Transistor
: The extension unit can be used with a base unit of this series.
: The extension unit cannot be used with this series.
: The extension unit can be used with a base unit of this series.
: The extension unit cannot be used with this series.
* These extension units cannot be connected to a base unit of the FX2NC or FX3UC series.
IN
The FX2NC series extension blocks are avail-
able with 16 or 32 integrated I/O with
selectable relay or transistor 16-output mod-
els (source type).
Number of I/O
Output Power FX2N FX3U
Designation No. of No. of type FX1S FX1N FX3G
Total supply FX2NC FX3UC
inputs outputs
FX2N-8ER-ES/UL 16 4 4 Relay
FX2N-8EX-ES/UL 8 8 100240 V
FX2N-16EX-ES/UL 16 16 AC
FX2N-8EYR-ES/UL 8 8 Relay
FX2N-8EYT-ESS/UL 8 8 Transistor
FX2N-16EYR-ES/UL 16 16 Relay 24 V DC
FX2N-16EYT-ESS/UL 16 16 Transistor
FX2NC-16EX-DS 16 16
From base
FX2NC-16EX-T-DS 16 16
unit
FX2NC-32EX-DS 32 32
FX2NC-16EYT-DSS 16 16 Transistor
From base
FX2NC-16EYR-T-DS 16 16 Relay
unit
FX2NC-32EYT-DSS 32 32 Transistor
The extension block FX2N-8ER-ES/UL occupies 16 input/output points of the PLC. Four inputs and four outputs
are occupied but cannot be used.
The FX2NC series extension blocks can only be connected to a base unit of the FX2NC or FX3UC series.
2 - 18 MITSUBISHI ELECTRIC
The Hardware Extending for Special Functions
Adapter Boards
Adapter boards are small circuit boards that are installed directly in the FX1S, FX1N or FX3G con-
trollers, which means that they dont take up any extra space in the switchgear cabinet.
FX1N-2AD
them.
The output value for the analog output adapter is written by
the program also to a special register and then converted
by the adapter and sent to the output.
Special Adapter
Special adapters can only be connected on the left side of a base unit of the MELSEC FX3G,
FX3U andr FX3UC series.
A/D
Without additional modules the base units of the MELSEC FX family can only process digital
input and output signals (i.e. ON/OFF data). Additional analog modules are thus required for
inputting and outputting analog signals.
Voltage:
0 V to 5 V DC 2.5 mV (12 Bit)
FX2N-2AD 2 0 V to 10 V DC
Current:
4 A (12 Bit)
4 mA to 20 mA DC
Voltage: 5 mV
-10 V to 10 V DC (with sign, 12 bits)
FX2N-4AD 4 Current:
10 A
4 mA to 20 mA DC
Special (with sign, 11 bits)
-20 mA to 20 mA DC
Function
Modules Voltage: 0.63 mV
-10 V to 10 V DC (with sign, 15 bits)
FX2N-8AD 8 Current:
2.50 A
4 mA to 20 mA DC
(with sign, 14 bits)
-20 mA to 20 mA DC
Voltage: 0.32 mV
-10 V to 10 V DC (with sign, 16 bits)
FX3U-4AD
4 Current:
FX3UC-4AD 1.25 A
4 mA to 20 mA DC
(with sign, 15 bits)
-20 mA to 20 mA DC
Voltage:
2,5 mV (12 Bit)
0 V to 10 V DC
FX1N-1DA-BD 1
Current:
8 A (11 Bit)
Adapter 4 mA to 20 mA DC
Board Voltage:
Analog Output Modules
The special function block FX2N-8AD is able to measure voltage, current and temperature.
The FX3UC-4AD can be connected to base units of the FX3UC series only.
2 - 20 MITSUBISHI ELECTRIC
The Hardware Extending for Special Functions
Current:
64 A (8 Bit)
Special 4 mA to 20 mA DC
Function 50 V
Modules Voltage:
(with sign, 12 bits)
-100 mV to 100 mV DC
0.312 mV
-10 V to 10 V DC
4 inputs (with sign, 16 bits)
Current:
10 A/1,25 A
FX2N-5A 4 mA to 20 mA DC
(with sign, 15 bits)
-20 mA to 20 mA DC
Voltage: 5 mV
-10 V to 10 V DC (with sign, 12 bits)
1 output
Current:
20 A (10 Bit)
0 mA to 20 mA DC
Voltage:
2,5 mV (12 Bit)
0 V to 10 V DC
2 inputs
Current:
5 A (12 Bit)
Special 4 mA to 20 mA DC
FX3U-3A-ADP
Adapter Voltage:
2.5 mV (12 Bit)
0 V to 10 V DC
1 output
Current:
4 A (12 Bit)
4 mA to 20 mA DC
Pt100 resistance
FX3U-4AD-PT-ADP 4 thermometer: 0.1 C
-50 C to 250 C
Temperature Acquisition Modules
Pt100 resistance
FX3U-4AD-PTW-ADP 4 thermometer: 0.2 C to 0.3 C
-100 C to 600 C
Pt100 resistance
thermometer: 0.1 C
Special -50 C to 250 C
Adapter FX3U-4AD-PNK-ADP 4
Ni1000 resistance
thermometer: 0.1 C
-40 C to110 C
Thermocouple type K:
0.4 C
-100 C to 1000 C
FX3U-4AD-TC-ADP 4
Thermocouple type J:
0.3 C
-100 C to 600 C
A FX0N-3A can not be connected to base units of the FX3UC series.
Thermocouple type J:
FX2N-8AD 8 0.1 C
-100 C to 600 C
Thermocouple type T:
0.1 C
Special -100 C to 350 C
Function Pt100 resistance
Modules FX2N-4AD-PT 4 thermometer: 0.2 C to 0.3 C
-100 C to 600 C
Thermocouple type K:
0.4 C
-100 C to 1200 C
FX2N-4AD-TC 4
Thermocouple type J:
0.3 C
-100 C to 600 C
FX2N-2LC 2 For example with a
Temperature thermocouple type K: 0.1 C or 1 C
Control -100 C to 1300 C (depends on
Modules
FX3U-4LC 4 Pt100 resistance temperature probe
(Special Func-
thermometer: used)
tion Modules)
-200 C to 600 C
* The special function block FX2N-8AD is able to measure voltage, current and temperature.
The adapter board, special adapter or special function module can be used with a base unit or expan-
sion unit of this series.
The adapter board, special adapter or special function module cannot be used with this series.
2 - 22 MITSUBISHI ELECTRIC
The Hardware Extending for Special Functions
FX2N -1HC
FP.RP
-Y4/6 +
+
X1/4
-
SGA
+
X2/5
- Y1/3 +
-
+
X6/7
- Y5/7 +
-
SG SG
SGB
The special adapter or special function module can be used with a base unit or expansion unit of this
series.
The special adapter or special function module cannot be used with this series.
FX2N-1PG-E, FX2N-10PG
The positioning modules FX2N-1PG-E and FX2N-10PG are extremely efficient single-axis posi-
tioning modules for controlling either step drives or servo drives (by external regulator) with a
pulse chain.
FX3U-20SSC-H
The SSCNET* module FX3U-20SSC-H can be used in combination with a FX3U or FX3UC pro-
grammable controller to achieve a cost effective solution for high precision, high speed position-
ing. The plug-and-play fiber optic SSCNET cabling reduces setup time and increases control
distance for positioning operations in a wide range of applications.
INT 0
INT 1
DOG
INT 0
INT 1
Y READY
X ERROR
Y ERROR
Configurator-FP is available.
A A
B B
POWER
FX2CU-20SSC-H
The special function module can be used with a base unit or expansion unit of this series.
The special function module cannot be used with this series.
2 - 24 MITSUBISHI ELECTRIC
The Hardware Extending for Special Functions
ETHERNET is the most widespread network for connection of information processors such as
personal computers and work stations. By loading an ETHERNET interface into the PLC, pro-
duction-related management information can be transmitted rapidly to personal computers or
work stations. ETHERNET is a platform for a very wide range of data communications protocols.
The combination of ETHERNET and the extremely widespread TCP/IP protocol enables
high-speed data communications between process supervision systems and the MELSEC PLC
series. TCP/IP provides logical point-to-point links between two ETHERNET stations.
The programming software GX IEC Developer provides function blocks or setup routines for the
PLCs, making the configuration of one or more TCP/IP links a quick and easy process.
FX2NC-ENET-ADP
The FX2NC-ENET-ADP communications adapter is an Ethernet interface with 10BASE-T speci-
fications for the FX1S, FX1N, FX2NC and FX2N series*.
POWER
LINK
ACT
SD
RD
* When connecting this special adapter to a FX1S or FX1N PLC the communications adapter FX1N-CNV-BD is
required. When connecting this adapter to a FX2N PLC the communications adapter FX2N-CNV-BD is required.
FX3U-ENET
The FX3U-ENET communications module provides the
FX3G, FX3U or FX3UC with a direct connection to an
RUN Ethernet network.
INIT.
100M
SD
RD
ERR.
COM.ERR.
The FX 3U -ENET enables 8 ports of simultaneous
Ethernet communication with features such as peer-to-
POWER peer communication, extensive e-mail send/receive
options, and program upload/download. The FX3U-ENET
is also used to communicate with GOTs via the Ethernet.
FX3U-ENET
Easy communication parameter setup and module trou-
10BASE-T/100BASE-TX
C1
bleshooting is also possible using the dedicated software,
C2
C3
C4
FX Configurator-EN.
C5
C6
C7
C8
The Profibus/DP network enables communication between a master module and decentralised
slave modules, with data transfer rates of up to 12 Mbps. With a MELSEC PLC as master,
PROFIBUS/DP allows quick and simple connection of sensors and actuators, even from differ-
ent manufacturers.
A MELSEC PLC, serving as slave in a PROFIBUS/DP network, can execute decentralised con-
trol tasks and simultaneously exchange data with the PROFIBUS/DP master.
To help reduce costs PROFIBUS/DP uses RS485 technology with shielded 2-wire cabling.
FX0N-32NT-DP
The FX0N-32NT-DP PROFIBUS DP slave module enables
the attached FX base unit to be a slave station on a
PROFIBUS DP network. Transfer of up to 40 bytes of data
per cycle is supported at up to 12 Mbps.
FX 0N -32NT-DP
POWER DC RUN
BF DIA
FX3U-32DP
L i ke t h e F X 0 N - 3 2 N T- D P, t h e F X 3 U - 3 2 D P i s a
PROFIBUS/DP slave module. It allows the integration of a
FX 3G , FX 3U, or FX 3UC PLC into a PROFIBUS/DP
RUN
TOKEN network.
FROM/TO
DIA
POWER
FX3U-32DP
2 - 26 MITSUBISHI ELECTRIC
The Hardware Extending for Special Functions
FX3U-64DP-M
The FX3U-64DP-M PROFIBUS DP master module is
available for the FX3U and FX3UC base units and enables
the attached FX base unit to be a master station on a
RUN
TOKEN PROFIBUS DP-V1 network. PROFIBUS DP allows for the
FROM/TO
ERROR
implementation of decentralized control with comprehen-
sive data and alarm processing capabilities.
POWER
FX2N-32DP-IF
The remote I/O station FX2N-32DP-IF forms an extremely compact communication unit and
provides a connection of I/O modules with up to 256 I/O points and/or up to 8 special function
modules as an alternative.
RUN
MELSEC FX modules, is possible.
BF
DIA
FX2N-32DP-IF
PROFIBUS data such as the baud rate or I/O data can be
monitored directly with the programming software or on
the hand-held programming unit FX-20P-E. This facilitates
16
1
32
2
64
4
8
ON
OFF
FX2N FX3U
Module type Designation Description FX1S FX1N FX3G
FX2NC FX3UC
FX0N-32NT-DP
Special function PROFIBUS/DP slave
FX3U-32DP
modules
FX3U-64DP-M PROFIBUS/DP master
Power supply:
FX2N-32DP-IF
PROFIBUS/DP 100240 V AC Compatible with PROFIBUS/DP
remote I/O station Power supply: masters
FX2N-32DP-IF-D
24 V DC
The special function module can be used with a base unit or expansion unit of this series.
The special function module cannot be used with this series.
The CC-Link master module FX2N-16CCL-M is a special extension block which assigns an FX
series PLC as the master station of the CC-Link system.
FX2N-32CCL
LRUN LERR RD SD
The special function module can be used with a base unit or expansion unit of this series.
The special function module cannot be used with this series.
2 - 28 MITSUBISHI ELECTRIC
The Hardware Extending for Special Functions
DeviceNet represents a cost-effective solution for the network integration of low-level terminal
equipment. Up to 64 devices including a master can be integrated in one network. For the data
exchange a cable with two shielded twisted-pair cables is used.
FX2N
Module type Designation Description FX1S FX1N FX3G FX3U FX3UC
FX2NC
DeviceNet slave
Special function module FX2N-64DNET
module
The special function module can be used with a base unit or expansion unit of this series.
The special function module cannot be used with this series.
CANopen is an open implementation of the Controller Area Network (CAN), which is defined in
the EN50325-4 standard. CANopen offers cost effective network communications with
fault-resistant network structure where components of different manufacturers can be inte-
grated quickly and easily. CANopen networks are used for connecting sensors, actuators and
controllers in a variety of applications. The bus uses inexpensive twisted-pair cabling.
FX3U
Module type Designation Description FX1S FX1N FX2N FX2NC FX3G
FX3UC
CANopen
Special function module FX2N-32CAN
module
The special function module can be used with a base unit or expansion unit of this series.
The special function module cannot be used with this series.
The Actuator Sensor interface (AS interface or ASi) is an international standard for the lowest
field bus level. The network suits versatile demands, is very flexible and particularly easy to
install. The ASi is suitable for controlling sensors, actuators and I/O units.
FX2N -32ASI-M
PRJ MODE
PRG ENABLE
FROM/TO
CONFIG ERR
Module type Designation Description FX1S FX1N FX2N FX2NC FX3G FX3U
Master for
Special function module FX2N-32ASI-M
AS-i system
The special function module can be used with a base unit or expansion unit of this series.
The special function module cannot be used with this series.
2 - 30 MITSUBISHI ELECTRIC
The Hardware Extending for Special Functions
For serial data communication a large range of interface modules/adapters is available. Shown
below are only some examples, but the following table covers all available interfaces.
FX3U -232ADP
POWER
RD
SD
JY331B89001C
FX2N-232-BD
* The FX2NC-232ADP and the FX2NC-485ADP require a FX2N-CNV-BD or FX1N-CNV-BD interface adapter when
connecting to a FX1S, FX1N or FX2N base unit.
FX2N-CNV-BD FX3G-CNV-ADP
FX3G -CNV
-ADP
FX2N-CNV-BD
JY331B89201B
Connector side
FX2N-CNV-IF
The FX2N-CNV-IF interface allows special function mod-
ules of the old FX series to be connected to the base units
MITSUBISHI
of the FX family.
FX2N -CNV-IF
2 - 32 MITSUBISHI ELECTRIC
The Hardware Extending for Special Functions
These analog setpoint adapters enable the user to set 8 analog setpoint values. The analog val-
ues (0 to 255) of the potentiometers are read into the controller and used as default setpoint val-
ues for timers, counters and data registers by the users PLC programs.
Each potentiometer value can also be read as an 11 position rotary switch (positions 0 to 10).
Setpoint value polling is performed in the PLC program using the dedicated instruction VRRD.
The position of an rotary switch is read using the VRSC instruction.
The analog setpoint adapters are installed in the expansion slot of the base unit. No additional
power supply is required for operation.
FX2N-8AV-BD
Potentiometer
FX3G-8AV-BD
Connector side
JY331B88801B
Potentiometer
FX3U
Module type Designation Description FX1S FX1N FX2N FX2NC FX3G
FX3UC
FX1N-8AV-BD
Adapter boards FX2N-8AV-BD Analog setpoint adapters
FX3G-8AV-BD
The adapter board can be used with a base unit or expansion unit of this series.
The adapter board cannot be used with this series.
Base Units
Base units are available with different I/O configurations from 10 to 128 points but can be
expanded to 384 points depending upon the FX range selected.
Extension Boards
Extension adapter boards can be installed directly into the base unit and therefore do not require
any additional installation space. For a small number of I/O (2 to 4) an extension adapter boards
can be installed directly into the FX1S or FX1N controller. Interface adapter boards can also pro-
vide the FX PLC with additional RS232 or RS485 interfaces.
ON LINE STATION
6 7
3 4 5
0 1 2
OFF
ON
OFF
ON A B C D E F
8 9
FX 0N -3A
POWER
ERR
IN
ERROR STATION
OFF
ON
0 1 2 3 FX2N-16LNK-M
MOD
A RUNA
DG RUNB
2 - 34 MITSUBISHI ELECTRIC
The Hardware System Configuration
Expansion Options
Number of modules on the Number of boards in expan- Number of modules on the
PLC
left side of base unit sion board port of base unit right side of base unit
FX1S
The modules FX0N-485ADP and
Up to 2 special function mod-
FX1N FX0N-232ADP can be mounted 1
ules of the FX2N series.
in combination with a communi- (product code FX--BD)
cation adapter FX1N-CNV-BD. Up to 8 special function mod-
FX2N
ules of the FX2N series.
The modules FX0N-485ADP and
FX0N-232ADP can be mounted Up to 4 special function mod-
FX2NC
on the left side directly. An ules of the FX2N series.
adapter is not required.
Up to 4 special adapters of the
Up to 2
FX3U series can be mounted on
(dependent on the type
FX3G the left side of the base unit in
of base unit)
combination with an adapter
(product code FX3G--BD)
board FX3G-CNV-BD.
Up to 10 special adapters of the
FX3U series can be mounted on
Up to 8 special function mod-
the left side of the base unit 1
FX3U ules of the FX2N or FX3U series.
directly or in combination with (product code FX3U--BD)
an interface/communication
adapter FX3U--BD.
Up to 6 special adapters of the
FX3U series can be directly
FX3UC
mounted on the left side of the
base unit.
The difference between a base unit, extension unit and extension block is described as follows:
A base unit is made up of 4 components i.e. power supply (for base units with AC power
supply only), inputs, outputs and CPU.
An extension unit is made up of 3 components i.e. power supply, inputs and outputs.
An extension block is made up of 1or 2 components i.e. inputs and/or outputs.
It can be seen that the extension block does not have a power supply. It therefore obtains its
power requirement from either the base unit or extension unit.
Hence it is necessary to determine how many of these unpowered units can be connected
before the "On Board" power supply capacity is exceeded.
Special adapters of the FX3U series can be mounted on the left side of the base unit of the FX3G,
FX3U, and FX3UC series.
NOTE The following rules apply to FX3U base units. For the rules of system configuration for the
FX3G or FX3UC series, please refer to the appropriate manual.
Connect all high-speed I/O special adapters before connecting other special adapters when
they are used in combination. A high-speed I/O special adapter can not be mounted on the left
side of a communication or analog special adapter.
When only high-speed input/output special adapters are connected, the adapters can be used
without a communication or interface adapter board installed in the base unit.
Possible High-speed I/O High-speed I/O High-speed I/O Communication or Base unit
interface adapter
configuration special adapter special adapter special adapter board
2 - 36 MITSUBISHI ELECTRIC
The Hardware System Configuration
Interchangeable
Summary
The following considerations should be taken into account when configuring a system with
extension units or special function modules:
Current consumption from 5 V DC backplane bus
24 V DC current consumption
The total number of inputs and outputs point must be smaller than the number of max. I/Os.
The following figure shows the distribution of the power supply in case of an FX3U.
: Special adapter
: Communication board or interface board
: Modular extension block or special function module
* When connecting an input extension block on the downstream side of an extension power supply unit, this input
extension block is supplied from the base unit or from an input/output powered extension unit which is mounted
between base unit and extension power supply unit.
When only input/output extension blocks are added, a quick reference matrix can be used.
When also special function modules are added, calculate the current consumption to ensure
that the total current to be consumed by the additional modules can be supplied by the built-in
power supply. For details of the power consumption please refer to the appendix (section A.4).
2 - 38 MITSUBISHI ELECTRIC
The Hardware System Configuration
When only input/output extension blocks without a built-in power supply are added to a base
unit, a quick reference matrix can be used. The following examples are valid for base units of the
FX3U series.
In the following quick reference matrixes, the value at the intersection of the number of input
points to be added (horizontal axis) with the number of output points to be added (vertical axis)
indicates the remaining power supply capacity.
see example
40 25
32 100 50 0 Not allowed to add
Number of additional 24 175 125 75 25
outputs
16 250 200 150 100 50 0
8 325 275 225 175 125 75 25
0 400 350 300 250 200 150 100 50 0
0 8 16 24 32 40 48 56 64
Number of additional inputs
Example
When a 16-input and a 16-output point extension block are connected to a base unit
FX3U-16M or FX3U-32M, the residual current of the 24V DC service power supply is
150 mA.
Example
When a 32-input and a 16-output point extension block are connected to an AC powered
base unit with 48, 64, 80 or 128 I/Os, the 24 V DC service power supply can still deliver a
maximum current of 250 mA to other devices.
Confirm the current capacity of 24 V DC service power supply from the value shown in the quick
reference matrix. This remaining power supply capacity (current) can be used as a power supply
to external loads (sensors or the like) by the user. When special function modules are con-
nected, it is necessary to consider whether they can be powered by the remaining power supply
capacity.
The following matrixes show the expandable units up to the mark, where the desired inputs
(horizontal axis) and outputs (vertical axis) intersect. System are expandable up to the mark
when the supply voltage is 16.8 V to 19.2 V.
see example
40
32 Not allowed to add
Number of additional 24
outputs
16
8
0 -
0 8 16 24 32 40 48 56 64
Number of additional inputs
Example
When adding 16 inputs to a DC powered base unit with 16 or 32 I/O, a maximum of 32 out-
puts are expandable. When adding 16 inputs under the supply voltage 16.8 V to 19.2 V, a
maximum of 16 outputs are expandable.
64
56 see example
48
40 Not allowed to add
Number of additional 32
outputs
24
16
8
0 -
0 8 16 24 32 40 48 56 64 72 80 88 96
Number of additional inputs
Example
When adding 32 inputs to a DC powered base unit with 48, 64, or 80 I/Os, a maximum of 40
outputs are expandable. But when adding 32 inputs under the supply voltage 16.8 V to
19.2 V, a maximum of 24 outputs are expandable.
2 - 40 MITSUBISHI ELECTRIC
The Hardware I/O Assignment
When power is turned on after input/output powered extension units/blocks have been con-
nected, the base unit automatically assigns the input/output numbers (X/Y) to the units/blocks.
The following table shows a comparison between some decimal and some octal numbers:
Decimal Octal
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 10
9 11
10 12
11 13
12 14
13 15
14 16
15 17
16 20
: :
X000 to X007, X010 to X017, X020 to X027......, X070 to X077, X100 to X107...
Y000 to Y007, Y010 to Y017, Y020 to Y027......, Y070 to Y077, Y100 to Y107...
For example, when the last number on the preceding device is Y43, the output numbers are
assigned to the next device starting from Y50.
* The inputs from X044 to X047 and the outputs from Y024 to Y027 are occupied by the FX2N-8ER-ES/UL, but they
can not used.
Since you can attach multiple special function modules to a single base unit each module needs
to have a unique identifier so that you can address it to transfer data to and from it. Each module
is automatically assigned a numerical ID in the range from 0 7 (you can connect a maximum of
8 special function modules). The numbers are assigned consecutively, in the order in which the
modules are connected to the PLC.
24+
24- SLD
24+
24+
24-
24-
L+
V+
L-
V+
VI-
VI-
I+
I+
SLD
L+
FG
V+
L-
V+
VI-
VI-
I+
SLD
I+
FG
V+
FX2N -4AD-PT
V+
L+
FX2N -4DA
FX2N-4AD-TC
L-
VI-
VI-
I+
SLD
FX2N-4DA
I+
L+
FG
V+
L-
V+
VI-
VI-
I+
I+
D/A
Special function module addresses are not assigned to the following products:
2 - 42 MITSUBISHI ELECTRIC
Programming Concepts of the IEC61131-3 Standard
3 Programming
This system enables structured programs to be created using a high degree of modularisation.
This provides increased efficiency, where tested programs and routines may be reused with a
reduction of the number of programming errors.
Through use of structured programming techniques, IEC1131-3 eases fault finding procedures
as individual operational program elements may be examined independently.
One important advantage of IEC61131-3 is that at assists in project management and quality
control procedures. In particular, the structured methods encompassed within IEC61131-3 aid
the Validation of processes incorporating PLCs. In fact, in some industries it is now considered
mandatory to adopt this approach of structured programming. This is commonplace in the Phar-
maceutical and Petrochemical industries where some processes can be considered safety criti-
cal.
It is considered, in some quarters that the IEC method of programming requires excessive work
to create the final code. However, it is generally accepted that the advantages a structured
approach has to offer over un-structured and open programming techniques makes
IEC61131-3 a worthwhile advantage.
PLCopen
PLCopen is an independent vendor and product organisation that has been estab-
lished in order to further the use of IEC61131-3 throughout users of Industrial Con-
trol Systems. This organisation has defined 3 levels of compliancy for the design
and implementation of systems to IEC61131-3.
an accreditation procedure
accredited test institutes
development test software, shared amongst members
a defined certification procedure
members with certified products
This assures compliancy now, and in the future.
PLCopen Certification
Mitsubishis GX IEC Developer is fully compli-
61131-3 ant with PLCopen to Base Level IL (Instruc-
tion List) and Base Level ST (Structured
Text) and has been fully certified to these
standards.
POUs
GLOBAL VARIABLES
LOCAL VARIABLES
USER DEFINED FUNCTIONS & FUNCTION BLOCKS
TASK POOL
PROGRAM EDITORS:
Instruction List
Ladder Diagram
Structured Text
Projects
A Project contains the programs, documentation and parameters needed for an application.
There are three different classes of POUs, classified on the basis of their functionality:
Programs
Functions
Function Blocks
POUs declared as Function Blocks can be considered as programming instructions in their
own right and they can be used as such in every module of your programs.
The final program is compiled from the POUs that you define as programs. This process is han-
dled by the task management, in the Task Pool. Program POUs are put together in groups
referred to as Tasks.
Tasks
The Program POUs are grouped together
in tasks
Most PLC programs consist of areas of code which perform specific tasks.They may form part of
one large program, or be written in sub-routines, with program control instructions to select the
current routine i. e. CALL, CJ etc.
In the above program, GX IEC Developer considers that each program routine which carries out
a specific task to be a POU or program organisation unit.
Each POU can be written using any of the supported editors i.e. LD, IL, FBD, SFC, ST as shown
below:
Overall Project Configuration illustrating POU integration using SFC, FBD, IL, LD and MELSEC
IL and ST format programs.
POU Pool
A Project will consist of many POUs, each providing a dedicated control function and held in a
POU Pool. Each POU could be written in any of the IEC editors. Therefore in any given project,
the best language for the required function can be chosen. The compiler will assemble the pro-
ject into code the PLC can understand but the user interface remains as written.
In this way, perhaps complicated interlocking routines, could be written in a ladder POU, whilst
complex calculations or algorithms, might be better suited to one of the textual, or FDB editors.
Above an example of the GX-Developer display is shown illustrating an example POU Pool.
Composition of a POU
Local Variables
When program elements are declared as Local Variables, GX IEC Developer, automati-
cally, uses some of its System Variables, as appropriate storage devices within a specific
POU. These variables are exclusive to each POU and are not available to any other routine
within a project.
Global Variables
Global Variables can be regarded as shared variables and are the interface to physical
PLC devices. They are made available to all POUs and reference an actual physical PLC
I/O or named internal devices within the PLC. External HMI and SCADA devices may inter-
face with the user program using Global Variables.
If symbolic declarations are used, then the tag names must be cross referenced to real PLC
addresses.
The LVL can be made up of both Global Variables and Local Variables.
A Local Variable can be thought of as an intermediate result, i.e. if the program performs a five
stage calculation, using three values and ending with one result, traditionally, the programmer
would construct software, which produced several intermediate results, held in data registers
before ending with the final register result.
It is likely that these intermediate results, serve no purpose other than for storage and only the
final result is used elsewhere.
With GX IEC Developer, the intermediate results can be declared, as Local Variables and in this
case, only the original three numbers and the result, declared as Global Variables.
The GVL is available and can be read by all POUs created in the project.
Consider our original control program. Conditional Jump (CJ) instructions could be used to iso-
late, either routines #1 or #2, when not in use. The Heating control routine is always required to
run.
If these routines are considered as tasks, then routines #1 & #2, are driven by event, i.e. when
either auto or manual is selected, whereas, routine #3 is always on.
When GX IEC Developer compiles the project, it automatically inserts, program branching
instructions, into the program, in line with event driven tasks.
A Task can have more than one POU assigned to it, typically, a task where Event = True, would
contain all POUs which needed to operate every scan of the PLC. A POU of a particular name
cannot be assigned to more than one task in any one project.
NOTE Any POUs not assigned to Tasks, ARE NOT SENT TO THE PLC during program transfer.
Dont forget this applies to the default download. Tasks can be prioritised, either on a time
or interrupt basis.
The Task Pool contains all the assigned tasks in the project.
The Task Pool allows the user to efficiently manage the PLC scan, ensuring that only the rou-
tines that require scanning are executed. It also provides an easy method of allocating specific
routines to events and timed or priority interrupts.
The software engineer need only be concerned about the program content, not whether the
branch instructions are correct and obey the rules.
Machines/processes, consisting of standard parts, can have individual POUs written for each
part. The full machine may consist of many POUs.
For each variant of the machine, the supplier can choose to assign to the Task Manager, only
the relevant POUs, for that machine, as only POUs assigned will be transferred to the PLC on
download.
The device ranges that GX IEC Developer allocated to system variables can be edited here.
This feature is displayed using the Options command under the Extras menu:
Timers
Standard (T) From/to: PLC type dependant, as defined in the parameters.
Retentive (ST) From/to: PLC type dependant, as defined in the parameters.
Counters (C)
From/to: PLC type dependant, as defined in the parameters.
Bit range
M: M devices are used as bit system variables.
From/to: PLC type dependant, as defined in the parameters.
Labels (P)
From/to: PLC type dependant, as defined in the adequate CNF file
System Labels, shown in the system variable list in chapter 3.2.2 are used by GX IEC Developer
for internal management of the project. GX IEC Developer allocates system labels for the
following:
Network Labels
Event Driven Task (not EVENT = TRUE)
User Defined Function blocks (one per function block unless macro code)
System Timers (These are used by the Task Manager, for interval triggered tasks and local
Timers.)
3 - 10 MITSUBISHI ELECTRIC
Programming Programming Languages
Text Editors
Instruction List (IEC and MELSEC)
Structured Text
Graphic Editors
Ladder Diagram
Function Block Diagram
Sequential Function Chart
With the exception of the Sequential Function Chart language, all the editors divide PLC pro-
grams into sections, referred to as "Networks". These Networks can be given names (labels),
which can consist of up to a maximum of 8 characters terminated with a colon (:). These net-
works are numbered consecutively and can be used as destinations for branching commands.
You can include MELSEC networks in IEC Instruction Lists, thus providing access to
the MELSEC system instructions.
The accumulator
For more information about IEC Instruction List, please refer to chapter 15.
Structured Text
Structured Text is a helpful tool. Especially programmers coming from the PC world will enjoy
this tool. If they program carefully and think about the way of working by PLC, they will be glad
with this editor.
The Structured Text editor is compatible to the IEC 61131-3, all requirements are fulfilled.
Ladder Diagram
A Ladder Diagram consists of input contacts (makers and breakers), output coils, function
blocks and functions. These elements are connected with horizontal and vertical lines to create
circuits. The circuits always begins at the bus bar (power bar) on the left.
Functions and function blocks are displayed as blocks in the diagram. In addition to the normal
input and output parameters, some blocks also have a Boolean input (EN = ENable) and output
(ENO = ENable Out). The status at the input always corresponds to that at the output.
3 - 12 MITSUBISHI ELECTRIC
Programming Programming Languages
In addition to the normal input and output parameters, some blocks also have a Boolean input
(EN = ENable) and output (ENO = ENable Out). The status of the input always corresponds to
the output status.
Sequential Function Chart has two basic elements, Steps and Transitions. A sequence consists
of a series of steps, each step separated from the next by a transition. Only one step in the
sequence can be active at any one time. The next step is not activated before the previous step
has been completed and the transition is satisfied.
3 - 14 MITSUBISHI ELECTRIC
Programming Data Types
ARRAYS
An array is a field or matrix of variables of a particular type.
For example, an ARRAY [0..2] OF INT is a one dimensional array of three integer elements
(0,1,2). If the start address of the array is D0, then the array consists of D0, D1 and D2.
Arrays can have up to three dimensions, for example: ARRAY [0...2, 0...4] has three elements in
the first dimension and five in the second.
Arrays can provide a convenient way of "indexing" tag names, i.e. one declaration in the Local or
Global Variable Table can access many elements.
The following diagrams illustrate graphical representation of the three array types.
Identifier Type
Motor_Speed ARRAY [0..3] OF INT
= Motor_Speed [3]
Identifier Type
Motor_Volt ARRAY [0..3, 0...3] OF INT
= Motor_Volt [2, 3]
Identifier Type
Motor_Current ARRAY [0..3, 0...2, 0..2] OF INT
= Motor_Current [1, 2, 1]
3 - 16 MITSUBISHI ELECTRIC
Programming Data Types
When completing a global variable list, identifiers of type Silo can be used. This means that the
predefined group called Silo can be used with the elements defined as required for each silo,
thus reducing design time and allowing re-use of the DUT.
The following example shows the creation of a data type called Silo. The variable collection of
Silo contains two variables of the INT and one variable of the type BOOL.
Double-click on Global_Vars in the Project Navigator window and enter the following lines in the
global variables declaration table.
The variables are stored in the Global Variable List. The structure of both variables, Silo_1 and
Silo_2, is identical, so to reference the individual variable of each DUT you only need to prefix
their names with the name of the respective global variable.
In this example a function block of the type Monitoring has been programmed for assigning the
register value and the Boolean input to the elements of the DUTs. Two separate instances
(Silo_01 and Silo_02 ) of this function blocks were then created for two silos.
The GVL has been extended to define addresses for all elements of data unit types. Not defined
addresses are handled by the system.
3 - 18 MITSUBISHI ELECTRIC
Programming Data Types
To view all definitions at once (if more than one definition is available), DUT entries in the GVL
can be expanded by double-clicking the row number field.
In the following example, the counter has been programmed using identifiers which would have
to be declared in the Global and Local Variable tables:
3 - 20 MITSUBISHI ELECTRIC
Building a Project
4 Building a Project
In the next section, we will build our first project, initially using the Ladder Diagram editor.
Topics covered
Using the Project Navigator
Using the GVL with identifiers
Declaring variables in the Program Header
Creating programs with the IEC ladder editor
Programming IEC Timers/Counters
Commenting and Documentation
Downloading and Monitoring
1
2
3
Menu Bar
The Menu Bar provides access to all the menus and commands used to control GX IEC
Developer. When you select one of the entries in the bar by clicking with the mouse, a menu
of options drops down. Options marked with an arrow contain submenus, which are dis-
played with additional options when you click on them. Selecting commands normally
opens a dialog or entry box.
Tool Bar
The Tool Bar icons give you direct access to the most-used commands with a single mouse
click. The Tool Bar is context-sensitive, displaying a different collection of icons depending
on what you are currently doing in the program.
Editor (Body)
In this area the POUs can be edited. Each POU consists out of a Header and a Body.
Header
A header is an integral part of a program organisation unit (POU). It is the place where
the variables to be used in the POU must be declared.
Body
A body is an integral part of a program organisation unit (POU). It contains the code ele-
ments and syntax of the actual program, function block or function.
Status Bar
This bar displayed at the bottom of the screen gives you useful information on the current
status of your project. Status Bar display can be enabled or disabled, and you can also con-
figure the individual display options to suit your needs.
The following application program will be used to illustrate the creation of a simple program
using the tools of GX IEC Developer.
Operational Sequence
Momentarily operate foot switch to index carousel.
Assemble product
Drive Motor
Drive Motor
Y10
Y0
Proximity Switch
Proximity Switch
InPosition"
"In Position M
X1
X1
Foot
Foot Switch
Switch
Index
"Index Carousel"
Carousel
X0X0
Product
Product
Assembly
Assembly
MELSEC
MELSEC PLC
PLC I/OI/O List:
List: Station
Station
X0: Foot Switch
X1: In Position
Y0: Motor Drive
There are a number of issues that must be addressed when designing a PLC program for the
above application. Using a standard Start / Stop circuit is not possible without modification due
to the following difficulties:
The foot switch may be operated at random. Once activated, it may be possible for the
operator to forget to release the switch which may cause the table to continue to rotate past
its index position.
Once In-Position X1 operates, it remains on, thus the table is prevented from re-indexing.
The design must therefore contain interlocks to prevent miss-operation as described above. An
alternative approach to the design would suggest the use of Pulse Transition Logic by means of
the IEC or MELSEC Edge Triggered configurations.
The most appropriate command to use in this application is the MELSEC PLS (Rising edge
Pulse). It has been adopted here instead of the IEC instruction R_TRIG (Rising edge Trigger)
instruction, which would also be suitable.
The following diagram illustrates the order of sequencing of the carousel control. Note that the
rising edge of the foot switch triggers the motor ON, irrespective of the In Position sensor being
ON.
When the table begins rotating, the In position sensor turns OFF a little later. The motor contin-
ues to drive the carousel conveyer until the rising edge of the In Position sensor is detected;
this turns the motor OFF. Note that the foot switch continues to be held on.
The Motor can only start rotation when the foot switch is released and subsequently reactivated.
Hence the motor starts again on the rising edge of the Foot Switch being operated.
Foot Switch
Foot switch
Motor
Motor
In Position
In position
Provide a name for the project in the project path field. In this case use \GXIEC
DATA\CAROUSEL and click on Create as in the following illustration:
The Wizard
The Project Startup Wizard will be displayed:
The Wizard provides a quick way to begin projects. It will thus create the basic starting structures
for simple projects.
This effectively inhibits the Wizard from creating any project elements. Of course, the Wizard
may be used if desired, but in order to fully explore the primary functions of GX IEC Developer,
for training purposes we will use manual operations to create a program.
The project navigation window on the left hand side of the screen enables the user to rapidly
access any portion of the project by double clicking on the selection.
Click on the New POU button (or Right Click on POU Pool) on the tool bar. The new
POU specifications are to be entered as follows:
The name of the POU will be MAIN and it should be specified as a Ladder Diagram of type
PRG (Program).
Click OK and note the addition to the POU Pool in the Project navigation window:
Double click on MAIN program icon or click the symbol on the POU Pool in order to expand
the directory branch and display the Header and Body entries:
Before any program code can be created, it is necessary to specify and assign all pre-allocated
physical PLC inputs and outputs including any shared variables that are to be used in the pro-
ject.
Double Click the mouse pointer on Global_Vars to open the Editor for the Global Variables. This
is called the Global Variable List - GVL.
As discussed previously, if IEC conventions are to be applied, then symbolic identifiers (names)
must be used instead of discreet addresses in our program. These addresses must therefore be
declared in the Global Variable List (GVL). The identifier must be filled in, using its PLC address
(either using Mitsubishi or IEC notation) and its type, for example; whether it is a bit or word
device. Once completed, this list can be used by all of the POUs that will be created.
Declaring Variables
As can be seen from the GVL field list, each variable has a set of elements as follows:
Class
The class keyboard assigns the variable a specific property that defines how it is to be
used in the project
Identifier
Each variable is given a symbolic address, i.e. a name. This is referred to as the identifier. It
consists of a string of alphanumeric characters and underscore characters. The identifier
must always begin with a letter or an underscore character. Spaces and mathematical op-
erator characters (e.g. +,-,*) are not permitted.
MIT-Addr
This is the absolute address referenced in the PLC.
IEC-Addr
The IEC syntax of the address.
Type
Referrers to the data type, i.e. BOOL, INT, REAL, WORD etc.
Initial
The initial values are set automatically by the system and cannot be changed by the user.
Comment
Comments up to 64 characters may be added for each variable
If symbolic identifiers are not to be used in the program but only Mitsubishi addresses, then there
is no need to fill out the Global Variable List (GVL). However the program will no longer be truly
IEC61131-3 compliant.
4 - 10 MITSUBISHI ELECTRIC
Building a Project Application Program
Fill out the table as shown in the following illustration. The variable Type Selection is automati-
cally recognised and placed by GX IEC Developer upon entry of the Address but can be input
manually or modified by clicking on the type select arrow in the Type field area. When the
Mitsubishi address is entered, the system automatically converts and enters the IEC equivalent.
NOTE Finding unused variables can only be performed if the project has been built and was not
changed since then. Otherwise a warning message will be displayed.
NOTES The Global Variable List incorporates an Increment new declarations feature. If the GVL
contains entries i.e. for a number of valves, Valve_1 to Valve_n then if the first entry is
made for Valve_1 and new rows are declared either via the tool bar icons or Shift+Enter
then both the identifier and address fields are incremented. This feature is enabled by
default. If this is not required it can disabled via the Extras menu ( Extras\Options\Editing),
to be described later. All or selected POUs can be selected and all or selected variables can
be deleted. When invoked, all unused Global Variables in POUs are deleted. This feature
will be explored later when appropriate.
For all FX2N, FX3G, FX3U, FX3UC, System Q and AnA(S) type CPUs IEC Type REAL (Float-
ing Point) values are fully supported.
When the data entry in the GVL has been completed, click the Check button as shown:
4 - 12 MITSUBISHI ELECTRIC
Building a Project Application Program
To open the Ladder diagram editor, double click on the Body selection under the POU pool
in the project navigation window:
4 - 14 MITSUBISHI ELECTRIC
Building a Project Application Program
With the pointer over the window boundary, click and drag downwards to increase the ver-
tical size of the network:
Move the mouse pointer over the work area and click to fix the drop position on the window:
Press the F2 button on the keyboard or click on the button on the tool bar to call up
the variables selection window and the display will be as shown below:
Note that the current Header should be selected under the Scope dialogue area.
Click Foot_Switch to highlight that variable and click the Apply button. Then close the
Variable Selection box.
4 - 16 MITSUBISHI ELECTRIC
Building a Project Application Program
The MELSEC Function Block command, PLS_M will be added to the program as the output
function.
Click on the Function / Function block selection button on the tool bar. On the Opera-
tor type click Functions and type "PLS_M" into the Operators prompt box thus:
4 - 18 MITSUBISHI ELECTRIC
Building a Project Application Program
The following prompt is displayed if the variable does not exist in the Local Variable List LVL
(Local Header) or the Global Variable List GVL:
Click on Define Local to define a new Local Variable LVL. The Variable Selection win-
dow is displayed, prompting a new variable to be defined:
Click Define to enter the new variable into the LVL (Local Header).
Finally, the ladder network must be finalised by connecting up the elements as follows.
4 - 20 MITSUBISHI ELECTRIC
Building a Project Application Program
While in the ladder edit screen, Right clicking the mouse button pops up a small selection win-
dow as shown below. Clicking on Auto Connect toggles this feature on/off; it is also the method
for switching between pen and arrow, other than via toolbar icons.
The pen can then strike through all contacts, from the bus bar, to the coil. In the Ladder Editor the
suggestion is to invoke the Auto Connect feature when dropping elements onto the POU body
or connecting parallel elements. It should however be disabled when connecting a row of con-
tacts as shown in the following screen, or inserting a contact into an existing network.
When using multi-legged or pinned functions such as MUL, the number of input parameter
legs, can be incremented/decremented by using the special toolbar, icons shown. This can also
be achieved by placing the cursor at the bottom edge of the function, holding down the left hand
mouse button and then dragging away as shown below:
To create a network below the current one, click the insert after button. A blank net-
work space will appear:
Enter the second network in the same format as previously described with the following
attributes:
4 - 22 MITSUBISHI ELECTRIC
Building a Project Application Program
When the three networks have been entered, complete click the Check button and if all is
well, the following dialogue is displayed:
An additional POU will now be added to the project in order to count the number of times the
motor is activated, i.e. product batch counter.
When ten products have been counted, the PLC will flash an output at a 1 Second time-base
until a button is operated to reset the batch counter.
Enter the following POU ladder routine, using the free-form editors as shown:
As discussed previously, the ladder network may be re-sized by moving the mouse pointer to
the lower boundary of the network header and click-hold dragging downward to increase the
vertical size:
4 - 24 MITSUBISHI ELECTRIC
Building a Project Application Program
Counting function
Using the editor in select mode, enter the instruction CTU (Count Up) into the ladder network:
Drop the IEC Function Block onto the empty Ladder network:
Click on Apply, then Update and the variable name will change as
shown on the left.
Continue to enter the program as previously described so that the following display is
achieved:
When entering the PV and CV values, use the variable buttons respectively.
4 - 26 MITSUBISHI ELECTRIC
Building a Project Application Program
When all new entries are complete, click the check button then the Rebuild All button
to check and assemble the project.
Timing Function
Create the following Ladder Networks below the batch counting routine in the Batch_Count
POU as shown:
When the editing task has been completed, the GVL should appear thus:
The header (LVL) for the above program Batch_Count should now appear as shown:
When all new entries are complete, click the check button then the Rebuild All button
to check and assemble the project.
4 - 28 MITSUBISHI ELECTRIC
Building a Project Application Program
In order for the POUs MAIN and "Batch_Count" to be assembled and executed in the PLC,
they must be specified as valid tasks in the Task Pool.
Then click on the Task button on the Toolbar. Alternatively, Right Click the task pool
icon in the Project navigation window and select the New Task option from the menu.
Enter the name of the new task ("Control1") in the prompt window.
Click OK and the Project Navigation window now shows the newly created task called
Control1:
Click on the centre choice browse ellipsis as shown above. The following prompt dialogue
is displayed:
4 - 30 MITSUBISHI ELECTRIC
Building a Project Application Program
Task Properties
The properties for the task can be displayed by right clicking the mouse on the required task pool
entry (i.e. Control1) and selecting Properties from the menu. The following task settings win-
dow is displayed:
Task Attributes
Event = TRUE: Always execute
Before continuing, it is a good idea to SAVE the project; click on the Save Button.
The new task will appear under the previous Task Control1 in the task Pool:
When complete, click the check button then the Rebuild All button to check and
assemble the project.
Save the project using the save button. The project is now complete and must therefore be
transferred to the PLC.
4 - 32 MITSUBISHI ELECTRIC
Building a Project Application Program
Network Header
Titling the network header is optional and provides a means to identify the program network with
a descriptive title of up to 22 characters. This can assist handling projects where large numbers
of networks are present.
With Network 1 selected, click the Network Header button or double click the mouse
pointer over the network header area and enter the following data into the Title field ONLY
leave the Label field Blank as this has another function:
Click OK and the network header will be displayed on the left hand side of the screen:
Note that the title may require pre-formatting (Padding with spaces), depending on the screen
resolution set, to read correctly as the text auto wraps to fit into the horizontal space available (22
characters max).
Network Comments
Comments enable virtually freehand text descriptors to be added anywhere inside the ladder
network area. This is vital to provide descriptions of the operation of the program.
The mouse pointer changes to , click the left mouse button wherever the comment is
to be placed and type the required text and press <Enter>:
Deleting a comment
Click once on the comment to highlight and press the <Delete> key on the keyboard.
When the Ladder Diagram is complete and task has been specified in the Task Pool, once
again press the Check button on the tool bar to check the program for errors; the fol-
lowing dialogue should be displayed:
4 - 34 MITSUBISHI ELECTRIC
Building a Project Application Program
Click either the Build button or the Rebuild All button on the toolbar and if all is
well, the following compiler messages are reported:
In addition to the freehand ladder entry methods, GX IEC Developer Version 6 onward features
a Guided Ladder Entry Monitor method which may be used to aid Ladder program entry. This
entry method may prove to be helpful to those wishing to make the transition to GX-IEC Devel-
oper who have had previous familiarity with Mitsubishis MEDOC package and GX-Developer.
Enter the Guided Entry Monitor mode by pressing the button on the tool bar. The
following matrix is placed into the edit area:
Use the following buttons on the toolbar to select the ladder symbols. The corresponding
number may be pressed to select the appropriate symbol from the keyboard, thus eliminat-
ing the need to use the mouse:
Select the Normally Open Contact symbol 1 and the following will be displayed:
The program may continue to be entered using the F2 button on the keyboard or click on the
button on the tool bar to call up the variables selection window as previously described.
4 - 36 MITSUBISHI ELECTRIC
Building a Project Project Download Procedures
The following notes describe how the project is downloaded to a FX PLC. To connect a controller
of the FX family and a PC, the SC 09 converter is used to convert the RS232 common mode
serial signals to and from the computer to the RS 422 serial-differential format required by the
PLC.
SC 09 cable
Before the project can be downloaded into the PLC CPU for the first time, the communication
and download settings must be configured.
From the Online menu, select Transfer Setup and then Ports:
The Connection Setup window shown on the next page will be displayed.
Double click the mouse on the yellow PC side I/F Serial button and the following dia-
logue window is displayed:
4 - 38 MITSUBISHI ELECTRIC
Building a Project Project Download Procedures
Click on the Connection Test button to check PC-PLC communications are ok:
If an error message is displayed, check connections and settings with the PLC.
NOTE When using a standard RS232 Serial Port to communicate with the PLC, if another device is
already connected to the selected COM (n) interface, for example a serial mouse; Select
another free serial port.
Select OK to close the System image display and return to the Connection setup dis-
play. Than click the OK button to close the Connection Setup window. If you leave the
Connection Setup window using the Close button, the settings are not saved.
4 - 40 MITSUBISHI ELECTRIC
Building a Project Project Download Procedures
Once the setting up procedures is complete, click on the Download Project icon on
the toolbar.
Transfer Setup
Click the Configure button to setup the Transfer parameters for the project.
To send the project to the PLC, click the OK button to execute the transfer.
4 - 42 MITSUBISHI ELECTRIC
Building a Project Monitoring the Project
Click on the Monitor Mode Icon on the toolbar and observe the ladder display:
NOTE Depending on the colour attributes set, monitored variables will be displayed with a coloured
surround (Default: Yellow). Values of any analogue variable will be displayed on the moni-
tored networks as appropriate.
To monitor both of the project POUs simultaneously, open both POU bodies and select Tile
Horizontally from the Window menu.
NOTE
Important: It should be noted that when initially entering monitor mode with , only the
screen in focus will be monitored. This is to avoid unneeded communication traffic occurring
from other screens that have been opened but are not necessarily in the focus (i.e. opened
but behind).
To begin monitoring the content of additional windows, click inside that window and select Start
Monitoring from the Online Menu:
NOTE Due to the serial communications handshake, be prepared to wait a few seconds for the
monitor information to be registered between GX IEC Developer and the PLC.
4 - 44 MITSUBISHI ELECTRIC
Building a Project Monitoring the Project
The rate of communication polling from GX IEC Developer to the PLC may be increased by
adjusting the poll rate setting. Select Monitor Mode from the Extras/Options menu and enter a
new value for the Poll rate.
To adjust the visibility of the monitor mode, select Extras/Options/Monitor Indication and a
flashing message can be enabled, to appear where chosen. The blink rate of the Monitoring
banner can be set by the User:
4 - 46 MITSUBISHI ELECTRIC
Building a Project Cross Reference List
Click on the Search button and the full list will be displayed.
Specific variables etc. can be searched by using the query selection boxes. Individual details of
the highlighted entry are then shown on the right hand side of the window.
4 - 48 MITSUBISHI ELECTRIC
Building a Project Cross Reference List
The Show in Editor button opens the header of the highlighted right hand list element, for
example:
or
Object highlighted
The Cross Reference List may be printed out, using the print facility within GX IEC Developer.
The most important hardware errors such as Fuse blown are displayed in a window and evalu-
ated.
User errors can be determined. These user errors are stored with a self-created text file
(USER_ERR.TXT) and allow a quick error correction. The last eight user errors are stored into a
FIFO register and only be removed when they no longer occur.
4 - 50 MITSUBISHI ELECTRIC
Building a Project Project Documentation
The Change Configuration dialogue box can then be seen. Previous project profiles can be
retrieved here, or work with the default profile. Either select the Project Tree for all elements, or
Selected Items for specific highlighted items, open Properties:
The Document Configuration folder is shown below. Select the tabs to configure the docu-
ment as required. In this example, only the COUNTER_FB_CE will be printed, as the Selected
Items option was chosen:
User defined logos and information can be assigned, in the Cover Page tab, for the front sheet
and for the frame from the Frame Logos tab:
4 - 52 MITSUBISHI ELECTRIC
Building a Project Project Documentation
Detailed information can be assigned, to the left and right footers. The field labels in the Left
Footer dialogue can be renamed, by clicking on the name buttons, as required:
Specification for POU appearance and general project specifications are available from the
POUs and General/Project Tree tabs.
Specification for SFC appearance and cross reference specifications, are available from the
SFC and Cross Reference tabs:
The configured profile can be saved, by simply naming the Current Profile field and then click-
ing the Save button. It can then be recalled at any time using the selection box:
4 - 54 MITSUBISHI ELECTRIC
Program Example An Alarm System
5 Program Example
The system will be armed after a delay between turning the switch and activation. This pro-
vides time for the user to leave the house without tripping the alarm.
An n alarm is activated after a delay to make it possible to disarm the system after entering
the house.
The siren will only be sounded for 30 seconds, but the alarm lamp will remain activated un-
til the system is disarmed.
I/O List
The following table contains an overview of the used inputs, outputs, and timer.The inputs
are used to read the status of the alarm circuits. The siren and a blinking alarm lamp are
connected to outputs. The timer are used for the required delays.
Function Adress Remarks
Arm system X1 Make contact (key-operated switch)
Alarm circuit 1 X2
Input Break contacts (an alarm is triggered when the input
Alarm circuit 2 X3
has the signal state 0)
Alarm circuit 3 X4
Display system armed Y0
Acoustic alarm (siren) Y1
Optical alarm (rotating beacon) Y2 The outputs functions are activated when the corre-
Output sponding outputs are switched on (set). For exam-
Alarm circuit 1 display Y3 ple, if Y1 is set the acoustic alarm will sound.
Alarm circuit 2 display Y4
Alarm circuit 3 display Y5
Arming delay T0 Time: 20 seconds
Timer Alarm triggering delay T1 Time: 10 seconds
Siren activation duration T2 Time: 30 seconds
5.1.1 Method
Create a new POU of Class PRG (Program Type) and Language Ladder Diagram.
Enter and comment the project. Check the program using the function provided in the tool
bar. Build and save the project.
Download the project to the FX series PLC.
Ensure the project is working correctly by monitoring the operation while operating the
inputs according to the I/O list shown at the start of this section.
Below is a table illustrating the comparison between Functions and Function Blocks:
6.1 Functions
Most control programs have some form of maths within them, i.e. for analogue signal condition-
ing, displaying engineering units etc. These are frequently reused within the program structure.
By using user defined functions, program design time can be dramatically reduced.
Objective:
Build a Function to change Fahrenheit to Centigrade.
Formula is:
(Fahrenheit - 32) 5
Centigrade =
9
The Function will be named Centigrade and the input variable will be named Fahrenheit.
Procedure
Select a new POU and name it Centigrade.
Double click on the FBD body icon, to open the body network:
Select the function block icon from the toolbar and select SUB from the operators list:
Using Apply or double clicking on the selection object, place it on the screen:
Fill out the properties of the variable thus: Class: VAR_INPUT, Type: INT, as shown below:
NOTES The Class VAR_INPUT is required as this variable enables values to be input into the func-
tion when it is connected as part of a program. It will produce a left hand pointing input con-
nection point on the function symbol.
Notice also that the variable CENTIGRADE is automatically listed. This is because the out-
put variable name must be the same as the Function name.
Click Define and the variable will be written to the header of the Function CENTIGRADE.
You can check it by opening the header.
Declaring Constants
Declare constant 32 by simply typing the number into the variable box:
In the Variable Selection window, Double click on CENTIGRADE or click to select and
press Apply.
CENTIGRADE is automatically placed in the header variable list as it is the name of the function,
it must therefore also be specified as the output argument.
If desired, to clarify correct check the Header of the Function CENTIGRADE; it should appear
as follows:
NOTE Alternatively, the Variable Fahrenheit may be entered directly into the Header (as above)
and selected (F2 or right click on variable box) at point of entry in the body.
Close down all work windows and any dialogues that may be open.
Click on the Function Block icon again, but this time select Functions and select the
Project Library. Notice the newly created function Centigrade is now filtered down into
the operators list:
NOTE Depending on preference, it is possible to minimise the Function Block selection window
following Apply by ticking the selection box as above.
If there are errors, click on the error detail and resolve the problem(s).
Transfer the project to the PLC and monitor this network using the Monitor button on
the toolbar:
Using the on screen variable forcing feature, input numbers into the Deg_F variable as fol-
lows:
Double Click on the input variable and enter a value into the Modify variable value dia-
logue as shown:
The existing CENTIGRADE function currently can only process 16 Bit Integer Whole Number
(-32768 to +32767) values which is the numeric system default when creating Functions. The
following example will utilise the Function CENTIGRADE, modifying it to process REAL
floating point values*.
Duplicating a Function
Make a duplicate copy of the function CENTIGRADE and rename it CENTIGRADE1 as fol-
lows:
Right Click on the CENTIGRADE Icon in the POU Pool of the project and select Copy.
Right Click on the POU pool icon of the project and select Paste.
The system will automatically paste a duplicate copy of CENTIGRADE and rename it to
CENTIGRADE1:
6 - 10 MITSUBISHI ELECTRIC
Functions Functions and Function Blocks
On displaying the Function Information window, set the result type to REAL.
The type should now displayed as Real in the Project Navigation Window:
Modify the Header of CENTIGRADE1 so that the Fahrenheit variable is of type REAL:
Open the Body of POU Process and place the Function CENTIGRADE1 into it as shown
below:
NOTE REAL numbers use 2 consecutive Registers (32 Bits) and are stored in a special portable
IEE format, hence the allocation in the above GVL example.
6 - 12 MITSUBISHI ELECTRIC
Functions Functions and Function Blocks
Save the Project, Close all open dialogues and rebuild the project.
Transfer the project to the PLC and monitor this network using the Monitor button on the
toolbar:
Modify the value of the input variable Deg_F_Real and observe the output result on the dis-
play. Note the 7 Digit floating point accuracy.
Procedure:
Start a new Empty project in GX IEC Developer called Motor Control with no POUs.
6 - 14 MITSUBISHI ELECTRIC
Creating a Function Block Functions and Function Blocks
Open the body and build the ladder networks as shown below:
6 - 16 MITSUBISHI ELECTRIC
Creating a Function Block Functions and Function Blocks
Create entries for the instance names in the header for MCC1 and MCC2 as follows:
An Instance is the copy of the function block for this POU. For this example simply type MCC1
and MCC2. Notice that once entered, the instances are listed in the variable selection window as
+MCC1 and +MCC2 as Type: STAR_DELTA.
The Instances must be declared in the POU Header. As can be seen from the previous figures,
Instance names are added in the same way as adding any other new variable from the POU
body.
The STAR_DELTA FB can be used many times in the project and must use different Instance
names.
6 - 18 MITSUBISHI ELECTRIC
Creating a Function Block Functions and Function Blocks
Double click on the task and bind the POU MOTOR_CONTROL to the task MAIN:
NOTE Finding unused variables can only be performed if the project has been build and was not
changed since them. Otherwise a warning message will be displayed.
Each unused variable is listed under the container of its declaration: the Global Variable List for
global variables, or the corresponding POU for local variables. Only those containers are listed
where unused variables exist. For example, if there is no global variable, the Global Variable List
location will not be enlisted. Containers are written in bold text and appear at a higher level than
their contained items.
NOTE This can produce large reductions in the size of the source
code. This is important particularly if the option to send all
Symbolic (Source) Code to the PLC has been selected for
download:
Compile the program in the normal manner, using the Rebuild All button on the toolbar:
Open the MOTOR_CONTROL POU and monitor the program for correct operation.
6 - 20 MITSUBISHI ELECTRIC
Execution Options of Function Blocks Functions and Function Blocks
Macrocode execution
MC MCR execution
Use with EN/ENO
The execution mode is selected in the Function Information dialogue box:
Display the Function Information dialogue box by right clicking and select Properties.
Activate the check box. The use of MC-MCR option can only be activated when the other
two options have already been activated.
This does not make any changes to instantiation and the programming of instances in the vari-
ous programming languages.
The EN input makes the function (or FB, see later), conditional (Switch On/Off)
The ENO reflects the status of the EN line.
Only instructions with or without EN should be used in a network, do not mix both types.
The EN/ENO chain should have all its pre-conditions at the beginning:
Function Definitions
All devices suffixed _E have EN / ENO lines, otherwise they do not.
All devices suffixed _M are manufacturers instructions, i.e. in this case from the relevant
Mitsubishi instruction set.
6 - 22 MITSUBISHI ELECTRIC
Advanced Monitoring Functions Entry Data Monitoring
The following diagrams are used for illustration purposes only; use the STAR_DELTA project
and its relevant devices with the following procedures.
Click in the Mitsubishi Address left hand column and type in the required device, any identi-
fier name will be automatically shown together with the current value. Column widths can
be altered. In the head of the table, move the cursor over the left border of the column you
want to alter. Then press the left mouse button and move the border to the left or right.
Release the left mouse button at the desired position.
Right Clicking the mouse button, displays the following window. Select Setup.
Click to close the setup box and observe altered EDM layout:
In this way, the EDM table can be used to display multiple data on one table.
Try adjusting the column widths and the zoom facility from the View menu, to display complete
picture. The display size is much dependent on the screen resolution set on the computer being
used.
From here values can be entered to any object displayed, i.e. the value of D100 may be altered
by entering a number into the respective field.
NOTE Remember, the behaviour of the monitor facility is dependant on the code being run in the
PLC; if the PLC code is writing a constant to this address, the value entered will be overwrit-
ten by the program. This situation is prevalent here as the values of D0 and D1 are being con-
tinuously written to by the PLC code.
Providing the physical input to the PLC is not active, it is possible to toggle the input image in the
CPU on and off by double clicking on the value field for that Boolean addresses as shown:
All elements of the Header identifiers of the highlighted POU are now displayed and monitored:
Note that the Boolean variables in the EDM are shown highlighted, when monitoring.
NOTE This monitor initialisation method is to prevent all open windows from being monitored simul-
taneously even if they are open but not in view. This would have the effect of potentially sig-
nificantly increasing the communications traffic between the PLC and the Computer. This
would ultimately result in very slow monitor response times on the GX IEC Developer dis-
plays, particularly on FX PLCs.
Setup Options
Dont Search Variables in GVL - if a direct Mitsubishi address is entered into the Entry Data
Monitor (EDM), for example M0 the system automatically searches the GVL for the identifier.
This can take a long time in large projects. By checking the box as shown, this automatic search
is disabled.
Monitor only Visible Objects in Window - generally all elements in the EDM are monitored,
even if they are not visible. By checking the box as shown, only objects in the active window are
monitored. This speeds up response for large headers.
The dialogue box can be disabled, so that operation is simply by the mouse.
For Integer/Real variables, use the same procedure, i.e. double click on the variable name,
whilst in monitor mode. The new value can be entered either as decimal or as a hexadecimal
value.
Again, if there is PLC code writing to this variable, then this will overwrite this action.
NOTE Both operations also operate on direct MELSEC addresses (For further illustrations, see
previous section: Functions).
IMPORTANT TIP
When using the Ladder editor, hold down the CTRL key and double click on the variable name.
The actual address of the selected GV will then be displayed, as shown below. Repeating the
operation will toggle back to the identifier.
7 - 10 MITSUBISHI ELECTRIC
Advanced Monitoring Functions Monitoring Instances of Function Blocks
Body and click on the Monitor mode button. The following dialogue choice window will
be displayed:
Select the instance of the Function Block MOTOR_CONTROL.MCC1 and observe the
monitored page:
In this manner every instance of any Function Block may be monitored autonomously.
7 - 12 MITSUBISHI ELECTRIC
Device Edit
8 Device Edit
Highlight the cell in the top left hand corner. Click the right mouse button and then select
Insert Devices:
The device table can be configured as you wish and can be stored, as a file or written to the PLC.
Information can also be uploaded from the PLC and displayed as below.
The right mouse button supports many editing functions, find and replace, copy / paste, etc.
Highlight a row by clicking on the left hand box, i.e. D0 Select Display Mode:
It should be noticed that the selected row now displays values in hexadecimal, the other values
remain unchanged. In fact, individual cells can have different display formats, making this fea-
ture extremely flexible.
9 Online Mode
There are two methods for evoking online editing; via the online menu or the toolbar icon. Use
Save as in the Project menu to create a copy of the current project. Rename the Copy to
Motor_Control_Mod. The following operations will apply to this modified program.
Then with the mouse, click away from this network or click on the check button and the
changes are compiled and sent to the PLC automatically following a prompt to carry out or
abort the action:
NOTE Online editing is only allowed if the code is identical in the resident project and PLC.
Enter Monitor mode and observe the operation of the modified block:
The system will prompt to continue or abort the process at this point.
Click Yes and wait for the download synchronisation process to complete:
The following example illustrates the operation of DUT (Data Unit Types).
The previous Motor Control example will be used to illustrate the procedures for creating and
using DUTs.
User defined Data Unit Types (DUT), can be created. This can be useful for programs which
contain common parts, for example; the control of a number of identical Star Delta motor start-
ers. Therefore a Data Unit Type, called SD can be created, composing patterns of different ele-
ments, i.e. INT, BOOL etc.
When completing a global variable list, identifiers of type SD can be used. This means that the
predefined group called SD can be used with the elements defined as required for each Motor
Control, thus reducing design time and allowing re-use of the DUT together with Function
Blocks.
If an element called START exists in type SD, then it can be reused for each Star Delta Motor
Control instance when declared in the GVL; STAR_DELTA1.START, STAR_DELTA2.START
etc.
This means for one declaration, many derivatives can be used. One particular use for this proce-
dure is in the interface to Tag Groups in SCADA systems. This can keep communication cycles
fast and efficient by utilising shorter and sequential data transactions, instead of multiple frag-
mented data requests to and from the PLC.
Create a new Task in the task pool called MAIN and bind the Program MOTOR_CONTROL
to it.
Create a new Function Block STAR_DELTA and re-enter the following program code.
Alternatively, Copy-Paste the original function block, Body and Header, from the project
Motor Control as follows:
Body: STAR_DELTA
Header: STAR_DELTA
The Header contains the definitions (Mask) of the data types that will be used when creating the
DUT SD.
10 - 2 MITSUBISHI ELECTRIC
Data Unit Types (DUT) Example use of a DUT
The new DUT will now be displayed under the DUT Pool in
the project.
Open the DUT by clicking on the Icon and the following will be displayed:
Next, click on the MIT-Addr. cell for STAR_DELTA1 to enter the variable data for the
selected DUT entry:
Click to select
Resulting window:
10 - 4 MITSUBISHI ELECTRIC
Data Unit Types (DUT) Automatic Filling, Variables
The system will try to sequentially Auto Fill the variables of type BOOL. Although in many situa-
tions this is recommended, in this case it is only partially successful.
Therefore overtype START and STOP variables with X00 and X01 thus:
Finally, enter the two remaining Integer Variables TB and TV using MELSEC addresses
D0 and D1 using the Auto Fill feature:
Repeat this series of operations for STAR_DELTA2 entering the next sequential head
address for each variable TYPE:
10 - 6 MITSUBISHI ELECTRIC
Data Unit Types (DUT) Automatic Filling, Variables
Open the MOTOR_CONTROL program POU and place 2 instances of the user created Func-
tion Block STAR_DELTA as shown:
Set the Scope to Header, Type Class to Data Unit Types and Type to ANY_DUT.
Double Click on +STAR_DELTA1 and the following expanded DUT variable list appears:
10 - 8 MITSUBISHI ELECTRIC
Data Unit Types (DUT) Assigning DUT Variables to Function Blocks
Pick and assign the variables to the two STAR_DELTA Function Blocks on the
MOTOR_CONTROL Program POU as shown:
Download and monitor the project. Before the Function Blocks can operate, it is necessary to
write values into the TIMEBASE inputs: STAR_DELTA1.TB and STAR_DELTA2.TB. This is
carried out by using the online variable modification technique described in an earlier section.
Simulate the operation of both Function Blocks as shown on the next page in order to confirm
that everything functions as expected:
10 - 10 MITSUBISHI ELECTRIC
Arrays Overview
11 Arrays
11.1 Overview
An array is a field or matrix of variables, of a particular type.
For example, an ARRAY [0..2] OF INT, is a one dimensional array of three integer elements
(0,1,2). If the start address of the array is D0, then the array consists of D0, D1 and D2.
Arrays can have up to three dimensions, for example: ARRAY [0...2, 0...4] has three elements in
the first dimension and five in the second. Arrays can provide a convenient way of indexing tag
names, i.e. one declaration in the Local or Global Variable Table can access many elements.
The following diagrams illustrate graphical representation of the three array types.
Identifier Type
Motor_Volt ARRAY [0..3, 0...3] OF INT
= Motor_Volt [2, 3]
Identifier Type
Motor_Current ARRAY [0..3, 0...2, 0..2] OF INT
= Motor_Current [1, 2, 1]
11 - 2 MITSUBISHI ELECTRIC
Arrays Array Example: Single Dimension Array
Open the Global Variables list and create the following entries:
Note that when the array entry first appears, it will be dimensioned to the default value of ARRAY
[0..3] OF INT. It is necessary to re dimension it to [0..9] of INT for this example, as shown below:
Open the Program POU Data_Lookup1 and enter the following Function Block Diagram:
NOTE Define the R_Trig Function block with instance name Trigger.
Save the program and use Rebuild All to compile the program.
11 - 4 MITSUBISHI ELECTRIC
Arrays Array Example: Single Dimension Array
Before the program is able to function as intended it is necessary to input data into the physical
MELSEC addresses occupied by the array variables. There are two ways in which this may be
achieved:
Use the Device Edit feature from the Debug menu as previously described, using Insert
Devices in the range D100 to D109, and enter any 10 random integer values between
-32768 to +32767 and write them to the PLC.
Open the Entry Data Monitor feature from the Online menu.
Right Click on the Address or Name column headers and select Insert Objects from
the menu list as shown:
From the resulting window select the Data_Store variable name and click Add:
Because the variable name Data_Store is an array, the system presents the entry with
a + prefix. Clicking on the variable name expands the array details into the table as
shown:
While monitoring the variable values, enter any 10 random integer values between
-32768 to +32767 as shown below:
11 - 6 MITSUBISHI ELECTRIC
Arrays Array Example: Single Dimension Array
Switch back to monitor the body of the POU Data_Lookup1 and observe the operation
of the program, noting how the value alters on the output variable Data_Lookup as the
data pointer increases:
The program is designed to reset the pointer to zero on the 10th element and thus will
repeat scan the table with an upward increment (Index 0-9).
11 - 8 MITSUBISHI ELECTRIC
Working with Libraries User Defined Libraries
User defined libraries, allow the creation of libraries containing user created POUs, Functions,
Function Blocks etc. These libraries are available globally, i.e. can be accessed by other pro-
jects.
Therefore, engineers working with separate projects can have access to common libraries of
standard circuit parts.
As already seen, when called program functions, the Standard Library contains IEC functions.
The Manufacturer Library contains Mitsubishi functions (denoted by *_M) M meaning manu-
facturer, not Mitsubishi!
Right Click the Library Pool, in the Project Navigator window and from the displayed menu
select User Library and Install/Create Library.
Click on Browse Lib and enter a file name MCC_Programs into the window below. The
directory path can be changed if desired. In this case it is suggested that the default path is
used. This being: C:\MELSEC\GX IEC DEVELOPER 7.00\Userlib.
Notice the new Library MCC_Programs that is now present in the project Library Pool.
12 - 2 MITSUBISHI ELECTRIC
Working with Libraries User Defined Libraries
Open the Library by right clicking on the icon MCC_Programs and click on Open from the
menu:
The Function Block STAR_DELTA will now be moved into the Library MCC_Programs.
Select Yes
12 - 4 MITSUBISHI ELECTRIC
Working with Libraries User Defined Libraries
Right Click on the User Library icon and select Paste from the menu:
Click on the + on the new entry in the Library POU Pool to expand the STAR_DELTA
Function Block:
The Function Block POU, STAR_DELTA is now present in the Library MCC_Programs and
no longer in the Project POU Pool.
Any POU, Function, Function Block, PRG or DUT can be added to the library in this way.
Click Yes and the library will be updated, saved and closed.
The library is now stored in the default location of C:\MELSEC\GX IEC DEVELOPER
7.00\Userlib as set when creating the library.
12 - 6 MITSUBISHI ELECTRIC
Working with Libraries Special Note about Libraries
The following two examples describe the methods used to import libraries into working applica-
tions.
The previously saved library MCC_Programs will be imported into the current project and the
Function Block contained therein will be re-used.
Create a new empty project with no POUs called Library Import.
12 - 8 MITSUBISHI ELECTRIC
Working with Libraries Importing Libraries into Projects
NOTE The help path is used for user help files that can be created in order to describe the operation
of routines held in the library. These files can be created in MS-Word, for example in HTML
format and manually saved with the reserved extension *.CHM. These files can be bound to
the library by clicking Browse Help in the same manner as the Library Name selection illus-
trated above.
The new imported library is now installed into the application and can now be used within the
project as shown:
Items stored in libraries can be easily recalled and selected into a project, as shown in the follow-
ing illustrations:
Create a new POU, type: FBD and named Test:
Open the new POU and select the Function Block as shown:
As can be seen the new library appears in the domain and may be selected as shown:
12 - 10 MITSUBISHI ELECTRIC
Working with Libraries Importing Libraries into Projects
The following illustrations demonstrate the procedures required to import a Mitsubishi function
block for analogue input using a module FX3U-4AD.
This function block is provided by Mitsubishi. In order for the following example to function cor-
rectly, it is necessary to install the library "AnalogFX" into the project. The library is to be found on
the Mitsubishi website (www.mitsubishi-automation.com). After the installation the library can
be accessed from the Userlib directory.
Create a new empty project with no POUs called Analogue_Demo.
Create a new POU (Type: FBD, Class: PRG) and name it Analogue_Input
Right click on the Library_Pool icon and then on Install/Create User Library. This opens
a new dialogue window. Select Browse Lib. Select the AnalogFX_V310.SUL library file
and click Open.
You may also select the accompanying library help file by clicking on Browse Help.
Click OK on the Install/Create User Library prompt:
Create a new task in the task pool: MAIN and bind the POU Analogue_Input to it.
Place the FX3U_4AD_ADP function block into the POU as shown below:
12 - 12 MITSUBISHI ELECTRIC
Working with Libraries Importing Libraries into Projects
The instance name "ReadAverageValues" was assigned and defined as local variable.
Providing the accompanying Library Help file has been imported, for a full explanation with
examples of all function blocks, click to highlight the function block and press the F1 key.
For example, the help screen for the FX3U_4AD_ADP function block looks as follows:
The help files cover every aspect from the setup of the FX family analogue hardware modules to
use of the library function blocks.
12 - 14 MITSUBISHI ELECTRIC
Security Password
13 Security
13.1 Password
You can protect all or parts of the program with a password. You can protect against editing of
program parts and also protect circuits from being viewed by others. This is particularly relevant
for user defined function blocks. In addition, the PLC password (Keyword) is also available.
Enter the password for Level 7 and if accepted, the user will be logged on at this level.
Once logged on, the security attributes for many items may be altered. For example one of the
most common security options is to change access to POUs, i.e. User Functions and Function
Blocks.
13 - 2 MITSUBISHI ELECTRIC
Security Password
In order to protect the content or control access to User POUs the security attributes may be
adjusted, whilst being logged into the security current level, as follows:
Adjust the Security to Level 7 and click Allow Read Access for lower Levels. This will
allow subordinate users Read access only to the Header and body of the function Block:
Change the security level to Level 0 and access the header and body of the Function
Block STAR_DELTA. Read access will be allowed for monitoring purposes but any alter-
ation to the code is not possible.
Log in again to Level 7 and alter the security attributes of the Function Block
STAR_DELTA so that read access is NOT allowed for lower levels.
Change the security level to 0 and try to access the body of the Function Block
STAR_DELTA. The Header and Body of the POU will be greyed out with access to the
POU completely blocked:
Access attributes for any individual object or complete folder in the Project Navigation Window
above can be individually set, allowing higher degrees of flexibility in the program security
settings.
13 - 4 MITSUBISHI ELECTRIC
Sequential Function Chart - SFC What is SFC?
SFC programs begin with an Initial Step function which indicates the start of a sequence:
14 - 2 MITSUBISHI ELECTRIC
Sequential Function Chart - SFC SFC Elements
14 - 4 MITSUBISHI ELECTRIC
Sequential Function Chart - SFC SFC Actions
New Actions are created by clicking on the ACT button on the toolbar. Select the required editor,
as for POUs:
Actions can be programs within their own right. Action_1 may be a complete ladder interlocking
routine, consisting of many networks
Each Transition can be a simple device i.e. Mitsubishi address X0, or an identifier name, or more
complex, as a single network program written in either IEC, IL, LD, Structured Text or FBD:
14 - 6 MITSUBISHI ELECTRIC
Sequential Function Chart - SFC Complex Transitions
The transition could be a complex expression but it only consists of one network:
For A(ns) Series PLCs, SFCs reside in the micro computer area of the memory cassette. This
area must be allocated from PLC Parameters / Memory, as shown below:
This is not the case for Q series, as the MELSEC System Q supports SFCs in the program area.
Also for FX range, SFCs actually compile to STL code in the program area.
One popular feature of SFCs, is that in monitor mode, the current step is highlighted. This
means for fault finding purposes, engineers can see exactly how far the sequence has pro-
gressed and can investigate accordingly:
14 - 8 MITSUBISHI ELECTRIC
IEC Instruction List Example of IEC Instruction List (IL)
LD D0
ADD D1
ST D2
LD D0
ADD D1,D2,50
ST D3
LD X0
ADD_E D0,D1,D2,50,D3
This is because the ADD_E function has an Enable Output (ENO) feature.
15 - 2 MITSUBISHI ELECTRIC
IEC Structured Text Structured Text Operators
ST is a high level textual editor, which has the appearance of PASCAL but is a dedicated lan-
guage for industrial control applications.
Complex mathematical expressions can be realised using these operators, in a few lines of text.
The input and result variables will be in Floating Point (REAL) format.
NOTE For the FX range of PLCs, floating point calculation is only possible with the main units of the
FX2N, FX2NC, FX3G, FX3U, and FX3UC series.
Create a new POU named "Fahrenheit", of Class: FUN, Result Type: REAL, with a lan-
guage of ST (Structured Text):
Open the Body of the Function Fahrenheit and enter the following simple ST program:
Fahrenheit := (Centigrade*9.0/5.0+32.0);
16 - 2 MITSUBISHI ELECTRIC
IEC Structured Text Structured Text Program Example
Open the body of the program POU Temp_Conv and enter the following program
example:
Edit the LVL (Header) of the POU Temp_Conv to include 2 local variables as shown
below:
Close all open editors, compile the project using Rebuild All. Save and download to the
PLC.
Monitor the program body of Temp_Conv and observe the values on screen.
Force new values into the input variable DegC of the equation by double clicking on the
variable Tag Name.
NOTE In this example, Local Variables are used to directly enter values via the GX IEC Developer
programming / monitoring interface; normally values are entered via Global Variables.
16 - 4 MITSUBISHI ELECTRIC
PROFIBUS/DP Communication Configuring the PROFIBUS/DP Network
17 PROFIBUS/DP Communication
The open PROFIBUS/DP network enables extremely fast data exchange with a very wide vari-
ety of slave devices, including remote digital I/Os, remote analog I/Os, frequency inverters and a
range of other devices from third-party manufacturers. Of course, PROFIBUS/DP slaves from
MITSUBISHI ELECTRIC can also be connected to master devices from other manufacturers.
The installation of remote digital or analog I/Os helps to reduce costs for wiring.
Structure
The maximum coverage of a bus segment is 1200 m (at a maximum of 93.75 kbit/s). Up to 3
repeaters are allowed. Thus the maximum distance between 2 stations is calculated with
4800 m.
Cable types
To help reduce costs PROFIBUS/DP uses RS 485 technology with shielded 2-wire cabling.
In the dialog Network Setup select FX. As MELSEC Device FX3U-64DP-M is automati-
cally entered.
17 - 2 MITSUBISHI ELECTRIC
PROFIBUS/DP Communication Configuring the PROFIBUS/DP Network
Configure the slave station. In this example it is a head module of the MELSEC ST series
(ST1H-PB).
Select modules
17 - 4 MITSUBISHI ELECTRIC
PROFIBUS/DP Communication Configuring the PROFIBUS/DP Network
I/O mapping
17 - 6 MITSUBISHI ELECTRIC
PROFIBUS/DP Communication Configuring the PROFIBUS/DP Network
Rebuild the GX IEC Developer project and transfer it to the FX3U. After restarting the PLC
the PROFIBUS communication will start.
17 - 8 MITSUBISHI ELECTRIC
Ethernet Communications
18 Ethernet Communications
This section provides a step-by-step guide to setting up a Ethernet module FX3U-ENET using
FX Configurator-EN.
As an example, this section will show how to set up a module for allowing TCP/IP communica-
tions between a FX3U, a SCADA PC and a GT15 HMI*. Also shown is how the programming
software can be configured to communicate with the FX3U via Ethernet once the settings have
been made.
The diagram below shows the layout of the example Ethernet network. Proposed IP addresses
are shown next to the Ethernet nodes.
Please note that more attention is given to the set up of the PLC than the PC or HMI, as the user
may require more specific settings than this section covers.
POWER
IP address: 192.168.1.2
IP address: 192.168.1.1
IP address: 192.168.1.101
USB/RS232 ->RS422
FX3U FX3U-ENET
* For the case that a HMI of the E1000 series is used instead of a GOT, the settings in the software E-Designer are
shown in section 18.5.
Please note that after changing IP address, the PC may require a restart.
18 - 2 MITSUBISHI ELECTRIC
Ethernet Communications Configuring the FX3U-ENET by FX Configurator-EN
Now select the special function module address of the FX3U-ENET. Special function mod-
ules connected to the right side of the base unit are counted from left to right. If the
FX3U-ENET is the first special function module select Module 0.
Open the Operational Settings and take over the settings shown below in red frames. The
IP address 192.168.1.101 of the FX3U-ENET corresponds to the requirements of your net-
work if your network IP is 192.168.1.1.
Next, open the Open Settings and take over the following settings.
18 - 4 MITSUBISHI ELECTRIC
Ethernet Communications Configuring the FX3U-ENET by FX Configurator-EN
In the Ethernet Module settings, click on Transfer Setup and take over the settings
shown below in the red frame.
Click on Write in the Ethernet Module settings. As you see, the transfer speed for COM1
is set to 115.2 Kbps.
In the dialogue window Write to Ethernet Module click on Write and transfer your settings
to the PLC. Confirm displayed messages with YES resp. OK.
Now you can confirm the completion of the initial processing by issuing a PING command to the
FX3U-ENET. The ping command is provided by Microsoft Windows. Shown below is an exam-
ple for normal completion.
18 - 6 MITSUBISHI ELECTRIC
Ethernet Communications Configuring GX IEC Developer to access the PLC on Ethernet
The default connection is for the PC Side I/F to use serial connection to the PLC CPU mod-
ule. Change the PC Side I/F to Ethernet board by clicking on it as shown above, and say-
ing Yes to the question about present setting will be lost (i.e. the setting of serial to CPU).
Next, double click on Ethernet module under PLC side I/F as shown above. This will open
up the dialogue to allow the settings for the Ethernet interface module used.
NOTE There is no need to specify a port number, as the programming software will use a
MELSOFT Protocol dedicated port by default.
18 - 8 MITSUBISHI ELECTRIC
Ethernet Communications Configuring GX IEC Developer to access the PLC on Ethernet
This will complete the setting, making the dialogue look as shown below.
Click Connection test to confirm the settings are correct. Then click OK when finished.
NOTE The IP address can be entered also in hexadecimal format. This option is shown in the fol-
lowing two figures.
18 - 10 MITSUBISHI ELECTRIC
Ethernet Communications Setting up a HMI of the GOT1000 Series (GT12, GT15 or GT16)
In the System Enviroment, double click on Communication Settings and make the set-
tings shown below.
18 - 12 MITSUBISHI ELECTRIC
Ethernet Communications Setting up a HMI of the GOT1000 Series (GT12, GT15 or GT16)
When selecting the PLC, certain settings (e.g. the Port No.) are taken over as defaults.
Please make the remaining settings.
Next, a dialogue window allowing the settings for the HMI used and the connected PLC is
opened.
18 - 14 MITSUBISHI ELECTRIC
Ethernet Communications Setting up a HMI of the E1000 series
Open the properties of the peripherals. (Right click on peripherals, than click on
properties.)
18 - 16 MITSUBISHI ELECTRIC
Ethernet Communications Setting up a HMI of the E1000 series
When a HMI of the E1000 series is connected to the network, the following setting is required for
the FX3U-ENET (refer to section 18.2, step ):
MX Component supports serial CPU port connection, serial computer links (RS232C, RS422)
and networks (Ethernet, CC-Link, MELSEC).
The following figures show the easy way for creating of communication between a PC and a PLC
via MX Component.
Start the Communication Setting Utility and select the Wizard.
18 - 18 MITSUBISHI ELECTRIC
Ethernet Communications Communication via MX Component
Next, configure the Communication Settings on the PC side. (Select the Ethernet
board.)
18 - 20 MITSUBISHI ELECTRIC
Ethernet Communications Communication via MX Component
For the conclusion of the configuration define a name and press the Finish button.
Now the definition of communication is finished. Under the folder Connection test the connec-
tion can be examined.
The message Communication test is successful indicates that your configuration is correct.
After configuring the communication paths you can access all controller devices (read/write)
with Microsoft programming languages like MS Visual Basic, MS C++ etc.
18 - 22 MITSUBISHI ELECTRIC
Appendix Special Relays
A Appendix
Special relays whose signal state can only be read by the program (for instance using a LD
or LDI instruction).
Special relays whose signal state can be read and written (set or reset) by the program.
The following tables feature a "Read" and a "Write" column. If the symbol "" is shown in one of
these columns, the corresponding action is possible. The symbol "" means that the corre-
sponding action is not allowed.
There are also special registers for word information in a FX CPU. They are descriped in the next
section.
RUN state
RUN monitor
M8000
(NO contact)
M8004
Initial pulse
M8003
(NC contact) 1 scan time
The operation varies according to a PLC: Cleared in an FX1S, FX1N, FX2N, FX1NC, or FX2NC when PLC switches
from STOP to RUN. Cleared in an FX3G, FX3U, and FX3UC PLC when the power supply is switched on
Serial communication error 2 [ch2] in FX3G, FX3U, and FX3UC PLCs is detected by M8438.
Cleared when PLC switches from STOP to RUN.
When M8069 is ON, I/O bus check is executed.If an error is detected, the error code 6130 is written to special reg-
ister D8069 and the special relay M8061 is set.
The unit number of the analog special adapter is counted from the base units side.
Mounted to the expansion board connector of the base units FX3G-14M/ or FX3G-24M/ or to the left expan-
sion board connector (BD1) of the base units FX3G-40/ or FX3G-60M/.
Mounted to the right expansion board connector (BD2) of the base units FX3G-40/ or FX3G-60M/.
Available in Version 2.00 or later
Available in Version 1.10 or later
The unit number of the analog special adapter is counted from the base units side.
Mounted to the expansion board connector of the base units FX3G-14M/ or FX3G-24M/ or to the left expan-
sion board connector (BD1) of the base units FX3G-40/ or FX3G-60M/.
Mounted to the right expansion board connector (BD2) of the base units FX3G-40/ or FX3G-60M/.
Available in Version 2.00 or later
Available in Version 1.10 or later
Special Error
Error Description Corrective Action
Register Code
0000 No error
6101 RAM error
6102 Operation circuit error
6103 I/O bus error (M8069 = ON)
Check for the correct con-
Powered extension unit 24 V failure nection of extension cables.
6104
(M8069 = ON)
Check user program. The
6105 Watchdog timer error scan time exceeds the value
stored in D8000.
PLC
D8061 I/O table creation error (CPU error)
hardware error
When turning the power ON to the
baseunit, a 24V power failure occurs in Check the power supply for
6106 a powered extension unit. (The error the powered extension
occurs if the 24V power is not supplied units.
for 10 seconds or more after main
power turn ON.)
Check the number of the
connected special function
6107 System configuration error units/blocks. A few special
function units/blocks are lim-
ited the number to connect.
0000 No error
Communication 6201 Parity, overrun or framing error Check the cable connection
error between between the programming
PLC and program- 6202 Communication character error
D8062 device and the PLC. This
ming device 6203 Communication data sum check error error may occur when a
(FX2N and FX2NC cable is disconnected and
6204 Data format error
only) reconnected during PLC
6205 Command error monitoring.
0000 No error
6301 Parity, overrun or framing error Inverter communication,
computer link and pro-
6302 Communication character error
gramming: Ensure the
6303 Communication data sum check error communication parame-
6304 Communication data format error ters are correctly set ac-
cording to their applica-
6305 Command error tions.
6306 Communication time-out detected N:N network, parallel
Serial
communication D8063 6307 Modem initialization error link, etc.: Check pro-
error grams according to
6308 N:N network parameter error applications.
6312 Parallel link character error Remote maintenance:
6313 Parallel link sum error Ensure modem power is
ON and check the set-
6314 Parallel link format error tings of the AT
commands.
Wiring: Check the com-
6320 Inverter communication error
munication cables for
correct wiring.
A - 10 MITSUBISHI ELECTRIC
Appendix Error Code List
Special Error
Error Description Corrective Action
Register Code
0000 No error
6401 Program sum check error
6402 Memory capacity setting error
6403 Latched device area setting error
6404 Comment area setting error
Parameter error D8064 6405 File register area setting error STOP the PLC, and cor-
Special unit (BFM) initial value setting, rectly set the parameters.
6406 positioning instruction setting sum
check error
Special unit (BFM) initial value setting,
6407
positioning instruction setting error
6409 Other setting error
Special Error
Error Description Corrective Action
Register Code
0000 Kein Fehler
Incorrect combination of instruction,
6501
device symbol and device number
No OUT T or OUT C before setting
6502
value
No OUT T or OUT C before setting
value
6503
Insufficient number of operands for
an applied instruction
During programming, each
Same label number is used more
instruction is checked. If a
than once.
Syntax error D8065 syntax error is detected,
6504 Same interrupt input or high speed modify the instruction
counter input is used more than correctly.
once.
Device number is out of allowable
6505
range.
6506 Invalid instruction
6507 Invalid label number [P]
6508 Invalid interrupt input [I]
6509 Other error
6510 MC nesting number error
Special Error
Error Description Corrective Action
Register Code
0000 No error
LD, LDI is continuously used 9 times or
6610
more.
More ANB/ORB instructions than
6611
LD/LDI instructions
Less ANB/ORB instructions than
6612
LD/LDI instructions
MPS is continuously used 12 times or
6613
more.
6614 No MPS instruction
6615 No MPP instruction
No coil between MPS, MRD and MPP,
6616
or incorrect combination
Instruction below is not connected to
bus line: STL, RET, MCR, P, I, DI, EI,
6617
FOR, NEXT, SRET, IRET, FEND or
END
STL, MC or MCR can be used only in
6618 main program, but it is used elsewhere
This error occurs when a
(e.g. in interrupt routine or subroutine).
combination of instructions
Invalid instruction is used in is incorrect in the entire cir-
6619 FOR-NEXT loop: STL, RET, MC, MCR, cuit block or when the rela-
Circuit error D8066 tionship between a pair of
I (interrupt pointer) or IRET.
instructions is incorrect.
FOR-NEXT instruction nesting level
6620 Modify the instructions in
exceeded
the program mode so that
Numbers of FOR and NEXT instruc- their mutual relationship
6621
tions do not match. becomes correct.
6622 No NEXT instruction
6623 No MC instruction
6624 No MCR instruction
STL instruction is continuously used 9
6625
times or more.
Invalid instruction is programmed
6626 within STL-RET loop: MC, MCR, I
(interrupt pointer), SRET or IRET.
6627 No RET instruction
Invalid instruction is used in main pro-
6628 gram: I (interrupt pointer), SRET or
IRET
6629 No P or I (interrupt pointer)
6630 No SRET or IRET instruction
6631 SRET programmed in invalid location
6632 FEND programmed in invalid location
A - 12 MITSUBISHI ELECTRIC
Appendix Error Code List
Special Error
Error Description Corrective Action
Register Code
0000 No error
No jump destination (pointer) for CJ
or CALL instruction
Label is undefined or out of P0 to
P4095 due to indexing
6701
Label P63 is executed in CALL
instruction; cannot be used in CALL
instruction as P63 is for jumping to
END instruction.
CALL instruction nesting level is 6 or This error occurs in the exe-
6702
more cution of operation. Review
the program, or check the
6703 Interrupt nesting level is 3 or more
contents of the operands
FOR-NEXT instruction nesting level is 6 used in the applied
6704 instructions.*
or more.
Operand of applied instruction is inap-
6705
plicable device.
Device number range or data value for
6706 operand of applied instruction exceeds
limit.
Operation error D8067 File register is accessed without para-
6707
meter setting of file register.
This error occurs in the exe-
cution of operation. Review
the program, or check the
contents of the operands
used in the applied instruc-
6708 FROM/TO instruction error tions. Check whether the
specified buffer memories
exist in the equipment.
Check whether the extension
cables are correctly
connected.
This error occurs in the exe-
cution of operation. Review
the program, or check the
6709 Other (e.g. improper branching) contents of the operands
used in the applied
instructions.*
This error occurs when the
same device is used within
6710 Mismatch among parameters
the source and destination in
a shift instruction, etc.
* Even if the syntax or circuit design is correct, an operation error may still occur. For example: "T200Z" itself is not an
error. But if Z had a value of 400, the timer T600 would be attempted to be accessed. This would cause an operation
error since there is no T600 device available.
5V DC and internal 24V DC are supplied to the products through an extension cable, and the
current consumption must be calculated
For the AC power type base unit, subtract the current consumption at the internal 24V DC
from the 24V DC service power supply.
For the DC power type base unit, subtract the current consumption at the internal 24V DC
from the power supply for the internal 24V DC.
Some special function modules need "external 24 V DC". Include this current in the calcu-
lation of current consumption when the current is supplied by the 24V DC service power
supply. When the current is supplied by an external power supply, the current is not in-
cluded in the calculation of current consumption.
* When a programming tool or GOT is connected, add the current consumed by this unit (see next page)
A - 14 MITSUBISHI ELECTRIC
Appendix Number of Occupied Input/Output Points and Current Consumption
FX3U-4HSX-ADP 30 30 0 30*
FX3U-2HSY-ADP 30 60 0 120*
FX3U-4AD-ADP 15 0 40
FX3U-4DA-ADP 15 0 150
FX3U-4AD-PNK-ADP 15 0 50
FX3U-4AD-PT-ADP 15 0 50
FX3U-4AD-PTW-ADP 15 0 50
FX3U-4AD-TC-ADP 15 0 45
FX3U-3A-ADP 20 0 90
FX2NC-232ADP 100 0 0
FX3U-232ADP 30 0 0
FX3U-485ADP 20 0 0
* The current consumption at start up must be considered when connected to a DC powered base unit.
FX3U-2HC 8 245 0 0
FX3U-4AD 8 110 0 90
FX3U-4DA 8 120 0 160
FX3U-4LC 8 160 0 50
FX3U-20SSC-H 8 100 0 220
FX2N-2AD 8 20 50 0 170
FX2N-2DA 8 30 85 0 190
FX2N-4AD 8 30 0 55
FX2N-4DA 8 30 0 200
FX2N-4AD-TC 8 30 0 50
FX2N-4AD-PT 8 30 0 50
FX2N-8AD 8 50 0 80
FX2N-5A 8 70 0 90
FX2N-2LC 8 70 0 55
FX2N-1HC 8 90 0 0
FX2N-1PG-E 8 55 0 40
FX2N-10PG 8 120 0 70
FX2N-232IF 8 40 0 80
FX2N-16CCL-M 8 0 0 150
FX2N-32CCL-M 8 130 0 50
FX2N-32ASI-M 8 150 0 70
FX0N-3A 8 30 90 0 165
FX2N-10GM 8 5
FX2N-20GM 8 10
When analog special function blocks (FX0N-3A, FX2N-2AD and FX2N-2DA) are connected to an input/ output po-
wered extension unit (FX2N-32E or FX2N-48E ), the following limitation must be taken into consideration.
(When the blocks are connected to the base unit, this limitation is not applied.)
The total current consumption of the analog special function blocks (FX0N-3A, FX2N-2AD and FX2N-2DA) should
be less than the following current values.
- When connected to FX2N-32E: 190 mA or less
- When connected to FX2N-48E: 300 mA or less.
When the voltage of the external DC power supply is 5 V DC, the current is 100 mA.
A FX2N-16CCL-M cannot be used together with a FX2N-32ASI-M. The following number of points is added accord-
ing to the products connected to the network: (Number of remote I/O stations) x 32 points.
A FX2N-32ASI-M cannot be used together with a FX2N-16CCL-M. Only one unit can be added to the whole sys-
tem. The following number of points is added according to the products connected to the network:
(Number of active slaves) x 8 points.
NOTE When applying a DC power type base unit, calculate the current consumption at startup.
A - 16 MITSUBISHI ELECTRIC
Appendix PLC Components Glossary
Component Description
Optional expansion adapter boards can be connected to this interface. A variety of differ-
Connection for
ent adapters are available for all FX lines (except the FX2NC). These adapters extend the
expansion
capabilities of the controllers with additional functions or communications interfaces. The
adapter boards
adapter boards are plugged directly into the slot.
Connection for pro- This connection can be used for connecting the FX-20P-E hand-held programming unit or
gramming units an external PC or notebook with a programming software package (e.g. GX Developer).
Read/write memory in which the PLC program can be stored and read with the program-
EEPROM ming software. This solid-state memory retains its contents without power, even in the
event of a power failure, and does not need a battery.
Slot for optional memory cassettes. Inserting a memory cassette disables the controllers
Memory cassette slot
internal memory the controller will then only execute the program stored in the cassette.
Both additional I/O expansion modules and special function modules that add additional
Extension bus capabilities to the PLC system can be connected here. See Chapter 6 for an overview of
the available modules.
Analog The analog potentiometers are used for setting analog setpoint values. The setting can be
potentiometers polled by the PLC program and used for timers, pulse outputs and other functions.
The service power supply (not for FX2NC ans FX3UC) provides a regulated 24V DC power
supply source for the input signals and the sensors. The capacity of this power supply
Service power supply
depends on the controller model (e.g. FX1S, FX1N and FX3G: 400mA; FX2N-16M-
through FX2N-32M-: 250 mA, FX2N-48M- through FX2N-64M-: 460 mA)
The digital inputs are used for inputting control signals from the connected switches, but-
Digital inputs tons or sensors. These inputs can read the values ON (power signal on) and OFF (no
power signal).
You can connect a variety of different actuators and other devices to these outputs,
Digital outputs
depending on the nature of your application and the output type.
These LEDs show which inputs are currently connected to a power signal, i.e. a defined
LEDs for indicating
voltage. When a signal is applied to an input the corresponding LED lights up, indicating
the input status
that the state of the input is ON.
These LEDs show the current ON/OFF states of the digital outputs. These outputs can
LEDs for indicating
switch a variety of different voltages and currents depending on the model and output
the output status
type.
The LEDs RUN, POWER and ERROR show the current status of the controller. POWER
LEDs for indicating
shows that the power is switched on, RUN lights up when the PLC program is being exe-
the operating status
cuted and ERROR lights up when an error or malfunction is registered.
The battery protects the contents of the MELSEC PLCs volatile RAM memory in the
event of a power failure (FX2N, FX2NC and FX3U only). It protects the latched ranges for
Memory battery
timers, counters and relays. In addition to this it also provides power for the integrated
real-time clock when the PLCs power supply is switched off.
MELSEC PLCs have two operating modes, RUN and STOP.
RUN/STOP switch The RUN/STOP switch allows you to switch between these two modes manually. In RUN
mode the PLC executes the program stored in its memory. In STOP mode program execu-
tion is stopped and it is possible to program the controller.
A - 18 MITSUBISHI ELECTRIC
Index
Index
A Data types 3 - 15
AS interface 2 - 30 Debug Menu
Adapter boards 2 - 19 Device Edit 8 - 1
Analog modules 2 - 20 Device Edit (function in Debug menu) 8 - 1
Arrays DeviceNet
Overview 3 - 15 Network modules 2 - 29
programming 11 - 1 Display Mode 8 - 3
Auto connect 4 - 20 Documentation
Network Comments 4 - 33
B Network Header 4 - 33
Base unit Print options 4 - 51
FX1N 2 - 10 Download of programs 4 - 41
FX1S 2 - 9
FX2N 2 - 10 E
FX2NC 2 - 11 E-Designer 18 - 14
FX3G 2 - 11 EEPROM A - 17
FX3U 2 - 12 EN-Input 6 - 22
FX3UC 2 - 12 ENO-Output 6 - 22
Overview 2 - 6 ETHERNET
Power supply 2 - 13 Configuration 18 - 1
S/S terminal 2 - 14 FX Configurator-EN 18 - 3
Network modules 2 - 25
C Entry Data Monitor
CANopen customising 7 - 2
Network module 2 - 29 selection 7 - 1
CC-Link Error codes A - 10
Network modules 2 - 28 Extension
Comment blocks 2 - 18
copying 4 - 34 boards 2 - 17
deleting 4 - 34 units 2 - 17
for program networks 4 - 33
Communication adapters 2 - 32 F
Connection Setup 4 - 37 FX Configurator-EN 18 - 3
Connection Test 4 - 39 FX family
Counter Current consumption A - 14
Device addresses 3 - 20 Overview 2 - 6
programming 4 - 25 Power supply 2 - 13
Counter modules 2 - 23 occupied I/O points A - 14
Cross Reference 4 - 47 FX0N-32NT-DP 2 - 26
FX1N-8AV-BD 2 - 33
D FX1N-CNV-BD 2 - 32
DUT 3 - 17 FX2N-10PG 2 - 24
Data Unit Types FX2N-16CCL-M 2 - 28
Description 3 - 17 FX2N-1HC 2 - 23
Example 10 - 1 FX2N-1PG-E 2 - 24
FX2N-232IF 2 - 31 G
FX2N-32ASI-M 2 - 30
GT-Designer2 18 - 11
FX2N-32CAN 2 - 29
GVL
FX2N-32CCL 2 - 28
see Global Variable List
FX2N-32DP-IF 2 - 27
GX Configurator DP 17 - 1
FX2N-64DNET 2 - 29
Global Variables
FX2N-8AV-BD 2 - 33
Definition 3 - 6
FX2N-CNV-BD 2 - 32
List 3 - 6
FX2N-CNV-IF 2 - 32
assigning 4 - 9
FX2NC-1HC 2 - 23
Global Variables List
FX2NC-CNV-IF 2 - 32
adding entries 4 - 26
FX2NC-ENET-ADP 2 - 25
assigning of variables 4 - 9
FX3G-8AV-BD 2 - 33
checking 4 - 12
FX3G-CNV-ADP 2 - 32
Glossary A - 17
FX3U-20SSC-H 2 - 24
Grounding 2 - 13
FX3U-2HC 2 - 23
Guided Ladder Entry Mode 4 - 36
FX3U-2HSY-ADP 2 - 23
FX3U-32DP 2 - 26 H
FX3U-4HSX-ADP 2 - 23 HMI
FX3U-64CCL 2 - 28 Ethernet communication 18 - 1
FX3U-64DP-M 2 - 27 Overview 2 - 2
FX3U-CNV-BD 2 - 32
FX3U-ENET 2 - 25 I
Configuration 18 - 3 IEC61131-3 3 - 1
Floating point values Inputs
see REAL Numbers Assignment 2 - 41
Function wiring 2 - 14
Result type 6 - 11 Instance (for function blocks) 6 - 16
comparison with Function Blocks 6 - 1 Instruction List 3 - 11
creation 6 - 2 Interconnect Mode 4 - 20
duplicating 6 - 10 Interface
Function Block adapters 2 - 31
Instances 4 - 25 modules 2 - 31
assigning instance names 6 - 16
assigning of DUT variables 10 - 8
L
assigning variables 6 - 18 LVL
comparison with Funktion 6 - 1 see Local Variable List
creation 6 - 14 Labels 3 - 10
entering into Ladder program 4 - 18 Ladder Diagram
execution options 6 - 21 Guided Ladder Entry Mode 4 - 36
monitoring instances 7 - 11 Overview 3 - 12
Function Block Diagram 3 - 13 Precautions 4 - 21
entering a Function Block 4 - 18
programming 4 - 14
Local Variables
Definition 3 - 6
List 3 - 6
define new 4 - 19
II MITSUBISHI ELECTRIC
Index
M Positioning modules 2 - 24
Process image processing 2 - 4
MELSEC 2 - 6
Program
Macrocode execution 6 - 21
check 4 - 23
Memory battery A - 17
cross reference 4 - 47
Monitor headers (function in Monitor Mode) 7 - 6
download to PLC 4 - 37
N monitoring 4 - 44
Network Comments 4 - 33 Programmable Logic Controller
Network Header 4 - 33 see PLC
Network modules Project
AS interface 2 - 30 I/O Assignment 2 - 41
CANopen 2 - 29 Project Menu
CC-Link 2 - 28 Change Passwords 13 - 1
DeviceNet 2 - 29 Change Security Level 13 - 2
ETHERNET 2 - 25 Online Programm Change 9 - 3
PROFIBUS 2 - 26 Properties (of a Task) 4 - 31
O R
Online Menu RUN/STOP switch A - 17
Entry Data Monitor 7 - 1 Real variables
Monitor Header 7 - 6 modifying in monitor mode 7 - 10
Start Monitoring 7 - 7 Relay
Online Program Change (function in Project Menu) 9 - comparison with PLC systems 2 - 1
3 Result type
Online menu for function 6 - 11
Transfer Setup 4 - 37
Optical couplers 2 - 9 S
Outputs SCADA 2 - 2
Assignment 2 - 41 SFC
wiring 2 - 15 Initial step 14 - 2
Overview 3 - 14
P Termination step 14 - 2
PLC Transitions 14 - 2
Diagnostics 4 - 50 Sequential Function Chart
History 2 - 1 Overview 3 - 14
comparison with relay systems 2 - 1 Service power supply A - 17
PLCopen 3 - 1 Sink
POU inputs 2 - 14
Definition 3 - 2 outputs 2 - 16
Header 4 - 13 Source
assigning to Task 4 - 30 inputs 2 - 14
creation of new 4 - 8 outputs 2 - 16
programming 4 - 14 Special Register
POU Pool Diagnostic information A - 7
Definition 3 - 4 Error codes A - 8
PROFIBUS/DP PLC operation mode A - 7
Network module 2 - 26 Real time clock A - 7
configuration 17 - 1 descriped A - 6
Special Relays V
Diagnostic information A - 2
Variables
Error detection A - 4
Global (Definition) 3-6
PLC operation mode A - 3
see also Global Variables
Real time clock A - 2
Local (Definition) 3-6
descriped A - 1
see also Local Variables
Special adapter
assigning to a instruction 4 - 19
connection 2 - 36
selection from POU Header 4 - 16
descriped 2 - 19
Special function modules
address 2 - 42
descriped 2 - 19
Start Monitoring (function in Online menu) 7 - 7
Structured Text 3 - 12
System Image 4 - 40
T
Task
Attributes 4 - 31
Definition 3 - 3
Pool 3 - 7
Properties 4 - 31
assigning a POU 4 - 30
create new 4 - 29
Task Pool
Definition 3 - 7
Temperature
acquisition modules 2 - 21
control modules 2 - 22
Timer
Device addresses 3 - 20
programming 4 - 27
Trouble shooting
Error codes A - 10
Special registers A - 8
Special relays A - 4
IV MITSUBISHI ELECTRIC
MITSUBISHI ELECTRIC
MITSUBISHI
ELECTRIC Mitsubishi Electric Europe B.V. /// FA - European Business Group /// Gothaer Strae 8 /// D-40880 Ratingen /// Germany
FACTORY AUTOMATION Tel.: +49(0)2102-4860 /// Fax: +49(0)2102-4861120 /// info@mitsubishi-automation.com /// www.mitsubishi-automation.com