EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 452

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
450
6 BASIC INSTRUCTIONS
6.6 Data Conversion Instructions
Setting method of (s) for when SM705 (Number of conversion digits selection) is on
Set hexadecimal ASCII data with a desired number of digits (including 00H (NULL code)) in (s). Note that 00H (NULL code) is
not required to be set for the maximum number of digits (8 digits).
The following table lists the setting method of (s).
The ASCII data in the device specified by (s) to (s)+3 is within the range from 00000000H to FFFFFFFFH.
The data of (s)+4 or later is ignored.
A value from 30H to 39H and 41H to 46H can be set in each place of ASCII code.
If a value 00H is set in each place of ASCII code, the value will be processed as the end of the hexadecimal ASCII data.
Operation error
Value to be set
in (s)
Data of (s) to (s)+3 Value to be set
in (s)
Data of (s) to (s)+3
0H to FH Set 00H in the upper byte of (s).
The data of (s)+1 or later is ignored.
10H to FFH Set 00H in the lower byte of (s)+1.
The data of the upper byte of (s)+1 or later is
ignored.
1000000H to
FFFFFFFH
Set 00H in the upper byte of (s)+3.
The data of (s)+4 or later is ignored.
10000000H to
FFFFFFFFH
The data of (s)+4 or later is ignored.
ASCII : ASCII code (th digit)
Error code
(SD0)
Description
3401H Invalid data that cannot be converted are input in (s) to (s)+3.
A value in each place of ASCII code is other than "30H" to "39H" and "41H" to "46H".
(s)+1
(s)+2
(s)+3
(s)
b15 b0 b7b8
ASCII 1
00H
(s)+1
(s)+2
(s)+3
(s)
b15 b0 b7b8
ASCII 2ASCII 1
00H
(s)+1
(s)+2
(s)+3
(s)
b15 b0 b7b8
ASCII 6
ASCII 4
ASCII 2
ASCII 7
ASCII 5
ASCII 3
ASCII 1
00H
(s)+1
(s)+2
(s)+3
(s)
b15 b0 b7b8
ASCII 8
ASCII 6
ASCII 4
ASCII 2
ASCII 7
ASCII 5
ASCII 3
ASCII 1

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals