EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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
Page #204 background imageLoading...
Page #204 background image
202
DB+, DB+P, DB-, DB-P
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program Example
(1) The following program adds the BCD data 12345600 and 34567000, stores the result at D887 and D888, and at the
same time outputs them to from Y30 to Y4F.
[Ladder Mode]
[List Mode]
(2) The following program subtracts the BCD data 98765432 from 12345678, stores the result at D100 and D101, and at the
same time outputs it from Y30 to Y4F.
[Ladder Mode]
[List Mode]
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100
The or BCD data is outside the 0 to 99999999 range.
S
D
Stores 12345600 in BCD to D887 and D888.
Adds 34567000 in BCD to the value in D887 and D888,
and stores the result to D887 and D888.
Outputs the data in D887 and D888 to Y30 to Y4F.
Step
Instruction
Device
Stores 98765432 in BCD to D100 and D101.
Subtracts the value in D100 and D101 from 12345678
in BCD, and stores the result to D100 and D101.
Outputs the data in D100 and D101 to T30
to Y4F.
Step
Instruction
Device

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals