Mitsubishi Electronics SW1DNC-GXW2-E Uživatelský manuál Strana 80

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 110
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 79
4 - 4
4.2.6 Creating a program
4 CREATING PROGRAM IN ST LANGUAGE
GX Works2
4.2.6 Creating a program
Create the ST program shown in Section 4.1.2.
1. Double-click "POU" "Program" "POU_01"
"Program" on the Project view to display the
POU_01 [PRG] Program [ST] screen.
2. Input "Y10:=(LDP(TRUE
*1
, X0) OR Y10) AND
NOT (TS0
*2
);" directly, and click the key.
You can use the Function Block Selection window
for the input.
Settings
•Y10:= (LDP(TRUE
*1
, X0) OR Y10) AND NOT
(TS0
*2
);
*1: "TRUE" indicates the ON status.
*2: "TS0" indicates the contact of timer T0.
Basic description and display colors
Programming in the ST language consists of syntaxes, operators, function, function block, devices, labels, etc.
Refer to the following manual for syntaxes, operators and programming:
MELSEC-Q/L/F Structured Programming Manual (Fundamentals)
Make sure to write ";" at the end of a statement.
Comment
You can describe comments in a program.
Double-click it.
(To the next page)
Make sure to enter a ";" at
the end of each statement.
You can describe
comments
within program.
Zobrazit stránku 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 109 110

Komentáře k této Příručce

Žádné komentáře