8 APPLICATION INSTRUCTION
8.8 Character String Operation Instruction
443
8
Ex.
When -12345678 is specified in (s) (when signed data is specified)
• The following shows the operation result to be stored in (d).
Precautions
• (d) occupies six points.
Operation error
• 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.
Error code
(SD0/SD8067)
Description
2820H
The device specified by (d) exceeds the corresponding device range.
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
b15
b0
b7
b8
(s)+1
(s)
1 2 3 4 5 6 7 8
-
2DH (-)
31H (1)
32H (2)
33H (3)
35H (5)
34H (4)
37H (7)
36H (6)
38H (8)
20H (SP)
00H or 20H
20H (SP)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......