Appendix C
"
Function Code
No. of bytes
Mnemonic
Name
35
OR WORD
ORW
10
36
EXCLUSIVE OR
XORW
10
37
EXCLUSIVE NOR
XNRW
10
38
INCREMENT
INC
10
39
DECREMENT
DEC
10
40
SET CARRY
STC
9
41
CLEAR CARRY
CLC
9
74
ONE DIGIT SHIFT LEFT
SLD
10
75
ONE DIGIT SHIFT RIGHT
SRD
10
76
4-TO-16 DECODER
MLPX
10
77
16-TO-4 ENCODER
DMPX
10
Applicable Data Areas
The following table shows the addresses that can be used in each data area when programming. These are listed
in the instruction tables by area. Any word/bit in the applicable areas can be designated as long as the end of the
area is not exceeded, i.e., if two words are required for an operand, the last word in an area cannot be designated.
In this respect, the IR, work bit, and SR area are considered as one consecutive area. Refer to the
C500 Operation
Manual
for details. Indirect addressing is not possible for the Ladder Program I/O Unit.
Prefix
Item
Word address
Bit address
None (indicated with IR prefix)
PC output bits
IR 00
IR 0000 to IR 0015
PC input bits
IR 01
IR 0100 to IR 0115
External input bits
IR 02
IR 0200 to IR 0215
External output bits
IR 03
IR 0300 to IR 0315
None
Work bits
04 to 12
0400 to 1207
None (indicated with SR prefix)
SR bits
12 to 13
SR 1208 to SR 1307
TR
Temporary bits
------
TR 0 to TR 7
TIM/CNT (indicated as TC)
Timer/counter numbers
TC 00 to TC 15 (PV)
TC 00 to TC 15 (defining
or Completion Flag)
DM
Data memory
DM 000 to DM 127
------
#
Constants
#0000 to 9999
#0000 to FFFF
------
Note Data transferred by WRIT(87) and READ(88) instructions is stored in DM 064 through DM 127 when pin 2 of
the back panel DIP switch is turned ON. If data will be transferred by the WRIT(87) and READ(88) instruc-
tions, DM 064 through DM 095 should be treated as read-only in the program. Refer to
3-6 DM Area
for
details on the use of DM 060 through DM 127.
Summary of Contents for C500-LDP01-V1
Page 1: ...C500 LDP01 V1 Ladder Program I O Unit Operation Manual Revised January 1992...
Page 2: ......
Page 4: ......
Page 5: ...0 1 1 1 2 1 2 1 3 2 2 2 4 12 2 1 56 7 02 5 1 8 1 1 7 5 2...
Page 7: ...02 4 8 02 3 3 3 8 8 3 4 3 3 4...
Page 11: ...8 9 4 8 8...
Page 18: ...8 3 8 02 5 02 5 8 02 2 2 3 0 5 0 1 1...
Page 29: ...8 4 6 6 02 8 2 4 12 2 1 56 7 02 02...
Page 37: ...3 8 4 8 4 3 5 1 8 1...
Page 56: ...1 6 0 0 1 7 8 8 02 1 7 8 1 02 3 0 5 02 02 02 2 02 2 02 5 02 02 6 7 12 2...