Mitsubishi MELSEC Q Series Programming Manual page 583

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Program Example
(1) The following program converts the BIN 16-bit data stored at D10 when X0 is turned ON in
accordance with the digit designation of D0 and D1, and stores the result from D20 to D23.
[Ladder Mode]
[List Mode]
Step
Instruction
[Operation]
D10
12672
D0
7
D1
1
Device
b15
b8b7
D20
31
(1)
20
(space)
H
H
D21
36
(6)
32
H
D22
2E
(.)
37
H
D23
00
32
H
STR(P),DSTR(P)
Sets the data.
Sets the total number of digits.
Sets the number of digits in decimal fraction.
b0
(2)
H
1267.2
(7)
H
(2)
H
1
2
3
4
6
6
7
8
7-209

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents