Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 313

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Ex.
When the ASCII data, -25108 (signed), is specified by (s)
b15
∙∙∙
b8
(s)
32H (2)
(s)+1
31H (1)
(s)+2
38H (8)
• The ASCII data that can be specified by (s) to (s)+2 is -32768 to +32767 for signed data, and 0 to 65535 for unsigned data.
• As signed data, "20H" is stored if the ASCII data is positive, and "2DH" is stored if the data is negative. (If a value other than
"20H" and "2DH" is set, the data will be processed as positive data.) (DABIN(P))
• A value "30H" to "39H" can be set in the each place of the ASCII code.
• If a value "20H" or "00H" is set, the value will be processed as "30H".
Operation error
Error code
Description
(SD0/SD8067)
2820H
The device specified by (s) exceeds the corresponding device range.
3401H
The signed data is other than 20H, 2DH.
A value specified by (s) to (s)+2 for each place of the ASCII code is other than "30H" to "39H", "20H", and "00H".
The ASCII data in the device specified by (s) to (s)+2 is out of the valid range (-32768 to +32767) (when a signed data is specified).
The ASCII data in the device specified by (s) to (s)+2 is out of the valid range (0 to 65535) (when unsigned data is specified).
b7
∙∙∙
b0
2DH (-)
35H (5)
30H (0)
b15
∙∙∙
b0
(d)
-
2
5
1
0
8
7.5 Data Conversion Instructions
7 BASIC INSTRUCTIONS
311
7

Hide quick links:

Advertisement

loading