![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423147.webp)
134
0
0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 1
Bit
15
Bit
00
S
C
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
S+1
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
S+2
.
.
.
.
.
.
. . .
.
.
.
0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0
S+15
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
S+3
0 1
1
D
1
Bit
15
Bit
00
.
.
.
Flags
ER:
The column bit designator C is not BCD, or it is specifying a non-ex-
istent bit (i.e., bit specification must be between 00 and 15).
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the content of D is zero; otherwise OFF.
The following example shows how to use CTW(63) to move bit column 07
from the set (IR 100 to IR 115) to DM 0100.
CTW(63)
100
#0007
DM 0100
00000
Address
Instruction
Operands
00000
LD
00000
00001
CTW(63)
100
#
0007
DM
0100
5-14-4
WORD-TO-COLUMN – WTC(64)
S: Source word
IR, SR, AR, DM, HR, LR
C: Column bit designator (BCD)
IR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
D: First word of the destination set
IR, AR, DM, HR, LR
WTC(64)
S
D
C
@WTC(64)
S
D
C
Can be performed with the CPU11-E only. C must be between 00 and 15.
When the execution condition is OFF, WTC(64) is not executed. When the
execution condition is ON, WTC(64) copies the 16 bits of word S (00 to 15) to
the column of bits, C, of the 16-word set (D to D+15).
Example
Limitations
Description
Data Movement
Section 5-14
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...