Programming Languages; Plc Series And Programming Software Version - Mitsubishi Electric MELSEC FX Series Structured Programming Manual

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
1.1.2

Programming languages

The following programming languages can be used in each program block.
Graphic languages
1. Structured ladder language
This graphic language is created based on the relay circuit design technology.
Any circuit always starts from the bus line located on the leftmost.
The structured ladder language consists of contacts, coils, functions and function blocks. These components
are connected with vertical lines and horizontal lines.
1
X000
Y000
2
X001
Text language
1. ST (Structured text) language
The ST language can describe control achieved by syntax using selective branches with conditional
statements and repetition by repetitive statements in the same way as high-level languages such as C
language.
By using the ST language, you can create simple programs easy to understand.
Y000:=(X000 OR Y000) AND NOT X001;
IF X001 THEN
D2:=D0; (When X001 is ON, the contents of D0 are transferred to D2.)
END_IF;
IF X002 THEN
D4:=D4+1; (When X002 is ON, the contents of D4 are added by "1".)
ELSE
D6:=D6+1; (When X002 is OFF, the contents of D6 are added by "1".)
END_IF;
1.2

PLC Series and Programming Software Version

PLC Series
FX
•FX
3U
3UC
FX
3G
FX
•FX
2N
2NC
FX
•FX
1N
1NC
FX
1S
FX
U
/FX
2C
FX
0N
FX
•FX
0
0S
X001
Y000
Output Y000
MOV
EN
ENO
D0
s
d
D2
When X001 is ON, the contents
of D0 are transferred to D2.
Software package name
(model name)
GX Works2
(SW1DNC-GXW2-E)
1.2 PLC Series and Programming Software Version
GX Works2 version
Ver. 1.08J or later
1 Outline
1
2
3
4
5
6
A
15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents