Mitsubishi MELSEC-q Programming Manual page 56

Melsec q series; melsec l series
Hide thumbs Also See for MELSEC-q:
Table of Contents

Advertisement

4 ST PROGRAM EXPRESSIONS
4 - 16
Repeat variable
initialization
FALSE
Repeat variable
last value?
Statement
Repeat variable +
incremental value
[Description example]
(a) When actual device is used in repeat variable
FOR W1 : = 0
TO 100
BY 1 D0
W3 : = W3 + 1; (* During repeat processing, W3 is incremented by 1. *)
END_FOR;
TRUE
(* W1 is initialized with 0.
(* Processing is repeated until W1 reaches 100.
(* W1 is incremented by 1.
*)
*)
*)
4 - 16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l

Table of Contents