Mitsubishi MELSEC Q Series Programming Manual page 209

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The value of the specified device is
(For the Basic model QCPU, High Performance model QCPU, Process CPU, Redundant
CPU)
*1: There are CPU modules that will not result in an operation error if
Section 3.2.4.
• The value of the specified device is outside the following range. (For the Universal model
QCPU, LCPU)
-126
0, 2
• The value of the specified device is
(For the Universal model QCPU, LCPU)
Program Example
(1) The following program compares 32-bit floating decimal point real number data at D0 and
D1 to 32-bit floating decimal point real number data at D3 and D4.
[Ladder Mode]
(2) The following program compares the floating decimal point real number 1.23 to the 32-bit
floating decimal point real number data at D3 and D4.
[Ladder Mode]
(3) The following program compares 32-bit floating decimal point real number data at D0 and
D1 to 32-bit floating decimal point real number data at D3 and D4.
[Ladder Mode]
(4) The following program compares the 32-bit floating decimal point data at D0 and D1 to the
floating decimal point real number 1.23.
[Ladder Mode]
| value of specified device | < 2
E=,E<>,E>,E<=,E<,E>=
*1
0.
0 is specified. For details, refer to
128
0, unnormalized number, nonnumeric, and ±
[List Mode]
Instruction
Step
[List Mode]
Step
Instruction
[List Mode]
Instruction
Step
[List Mode]
Step
Instruction
(Error code: 4100)
(Error code: 4140)
.
(Error code: 4140)
Device
Device
Device
Device
6-7
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents