EasyManua.ls Logo

Mitsubishi MELSEC-A series - Page 124

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
Loading...
6. BASIC INSTRUCTIONS
6 12
MELSEC-A
Execution Conditions
Program Examples +
Program which adds the content of A0 to the content of D3 and outputs the result to
Y38 to 3F when X5 turns on.
-
Program which outputs the difference between the set value and present value timer
T3 to Y40 to 53 in BCD.
Coding
0 LD X005
1 +P D3 A0 K2Y038
8 END
0
X005 P K2
+ D3 A0 Y038
Coding
0 LD X003
1 OUT T3 K18000
2 LD M9036
3 -P K18000 T3 D3
10 DBCD D3 K5Y040
19 END
()
0
2
X003
M9036
K18000
T3
P K
- 18000 T3 D3
K5
DBCD D3 Y040
Addition/subtraction
command
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
P
OFF
ON

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals