EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 455

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
422
Conversion Instructions Section 3-11
BCD Format 0 (C=#0003)
When CIO 0.01 is ON in the following example, the signed BCD data format
and range in D300 are checked against the format specified in the control
word (0003). The source data is correct, so the signed BCD data in D300 is
converted to signed binary and output to D400.
3-11-15 DOUBLE SIGNED BCD-TO-BINARY: BISL(472)
Purpose Converts double signed BCD data to double signed binary data.
Ladder Symbol
Variations
Applicable Program Areas
Operands C: Control Word
Specifies the signed BCD format. C must be 0000 to 0003.
Operand Specifications
S: D300
A 3 6 9
D: D400
F A A 7
0.01
D300
D400
Signed BCD data
(–1,369)
Signed binary data
BISL(472)
C
S
D
C: Control word
S: First source word
D: First destination word
Variations Executed Each Cycle for ON Condition BISL(472)
Executed Once for Upward Differentiation @BISL(472)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area C S D
CIO Area CIO 0 to
CIO 6143
CIO 0 to CIO 6142
Work Area W0 to W511 W0 to W510
Holding Bit Area H0 to H511 H0 to H510
Auxiliary Bit Area A0 to A959 A0 to A958 A448 to A958
Timer Area T0000 to T4095 T0000 to T4094
Counter Area C0000 to C4095 C0000 to C4094
DM Area D0 to D32767 D0 to D32766
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants #0000 to #0003
(binary)
---

Table of Contents

Related product manuals