Precautions On Creating Programs With Structured Ladder/Fbd - Mitsubishi Electric MELSEC Q Series Programming Manual

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

Advertisement

Multiple contacts are used up to the branch
The temporary variable is appended to the branch in the compilation result.
< Example >
Output value of function or function block is branched
The temporary variable is appended to the branch in the compilation result.
< Example >
Connect the instructions in series to avoid using temporary variables in the compilation result.
Page 91 Precautions
For details on temporary variables, refer to the following manual.
 GX Works2 Version 1 Operating Manual (Structured Project)

Precautions on creating programs with structured ladder/FBD

The following explains the Precautions on creating a program with structured ladder/FBD.
When Q00UCPU, Q00UJCPU, Q01UCPU is used, and the string type is applied to enter the standard comparison functions,
a compilation error may occur.
Ex.
Program example which causes compilation error
To avoid a compilation error, use LD$=, LD$<>, LD$<=, LD$<, LD$>=, or LD$> instructions.
Ex.
Program example which avoids compilation error
5 WRITING PROGRAMS
92
5.2 Structured Ladder/FBD
< Compilation result >
< Compilation result >
The operation result up to
the branch is output to the
temporary variable.
Temporary variable is
appended.
The operation result up to
the branch is output to the
temporary variable.
Temporary variable is
appended.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec f seriesMelsec l series

Table of Contents