Mitsubishi Electric MELSEC Q Series Programming Manual page 59

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

Advertisement

4 ST PROGRAM EXPRESSIONS
4 - 19
(c) When function is used in Boolean expression
REPEAT
D1 : = D1 + 1;
UNTIL BOOL_TO_DINT(M0) < 100 (* becomes less
END_REPEAT;
Precaution 1 for use of repeat statements
When using a repeat statement, be careful not to result in endless loop
processing.
Precaution 2 for use of repeat statements
If many repeat statements are used, it should be noted that the PLC scan time
will increase remarkably.
(* Until BOOL_TO_DINT(M0)*)
(* than 100
(* D1 is incremented by 1
4 - 19
*)
*)
*)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents