Mitsubishi Electronics FX3G User Manual

Page of 964
23
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series 
Programming Manual - Basic & Applied Instruction Edition
1 Introduction
1.1 Programming Language in PLCs
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
1. Introduction
This chapter explains basic items related to programming in FX
3S
, FX
3G
, FX
3GC
, FX
3U
 and FX
3UC
 programmable
controllers (PLCs).
1.1
Programming Language in PLCs
This section explains the features of programming in FX
3S
, FX
3G
, FX
3GC
, FX
3U
 and FX
3UC
 PLCs.
1.1.1
Types of programming languages
FX
3S
, FX
3G
, FX
3GC
, FX
3U
 and FX
3UC
 PLCs support the following six types of programming languages:
1. List programming
1) Features
In this method, sequence instructions are input in the form of instruction words such as "LD", "AND" and "OUT".
This input method is the basis of sequence programs.
2) Example of list display
2. Circuit programming
1) Features
In a circuit program, a sequence circuit is drawn on the graphic screen by sequence formats and device numbers.
Because a sequence circuit is expressed with contact symbols and coil symbols, the contents of a program can
be understood easily.
In the circuit display status, the PLC operations can be monitored.
2) Example of circuit display
3. SFC (STL <step ladder>) programming
1) Features
In an SFC (sequential function chart) program, sequences can be designed in accordance with the flow of
machine operations.
2) Compatibility between SFC programs and other programs
SFC programs can be converted into another program format.  And when list programs and circuit programs are
created according to certain rules, they can be converted inversely into SFC programs.
Step
Instruction
Device number
0000
LD
X000
0001
OR
Y005
0002
ANI
X002
0003
OUT
Y005
X000
Y005
X002
Y005
The above list program is expressed in
the circuit diagram.