Mitsubishi MELSEC QS Series Programming Manual page 123

Hide thumbs Also See for MELSEC QS Series:
Table of Contents

Advertisement

Operation Error
(1) In the following cases, an operation error occurs, the error flag (SM0) turns ON, an error
code is stored in SD0, and the instruction is not executed.
• When values other than 0 to 9 are designated to any digits of
In this regard, however, the error above can be suppressed by turning SM722 ON.
However, the instruction is not executed regardless of whether SM722 is turned ON or OFF
if the designated value is out of the available range.
For the BINP/DBINP instruction, the next operation will not be performed until the command
(execution condition) is turned from OFF to ON regardless of the presence/absence of an
error.
Program Example
(1) The following program converts the BCD data at X10 to X1B to BIN when X8 is ON, and stores it
at D8.
Can be used in
other purposes
Input
power
supply
[Ladder Mode]
6.3.2 Conversion from BCD 4-digit and 8-digit data to BIN data (BIN(P), DBIN(P))
BCD digital switch
PLC input module
BIN(P), DBIN(P)
.(Error code: 4100)
6.3 Data Conversion Instructions
6
6-25

Advertisement

Table of Contents
loading

Table of Contents