Panasonic AFPX-C30R User Manual page 416

Fp-x series
Hide thumbs Also See for AFPX-C30R:
Table of Contents

Advertisement

14.3.3 Example of Using an Index Register
Repeatedly reading in external data
<Example>
Writing the contents of input WX3 to a sequence of data registers beginning from DT0.
When R0 turns on, 0 is written to index register I0.
1
When the R1 turns on, the contents of input WX3 is transferred to the data register specified by I0DT0.
2
Add 1 to I0. In this case, the contents of I0 will change successively, and the destination data register
3
will be as follows.
Input times of R1
1st
2nd
3rd
:
Inputting and outputting data based on a number specified by an input
<Example 1> Setting a timer number specified by a digital switch
Convert the BCD timer number data in WX1 to binary and set it in index register I0.
1
Convert the BCD timer set value in WX0 to binary and store in the timer set value area SV specified
2
by contents of I0.
<Example 2>
Taking external output of the elapsed value in a timer number specified by a digital switch
Convert the BCD timer number data in WX1 to binary and set it in index register I0.
1
Convert the elapsed value data EV in the timer specified by I0 to BCD, and output it to output relay
2
WY0.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Contents of I0
0
1
2
:
Destination data register
DT0
DT1
DT2
:

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents