Mitsubishi MELSEC-Q/L Programming Manual page 234

Table of Contents

Advertisement

BCD, BCDP, DBCD, DBCDP
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.
Error
code
The data of
is other than 0 to 9999 when the BCD instruction is
S
4100
executed.
The data of
or
+1 is other than 0 to 99999999 when the DBCD
S
S
4100
instruction is executed.
Program Example
(1) The following program outputs the present value of C4 from Y20 to Y2F to the BCD display device.
Output
power supply
0 1 0 1
[Ladder Mode]
(2) The following program outputs 32-bit data from D0 to D1 to Y40 to Y67.
Y67 to Y64
Output
power supply
[Ladder Mode]
232
Error details
Programmable Controller Output Module
0 1 1 0
0 1 1 1
7-segment display unit
[List Mode]
Step
Programmable Controller Output Module
Y63 to Y60
Y5F to Y5C
Y5B to Y58
[List Mode]
Step
Q00J/
Q00/
QnH
Q01
1 0 0 0
Instruction
Device
Y57 to Y54
Y53 to Y50
Y4F to Y4C
7-segment display unit
Instruction
Device
QnPH QnPRH
QnU
LCPU
Y4B to Y48
Y47 to Y44
Y43 to Y40

Advertisement

Table of Contents
loading

Table of Contents