Double Signed Binary-To-Bcd: Bdsl(278) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Conversion Instructions
5-17-19

DOUBLE SIGNED BINARY-TO-BCD: BDSL(278)

Ladder Symbol
(278)
BDSL C S D
Variations
BDSL(278)
Description
248
Operand Data Areas
C: Control word
S: 1st source word
D: 1st destination word
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)
S+1
S
When C = 0001 (Output Data Range: –7999 9999 to 7999 9999 BCD)
S+1
S
When C = 0002 (Output Data Range: –999 9999 to 9999 9999 BCD)
S+1
When C = 0003 (Output Data Range: –1999 9999 to 9999 9999 BCD)
S+1
CIO, G, A, T, C, #, DM,
CIO, G, A, T, C, DM,
CIO, G, A, DM,
7 digits BCD, 28 bits
Sign bit (0: Positive; 1: Negative)
Status of 3 bits: 0
7 digits BCD, 28 bits
3 bits of digit 8 (0 to 7)
Sign bit (0: Positive; 1: Negative)
S
7 digits BCD, 28 bits
0 to 9: Eighth digit BCD
F: Negative (–)
S
7 digits BCD, 28 bits
0 to 9: Eighth digit BCD
A: Negative (-1)
F: Negative (–)
Section 5-17
(CVM1 V2)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents