EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series

Mitsubishi MELSEC iQ-F FX5 series
888 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...
6 BASIC INSTRUCTIONS
6.5 Data Conversion Instructions
245
6
Precautions
When using the SEGL instruction, because BCDbinary conversion is automatically executed, the BCD(P) instruction do
not have to be used.
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(P) instructions (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(P) instructions (for converting binary data into BCD data).
Operation error
(d)+1, (d) Number of digits Data range
K1Y0 1-digit 0 to 9
K2Y0 2-digit 00 to 99
K3Y0 3-digit 000 to 999
K4Y0 4-digit 0000 to 9999
K5Y0 5-digit 00000 to 99999
K6Y0 6-digit 000000 to 999999
K7Y0 7-digit 0000000 to 9999999
K8Y0 8-digit 00000000 to 99999999
Error code
(SD0/SD8067)
Description
3401 Data in the device specified by (s) is out of the valid range (0 to 99999999).

Table of Contents

Related product manuals