St Program Creating Procedure - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

1 OVERVIEW

1.3 ST Program Creating Procedure

Creation of new project
FB variable definition
FB definition
Program label definition
ST programming
Convert (compile)
Write to PLC
Online debugging
1 - 4
The following flowchart indicates the general procedure of ST programming.
In the following example, parts were created with the function block function and a
main program was then created in ST language.
End
For details, refer to the GX Developer Operating Manual
(Structured Text).
Define the variables used in an FB program.
For details, refer to the GX Developer Operating Manual
(Function Block).
Create an FB program.
For details, refer to the GX Developer Operating Manual
(Function Block).
Define the global variables and local labels in a program.
For details, refer to the GX Developer Operating Manual.
Call FB and create an ST program.
Described in this manual.
Convert (compile) the ST program into a program that can be
executed by the PLC CPU.
For details, refer to the GX Developer Operating Manual
(Structured Text).
Perform write to the PLC CPU.
For details, refer to the GX Developer Operating Manual
(Structured Text).
Confirm the program behavior by conducting a device test.
For details, refer to the GX Developer Operating Manual
(Structured Text).
1 - 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents