4.5 Handling Index Registers
4-23
Inputting and outputting data based on a number specified by an input
With the FP0R/FPΣ/FP−X/FP2/FP2SH/FP10SH, any value between I0 and ID should
be specified in place of IX.
Example 1: Setting a timer number specified by a digital switch
0 7 9 4
Programmable
controller
Timer time
setting
WX0
2
Digital
switches
WX1
Timer
number
setting
R0
DF F81 BIN, WX1, IX
1
2
F81 BIN, WX0, IXSV0
1
Convert the BCD timer number data in WX1 to binary and
set it in index register IX.
2
Convert the BCD timer set value in WX0 to binary and
stored in the timer set value area SV specified by contents
of IX.