Mitsubishi Electronics Mitsubishi Digital Electronics Water System SW1DNC-GXW2-E 사용자 설명서

다운로드
페이지 110
4.2.6 Creating a program
4 - 5
4.2 Creating a Project
1
OV
E
R
VI
EW
2
CRE
A
T
E
D
 PROGRAM 
AN
D SYS
TEM 
CONF
IGURA
TION
3
CR
EA
TI
NG PR
O
G
R
A
M
 IN
 
S
TRUC
TUR
E
D
 L
A
DDE
R/
FB
D
 LA
NG
UA
G
E
4
CREA
T
ING 
PROG
RAM IN ST 
LANGUAGE
5
CRE
A
TI
NG T
W
O OR 
MORE PROGRAM 
BLO
C
K
S
● Display colors
GX Works2 displays syntax, operators, comments, constants, string constants, devices and labels using the 
following colors (in the initial setting).
• Syntax: (
)
• Operator: (
)
• Comment: (
)
• Constant: (
)
• String constant: (
)
• Device: (
)
• Global label: (
)
• Local label: (
)
Input using the FB Selection window
You can easily input the function name of a Function or Function block by dragging it to the cursor position from 
the Function Block Selection window.
In the example below, drag the function "LDP" from the Function Block Selection window, and drop it on the 
POU_01 [PRG] Program [ST] screen to input it there.  After that, input the parameters of the function.
Refer to the following manual for the details:
GX Works2 Version 1 Operating Manual (Structured Project)
3.
Input "OUT_T(Y10,TC0
*1
,10);" directly, and 
click the 
 key.  
You can select "Function"   "OUT_T" on the 
Function Block Selection window.  
Settings
• OUT_T(Y10,TC0
*1
,10);
*1: "TC0" indicates the coil of timer T0.
4.
Input "MOVP(X1,10,VAR1
*2
);" directly, and click 
the 
 key.  
You can select "Function"   "MOVP" on the 
Function Block Selection window.  
Settings
• MOVP(X1,10,VAR1
*2
);
*2: The label VAR1 is set in Section 4.2.5.
blue
black
dark green
black
black
black
magenta
magenta
2) Drop it.
1) Drag it.
(To the next page)