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

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

Advertisement

Conversion Instructions
Operand Specifications
R: Result Word
The locations of the bits that were ON in the source word(s) are written to the
digits/bytes in R starting with the specified first digit/byte.
C: Control Word
The control word specifies whether DMPX(077) will perform a 16-to-4 bit con-
version or an 256-to-8 bit conversion, whether the leftmost or rightmost ON bit
will be encoded, the number of digits or bytes that will be converted, and the
starting digit or byte where the results will be written.
Digit number:
3 2 1 0
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
Specifies the first digit/byte to receive converted data.
16-to-4: 0 to 3 (digit 0 to 3)
256-to-8: 0 or 1 (byte 0 or 1)
Number of digits/bytes to be converted
16-to-4: 0 to 3 (1 to 4 digits)
256-to-8: 0 or 1 (1 or 2 bytes)
Bit to encode
0: Leftmost bit (highest bit address)
1: Rightmost bit (lowest bit address)
Conversion process
0: 16-to-4 bits (word to digit)
1: 256-to-8 bits (16-word range to byte)
S
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
---
---
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-12
R
C
A000 to A959
Specified values
only
501

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents