Mitsubishi MELSEC Q Series Programming Manual page 280

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

BIN(P),DBIN(P)
(2) The following program converts the BCD data at X10 to X37 to BIN when X8 is ON, and stores it
at D0 and D1.
(Addition of the BIN data converted from BCD at X20 to X37 and the BIN data converted
from BCD at X10 to X1F)
BCD digital switch
Input power supply
X37 to X34
X33 to X30
X2F to X2C
X2B to X28
X27 to X24
X23 to X20
X1F to X1C
X1B to X18
X17 to X14
X13 to X10
Programmable Controller Output Module
[Ladder Mode]
[List Mode]
Instruction
Device
Step
If the data set at X10 to X37 is a BCD value which exceeds 2147483647, the value at D0
and D1 will be a negative value, because it exceeds the range of numerical values that can
be handled by a 32-bit device.
6-78

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents