EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 805

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...
772
Basic I/O Unit Instructions Section 3-22
3-22-2 7-SEGMENT DECODER: SDEC(078)
Purpose Converts the hexadecimal contents of the designated digit(s) into 8-bit, 7-seg-
ment display code and places it into the upper or lower 8-bits of the specified
destination words.
Ladder Symbol
Variations
Applicable Program Areas
Operands: Digit Designator
Operand Specifications
SDEC(078)
S
Di
D
S: Source word
Di: Digit designator
D: First destination word
Variations Executed Each Cycle for ON Condition SDEC(078)
Executed Once for Upward Differentiation @SDEC(078)
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
0 1/0 m n
15 12 11 8 7 4 3 0
Di
First digit of S to convert (0 to 3)
0: Digit 0 (bits 0 to 3 of S)
1: Digit 1 (bits 4 to 7 of S)
2: Digit 2 (bits 8 to 11 of S)
3: Digit 3 (bits 12 to 15 of S)
Number of digits to convert
0 to 3: 1 to 4 digits
First half of D to receive converted data
0: Rightmost 8 bits (1st half)
1: Leftmost 8 bits (2nd half)
Not used; set to 0.
Area S Di D
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A0 to A959 A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses
in binary
@D0 to @D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants --- Specified values
only
---
Data Registers DR0 to DR15 ---

Table of Contents

Related product manuals