Precautions During Programming
FP0
8
−
8
8.3
Handling Index Registers
8.3.3
Example of Using an Index Register
Repeatedly Reading in External Data
Example:
Writing the contents of word external input relay WX3 to a
sequence of data registers beginning from DT0.
R0
F0 MV, K0, IX
R1
DF
F0 MV, WX3, IXDT0
F35 +1, IX
1
2
3
1
When R0 turns on, K0 is written to index register IX.
2
When the R1 turns on, the contents of WX3 is transferred to
the data register specified by IXDT0.
3
Add 1 to IX.
In this case, the contents of IX will change successively,
and the destination data register will be as follows.
Input times
of R1
Contents of
IX
Destination
data register
1st
2nd
3rd
:
0
1
2
:
DT0
DT1
DT2
:
Inputting and Outputting Data Based on a Number Specified by an Input
Example 1: Setting a timer number specified by a digital switch
0
7
9
4
PLC
Timer set value
(timer time setting)
WX0
2
Digital
switches
WX1
Timer
setting
number
Содержание FP0 Series
Страница 14: ...Table of Contents FP0 xii ...
Страница 16: ...Overview FP0 1 2 ...
Страница 82: ...S LINK Control Unit FP0 4 2 ...
Страница 95: ...Chapter 5 I O Allocation 5 1 I O Number 5 3 5 2 Control Unit 5 4 5 3 Expansion I O Unit 5 5 ...
Страница 96: ...I O Allocation FP0 5 2 ...
Страница 100: ...I O Allocation FP0 5 6 5 3 Expansion I O Unit ...
Страница 102: ...Installation FP0 6 2 ...
Страница 112: ...Installation FP0 6 12 6 5 Installation Using FP0 Flat Type Mounting Plate ...
Страница 114: ...Wiring FP0 7 2 ...
Страница 198: ...High speed Counter Pulse Output PWM Output FP0 9 34 9 5 PWM Output Function ...
Страница 200: ...General use Serial Communications FP0 10 2 ...
Страница 210: ...Self Diagnostic and Troubleshooting FP0 11 2 ...
Страница 220: ...Specifications FP0 12 2 ...
Страница 234: ...Dimensions FP0 13 2 ...
Страница 241: ...Dimensions FP0 13 9 13 6 Detailed Specifications of Cables 13 6 Detailed Specifications of Cables ...
Страница 243: ...Chapter 14 Appendix ...
Страница 380: ...14 138 14 7 ASCII Codes ...