EasyManua.ls Logo

Mitsubishi MELSEC-A series - Page 141

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 29
MELSEC-A
Execution Conditions
Operation Errors In the following cases, operation error occurs and the error flag turns on.
A value other than 0 to 9 exists in any digit of (S1), (S2).
The divisor (S2) is 0.
Program Examples B*
Program which performs multiplication of the BCD data of X0 to F and BCD data of
D8, and stores the result into A0 and A1 when X1B turns on.
Coding
0 LD X01B
1 B*P K4X000 D8 A0
10 END
0
X01B
P K4
B* X000 D8 A0
Multiplication/division
commands
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