Signed Bcd-To-Binary: Bins(275) - Omron SYSMAC CV Series Operation Manual

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

Advertisement

Conversion Instructions
1 1 0 0 0 0 1 1 1 0 1 1 1 0 0 0
*
: Not changed.
*
Digit 3
5-17-16

SIGNED BCD-TO-BINARY: BINS(275)

Ladder Symbol
(275)
BINS C S D
Variations
BINS(275)
Description
242
Parity bits: Even
$43
$38
Converted to binary data
*
C
8
Digit 2
Digit 1 Digit 0
Number of digits to be converted: 2
Operand Data Areas
C: Control word
S: Source word
D: Destination word
When the execution condition is OFF, BINS(275) is not executed. When the
execution condition is ON, BINS(275) converts the data in a specified source
word (S) from signed BCD to signed binary, and outputs the result to a specified
destination word (D). The format of the source word is determined by the con-
tents of the control word (C).
Note Special I/O Units sometimes output signed BCD data. Calculations using this
data will normally be easier if it is first converted to signed binary data by means
of BINS(275) or BISL(277).
The input data format and range designations for the various control word con-
tents are as follows:
When C = 0000 (Input Data Range: –999 to 999 BCD)
When C = 0001 (Input Data Range: –7999 to 7999 BCD)
First ASCII data to be converted: Rightmost 8 bits
First digit to receive converted data: 1
D:D00300
CIO, G, A, T, C, #, DM, DR, IR
CIO, G, A, T, C, DM, DR, IR
CIO, G, A, DM, DR, IR
3 digits BCD, 12 bits
Sign bit (0: Positive; 1: Negative)
Status of 3 bits: 0
3 digits BCD, 12 bits
3 bits of digit 4 (0 to 7)
Sign bit (0: Positive; 1: Negative)
Section 5-17
(CVM1 V2)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents