<Toc> <Ind>
<4. Module Access >
4-3
IM 34M6H54-01E
Example: Reading counter value
•
Specify the data position number of the input data in the first data position number for
read data (n1).
•
The data position number of the input data corresponds to the channel number.
Program example for reading counter value
When X00501 is on, it reads four data channels from channel 1 to 4 of the pulse input
module installed in slot number 106 into the data registers (D0001 to D0004).
4
106
1
D0001
X00501
READ
1
2
3
4
F3XS04-
u
N
1
2
3
4
Data Register
D0001
D0002
D0003
D0004
5
6
7
8
9
10
11
F0401.EPS
Read
16 bits
Figure 4.1 Reading Counter Value
1st Edition : Feb.01,1999-00
Содержание F3XS04-3N
Страница 2: ...Blank Page ...
Страница 8: ...Blank Page ...
Страница 10: ...Blank Page ...
Страница 56: ...Blank Page ...
Страница 66: ...Blank Page ...