EasyManuals Logo

Mitsubishi MELSEC-A series Programming Manual

Mitsubishi MELSEC-A series
508 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 #127 background imageLoading...
Page #127 background image
6. BASIC INSTRUCTIONS
6 15
MELSEC-A
Execution Conditions
Program Examples D+
Program which adds the 28-bit data of X10 to 2B and the date of D9 and 10, and
outputs the result to Y30 to 4B when X0 turns on.
D-
The following Program subtracts M0 to 23data from A1 data and stores to D10, D11
when XB is switched on.
Addition/subtraction
command
Executed
per scan
Executed
per scan
Executed
only once
Coding
0 LD X000
1 D+P K7X010 D9 K7Y030
12 END
0
X000
P K7 K7
D+ X010 D9 Y030
Coding
0 LD X00B
1 D-P A0 K6M0 D10
12 END
0
X00B
P K6
D- A0 M0 D10
P
ON
OFF
Executed
only once

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-A series and is the answer not in the manual?

Mitsubishi MELSEC-A series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-A series
CategoryController
LanguageEnglish

Related product manuals