EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 272

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...
270
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 outputs the present value of C4 from Y20 to Y2F to the BCD display device.
The following program outputs 32-bit data from D0 to D1 to Y40 to Y67.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The data of (S) is other than 0 to 9999 when the BCD instruction is executed. 
The data of (S) or (S)+1 is other than 0 to 99999999 when the DBCD
instruction is executed.

[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
Programmable Controller Output Module
010
1 01100111 1000
Output
power supply
7-segment display unit
8000
4000
2000
1000
800
400
200
100
80
40
20
10
8
4
2
1
Y27
Y26
Y25
Y24
Y23
Y22
Y21
Y20
Y2B
Y2A
Y29
Y28
Y2F
Y2E
Y2D
Y2C
COM
Step
Instruction
Device
Programmable Controller Output Module
Output
power supply
7-segment display unit
Y67 to Y64Y63 to Y60 Y5F to Y5C Y5B to Y58 Y57 to Y54Y53 to Y50 Y4F to Y4C Y4B to Y48 Y47 to Y44 Y43 to Y40
Step
Instruction
Device

Table of Contents

Related product manuals