Mitsubishi Electric M800VW Series Programming Manual page 331

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.10 Character String Processing Instructions
 Functions
BINDA
 Converts each of the individual digit values of the BIN 16-bit data designated by (S) expressed as decimal into ASCII
codes, and stores the result in the area starting from the device number designated by (D).
b15
b0
S
BIN 16-bit data
For example, if "-12345" is designated at (S), the following will be stored in the area starting from (D).
b15
b0
S
-12345
 BIN values between -32768 to 32767 can be designated by (S).
 The operation results stored at (D) are as follows:
- The sign "20H" (space) will be stored if the BIN data is positive, and the sign "2DH" (-) will be stored if the BIN data is
negative.
- The sign "20H" (space) will be stored for the leading zeros of significant digits.
0 0 3 2 5
Number of significant
digits
20H is set
 The storage of data at devices designated by (D+3) differs depending on the ON/OFF status of SM701 (output number of
characters conversion signal).
- When SM701 is OFF: Stores "00H".
- When SM701 is ON: No data is stored. (The value of the device does not change)
IB-1501667-B
b15
b8b7
ASCII code for ten-
D
thousands place
ASCII code for
D+1
hundreds place
ASCII code for
D+2
hundreds place
D+3
0
b15
b8b7
D
31H(1)
D+1
33H(3)
35H(5)
D+2
D+3
00H
310
b0
Sign
ASCII code for thousands
place
ASCII code for tens place
Only when
SM701 is
OFF
b0
2DH(-)
32H(2)
34H(4)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents