EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 288

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
286
6 BASIC INSTRUCTIONS
6.3 Data Conversion Instructions
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program example
The following program converts the Gray code data at D100 when X10 is ON to BIN data, and stores the result at D200.
The following program converts the Gray code data at D10 and D11 to BIN data when X1C is ON, and stores the result at
D0 and D1.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The data of (S) is other than 0 to 32767 when the GBIN instruction is
executed.

The data of (S) is other than 0 to 2147483647 when the DGBIN instruction is
executed.

[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
Step
Instruction
Device
Step
Instruction
Device

Table of Contents

Related product manuals