Mitsubishi Electric M800VW Series Programming Manual page 335

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
DBINHA
 Converts each of the individual digit values of the BIN 32-bit data designated by (S) expressed as hexadecimal into ASCII
codes, and stores the result in the area starting from the device number designated by (D).
S+1
Upper 16 bits
Lower 16 bits
BIN 32-bit data
For example, if "03AC625EH" is designated at (S), the following will be stored in the area starting from (D).
S+1
S
03AC625EH
 BIN values between 0H to FFFFFFFFH can be designated by (S).
 The operation results stored at (D) are processed as 8-digit hexadecimal values. For this reason, leading zeros of signifi-
cant digits are processed as "0". (No zero suppression is performed.)
 The storage of data at the devices designated by (D+4) depends on the ON/OFF status of SM701 (output number of char-
acters conversion signal).
- When SM701 is OFF: Store "00H".
- When SM701 is ON: Do not store data. (The value of the device does not change)
IB-1501667-B
b15
S
ASCII code for the 7th digit
D
ASCII code for the 5th digit
D+1
ASCII code for the 3rd digit
D+2
ASCII code for the 1st digit
D+3
D+4
b15
D
33H (3)
D+1
43H (C)
D+2
32H (2)
45H (E)
D+3
D+4
b8b7
ASCII code for the 8th digit
ASCII code for the 6th digit
ASCII code for the 4th digit
ASCII code for the 2nd
digit
0
b8b7
b0
30H (0)
41H (A)
36H (6)
35H (5)
00H
314
b0
Only when
SM701 is OFF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents