Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 445

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

Advertisement

Ex.
When -12345678 is specified in (s) (when signed data is specified)
(s)+1
(s)
-
1 2 3 4
5 6 7 8
• The following shows the operation result to be stored in (d).
• As sign data, "20H" is stored if the 16-bit binary data is positive, and "2DH" is stored if the data is negative.
• "20H" is stored for "0" on the left side of the valid digits (zero suppression). For "0012034560", 20H is stored for "00", and the number of digits is 8
based on "12034560".
• In the upper 8 bits of the device specified by (d)+5, 0 is stored when SM701 (output character number selector signal) is off, and 20H is stored when
SM701 is on.
Precautions
• (d) occupies six points.
Operation error
Error code
Description
(SD0/SD8067)
2820H
The device specified by (d) exceeds the corresponding device range.
b15
b8
b7
(d)
20H (SP)
(d)+1
31H (1)
20H (SP)
(d)+2
33H (3)
(d)+3
35H (5)
(d)+4
37H (7)
00H or 20H
(d)+5
b0
2DH (-)
32H (2)
34H (4)
36H (6)
38H (8)
8.8 Character String Operation Instruction
8 APPLICATION INSTRUCTION
8
443

Hide quick links:

Advertisement

loading