C40K-CDR-A Omron, C40K-CDR-A Datasheet - Page 81

no-image

C40K-CDR-A

Manufacturer Part Number
C40K-CDR-A
Description
PROGRAMMABLE CONTROLLER CPU
Manufacturer
Omron
Datasheet

Specifications of C40K-CDR-A

Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Areas, Definer Values, and Flags
70
0000
0003
0006
HR 015
TIM 00
00005
0002
0007
1505
0001
0200
1500
The first word of any instruction defines the instruction and provides any de-
finers and sometimes bit operands required by the instruction. All other oper-
ands (i.e., operand words) are placed in words after the instruction word, one
operand to a word, in the same order as these appear in the ladder symbol
for the instruction. Although the SV for TIM and CNT are written to the left of
the symbol on the same line as the instruction, these are the only instructions
for which one line in the ladder symbol must be coded as two words (i.e., two
lines) in the mnemonic code. Also the TC number for TIMH(15) is placed on
a second line even though it is part of the instruction word. For all other in-
structions, each line of the ladder diagram will go into one word of mnemonic
code.
The address and instruction columns of the mnemonic code table are filled in
for the instruction word only. For all other words, the left two columns are left
blank. If the instruction word requires no definer or bit operand, the data col-
umn for it is left blank. It is a good idea to cross though the blank data col-
umn for all instruction words not requiring data so that the data column can
be quickly scanned to see if any addresses have been left out.
If an IR or SR address is used in the data column, the left side of the column
is left blank. If any other data area is used, the data area abbreviation is
placed on the left side and the address is place on the right side. If a con-
stant is to be input, the number symbol (#) is placed on the left side of the
data column and the number to be input is placed on the right side. Any num-
bers input as definers in the instruction word do not require the number sym-
bol on the right side. Remember, TR bits, once defined as a timer or counter,
take a TIM (timer) or CNT (counter) prefix.
When coding an instruction that has a function code, be sure to write in the
function code, which will be necessary when inputting the instruction.
The following diagram and corresponding mnemonic code illustrate the
points described above.
DIFU(13) 1500
0100
MOV(21)
ADD(30)
#0001
0004
HR 0
TIM 00
HR 0
HR 2
# 0150
Address Instruction
0000
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
LD
AND
OR
DIFU(13)
LD
AND NOT
LD
AND NOT
AND NOT
OR LD
AND
ADD(30)
LD
TIM
LD
MOV(21)
LD
OUT NOT
#
HR
#
TIM
HR
HR
HR
Section 5-4
Operands
0000
0001
0002
1500
0003
0200
0006
0007
1505
1500
0001
0004
0005
0150
0100
015
00
00
0
0
2

Related parts for C40K-CDR-A