Mitsubishi MELSEC iQ-F FX5 series Programming Manual page 251

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

(s)+1, (s)
K1X0
K2X0
K3X0
K4X0
K5X0
K6X0
K7X0
K8X0
Precautions
• Binary data is used in all operations in CPU module including arithmetic operations (+-), increment and decrement
instructions. When receiving digital switch information in binary-coded decimal (BCD) format into a CPU module, use the
BIN instruction (for converting BCD data into binary data). Furthermore, to output data to seven-segment display unit
handling binary-coded decimal (BCD) data, use the BCD instruction (for converting binary data into BCD data).
Operation error
Error code
Description
(SD0/SD8067)
3401
The value of each digit of the device specified by (s) is other than 0 to 9. (The data is not binary-coded decimal data.)
Number of digits
1-digit
2-digit
3-digit
4-digit
5-digit
6-digit
7-digit
8-digit
Data range
0 to 9
00 to 99
000 to 999
0000 to 9999
00000 to 99999
000000 to 999999
0000000 to 9999999
00000000 to 99999999
6 BASIC INSTRUCTIONS
6.5 Data Conversion Instructions
6
249

Advertisement

Table of Contents
loading

Table of Contents