![Omron CVM1D Operation Manual Download Page 241](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532241.webp)
236
5-17-19 DOUBLE SIGNED BINARY-TO-BCD: BDSL(278)
(278)
BDSL C S D
Ladder Symbol
Variations
↑
BDSL(278)
Operand Data Areas
C: Control word
CIO, G, A, T, C, #, DM,
S: 1st source word
CIO, G, A, T, C, DM,
D: 1st destination word
CIO, G, A, DM,
Description
When the execution condition is OFF, BDSL(278) is not executed. When the
execution condition is ON, BDSL(278) converts the data in specified words (S
and S+1) from double signed binary to double signed BCD, and outputs the re-
sult to specified destination words (D and D+1). The format of the destination
word is determined by the contents of the control word (C).
Note Special I/O Units sometimes sometimes require input of signed BCD data.
BCDS(276) or BDSL(278) can be used to easily convert signed binary data to
signed BCD data.
The output data format and range designations for the various control word con-
tents are as follows:
When C = 0000 (Output Data Range: –999 9999 to 999 9999 BCD)
7 digits BCD, 28 bits
Sign bit (0: Positive; 1: Negative)
Status of 3 bits: 0
S+1
S
When C = 0001 (Output Data Range: –7999 9999 to 7999 9999 BCD)
7 digits BCD, 28 bits
Sign bit (0: Positive; 1: Negative)
S+1
S
3 bits of digit 8 (0 to 7)
When C = 0002 (Output Data Range: –999 9999 to 9999 9999 BCD)
7 digits BCD, 28 bits
S+1
S
0 to 9: Eighth digit BCD
F: Negative (–)
When C = 0003 (Output Data Range: –1999 9999 to 9999 9999 BCD)
7 digits BCD, 28 bits
S+1
S
0 to 9: Eighth digit BCD
A: Negative (-1)
F: Negative (–)
Conversion Instructions
Section 5-17
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...