Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 100

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
ASCII TO HEX
HEX(162)
HEX
@HEX
162
S: 1st source
word
Di: Digit
designator
D: Destination
word
COLUMN TO
LINE(063)
LINE
LINE
@LINE
063
S: 1st source
word
N: Bit number
D: Destination
word
LINE TO
COLM(064)
COLUMN
COLM
@COLM
064
S: Source word
D: 1st destination
word
N: Bit number
60
Converts up to 4 bytes of ASCII data in the source word to their
hexadecimal equivalents and writes these digits in the specified
destination word.
S
Di
First byte to convert
D
Left (1)
Converts a column of bits from a 16-word range (the same bit number
in 16 consecutive words) to the 16 bits of the destination word.
S
Bit
N
15
D
S
0 0 0 1 1 1 1 0 0 0 1 0 0 0 0 1
S+1
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
S+2
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
S+3
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
.
.
.
.
.
.
S+15
0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 0
Converts the 16 bits of the source word to a column of bits in a
16-word range of destination words (the same bit number in 16
consecutive words).
S
Bit
D
15
N
S
0
Bit
15
D
0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 1
D+1
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
D+2
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
D+3
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
.
.
.
D+15
0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0
Function
C: 0021
Di
Right (0)
Number of digits (n+1)
First digit to write
N
.
.
.
.
.
.
Bit
15
. . .
D
0
.
.
.
.
.
.
.
0 1
Bi
.
.
.
.
.
.
Section 2-2
Location
Execution
condition
Output
Required
Output
Required
Bit
00
Bit
00
0 1
1
1
Output
Required
Bit
00
1
1
Bit
00
.
.
.
Page
508
512
514

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents